Re: Improving the offline updates user experience

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 15, 2014 at 10:57:13AM +0200, Vít Ondruch wrote:
> Every of the script is based on assumption that you already read some
> library/unit whatever. But that is not enough. I wonder how you want to
> detect that you need restart in case that I have something like this:
> 
> $ ls
> foo.rb
> bar.rb
> 
> $ cat foo.rb
> 
> def some_function
>   require 'bar'
> end
> 
> And now
> 
> 1) I run some application, which loads my foo.rb file.
> 2) I later update the package which removes bar.rb file.
> 3) And I call some_function which fails due to missing bar.rb

How is this not 'foo' simply being broken?  ie. Not expressing its
needs properly in its RPM dependencies?

It would still have been broken even with a reboot.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux