On Sun, 22 Aug 2010 15:40:37 -0430 "Patrick O'Callaghan"
<pocallaghan(a)gmail.com> wrote:
On Sun, 2010-08-22 at 10:17 -0700, Brian Mury wrote:
> If an update requires a service restart, it would be nice if
> package-kit
> would tell me that, instead of telling me a reboot is required. Even
> nicer would be if it would restart the service for me :-).
I don't use package-kit, but yum-utils contains a clever little Python
script called needs-restarting which you can run after updating:
"""Report a list of process ids of programs that started
running before they or some component they use were
updated."""
Very useful.
poc
How does one get this? yum install what?
It would be nice if we could have a yum option which says
skip-needs-reboot. Then we could only get updates that need reboot when
we wanted those while updating the others more regularly. Perhaps that
is what your python script does.
This would be very needed if Fedora went for a Rolling Release
version/option which I personally think is a good idea. Of course,
others may disagree which is why it could be an option.
Ranjan