On Tue, Aug 31, 2010 at 20:17, Patrick O'Callaghan
<pocallaghan(a)gmail.com> wrote:
On Tue, 2010-08-31 at 19:17 -0300, Andre Costa wrote:
> Isn't there any more clever way of determining if a reboot is really
> necessary? Or maybe at least the message should be less "demanding", I
> don't know... it really seems unneeded.
needs-restarting ("yum install yum-utils" if you don't have it). This
will catch everything except the kernel, but that one is obvious.
That's nice, I didn't know needs-restarting, it will definitely be
useful (it is installed). Thks =)
Still, my point is: this kind of check should be handled automatically
by the upgrade process, and the user should only be asked to reboot if
there's *really* need to do so. Eg. right now, after those two
upgrades I mentioned, that read "reboot me!" icon is sitting on my
notification panel, but if I run 'needs-restarting' this is what I
get:
3478 :
/usr/libexec/clock-applet--oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory--oaf-ior-fd=42
3484 : /usr/sbin/restorecond-u
3501 : pidgin
Aside from restorecond, it's obvious I don't need to restart because
clock-applet and pidgin were upgraded... :-/ (and even restorecond
might not require a reboot).
Andre