Red Hat Bugzilla – Bug 113468
Update issue and %post install
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
After automated update of glibc many system services stopped work.
All services what auths users as samba, openldap, dovecot, squid.
I must restarted they manually.
IMHO, package's '%post install' section should condrestart all these
services, not sshd only.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Related to bug 86339.
Why not use SysV possibilities?
for i in `ls -al /etc/rc.d/rc3.d/ | cut -c60- | cut -f1 -d' '` ; do \
service $i restart; done
Using $RUNLEVEL will be better, but I dont how to set it.
Please see the reasoning in bug #86339. Not all services need this,
you cannot telinit 1; telinit 3/5 because that could kill what a user
is doing in the mean time and furthermore glibc cannot depend on
the shell being present, so all of its %post has to be in a statically
sshd was chosen to allow admin to take care of the rest of things
or reboot after upgrade.
Services which wish to do something on glibc upgrade can use triggers.