Bug 113468 - Update issue and %post install
Update issue and %post install
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-01-14 05:20 EST by Petr Krištof
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-14 07:15:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Krištof 2004-01-14 05:20:34 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):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Miloslav Trmac 2004-01-14 05:28:09 EST
Related to bug 86339.
Comment 2 Petr Krištof 2004-01-14 06:52:19 EST
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.
Comment 3 Jakub Jelinek 2004-01-14 07:15:08 EST
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
linked executable.
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.

Note You need to log in before you can comment on or make changes to this bug.