Script for detecting services that need to be restarted after upgrade

Mike Burger mburger at bubbanfriends.org
Mon Oct 19 14:04:57 UTC 2009


> Thanks for your reply.
>
> I'm not sure if a complete restart of the system is necessary. If one for
> example upgrade a library package used by a particular service, it should,
> to my best knowledge, be sufficient to simply restart that service.
>
> My colleague found a script that may help in determining which services
> need
> to be restarted after a upgrade.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=247251

In that case, you're not talking upgrade...you're talking patch/update. 
It is important to make the distinction, because based on your use of the
word "upgrade", Anton's response was correct.

To that end...it is extremely important to watch, in the first, place,
just what is being updated when you perform an update (which is what
you're looking to do). Most of the time, you can determine which services
might need a restart based on what you see in the list of packages to be
updated.

It's not, generally, a good idea to simply apply a ton of patches/fixes
without, at the very least, knowing just what patches/fixes you're
applying...just in case you need to roll back.

>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> A complete restart of the system is necessary in order to complete the
>> upgrade correctly, so you can
>> forget those scripts.
>>
>>
>> T-One
>>
>> Kenneth Holter schrieb:
>>  > Hi.
>> >
>> >
>> > When upgrading our RHEL 4 and 5 servers, it would be nice to have some
>> way
>> > of determining which services need to be restarted (or maybe if the
>> server
>> > itself must be rebooted) in order for processes to start using the the
>> > upgraded libraries and such instead of the old ones. I've heard that
>> these
>> > exists scripts that can be run to determine this sort of thing. Does
>> anyone
>> > know if such scripts are available for RHEL, either via the official
>> > repository, or via EPEL?
>> >
>> >
>> > Regards,
>> > Kenneth Holter
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.7 (MingW32)
>>
>> iD8DBQFK1XD1XMoRx2jlGfkRAi5rAJ9LnOhr7hNQDqd8W1sn6+HRx0XRXgCfVOXu
>> AZaSLqTWtEFNnBwk8DrTw/Q=
>> =313+
>> -----END PGP SIGNATURE-----
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe at bubbanfriends.org




More information about the redhat-list mailing list