On Tue, 2010-08-31 at 21:43 -0300, Andre Costa wrote:
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
Andre, I think needs-restarting means those applications need to be
restarted, not you need to restart the whole system to update those
applications.
As well as 'reboot me' should means exactly that: reboot that particular
application.
I never ever saw a linux system which has to be rebooted in order to
update pidgin.
--
Calin
Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857
=================================================
"Every morning, I get up and look through the 'Forbes' list of the
richest people in America. If I'm not there, I go to work" -- Robert
Orben