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
- I run some application, which loads my foo.rb file.
- I later update the package which removes bar.rb file.
- 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.