Bug 786934

Summary: /usr/sbin/glibc_post_upgrade: While trying to execute /sbin/service child exited
Product: [Fedora] Fedora Reporter: joshua
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: fweimer, jakub, law, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 21:09:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description joshua 2012-02-02 17:19:48 UTC
Description of problem:

# yum update -y g\*

blah ...
blah ...
Updating   : glibc-2.14.1-5.x86_64                                       1/10 
Non-fatal POSTIN scriptlet failure in rpm package glibc-2.14.1-5.x86_64
/usr/sbin/glibc_post_upgrade: While trying to execute /sbin/service child exited with exit code 1
warning: %post(glibc-2.14.1-5.x86_64) scriptlet failed, exit status 1
  Updating   : glibc-common-2.14.1-5.x86_64                                2/10 
  Updating   : glibc-headers-2.14.1-5.x86_64                               3/10 
  Updating   : glibc-devel-2.14.1-5.x86_64                                 4/10 
  Updating   : gtk2-2.24.7-3.fc15.x86_64                                   5/10 
  Cleanup    : glibc-devel-2.14-5.x86_64                                   6/10 
  Cleanup    : glibc-headers-2.14-5.x86_64                                 7/10 
  Cleanup    : gtk2-2.24.4-2.fc15.x86_64                                   8/10 
  Cleanup    : glibc-2.14-5.x86_64                                         9/10 
  Cleanup    : glibc-common-2.14-5.x86_64                                 10/10 


Version-Release number of selected component (if applicable):

F16 x86_64, updating to glibc-2.14.1-5.x86_64

Comment 1 joshua 2012-02-02 17:22:26 UTC
Sorry, this is Fedora 15, not 16

Comment 2 Jeff Law 2012-02-07 17:46:33 UTC
Near the end of the glibc upgrade process it will attempt to restart the sshd service.  glibc checks for the existence of various files related to the sshd service, and if they're all found, it restarts the service.

What is the output from running the following as root:

/sbin/service sshd condrestart

Comment 3 joshua 2012-02-07 20:04:38 UTC
# Doesn't look good:

# tail -f /var/log/messages &
[1] 26132

# /sbin/service sshd condrestart
Restarting sshd (via systemctl):  Feb  7 15:02:51 mb04-001 systemd[1]: sshd.service: main process exited, code=exited, status=255
Feb  7 15:02:51 xyz01-001 systemd[1]: Unit sshd.service entered failed state.
                                                           [  OK  ]

Comment 4 Jeff Law 2012-02-07 21:09:22 UTC
What version of systemd are you running?

rpm -q systemd

Older than systemd-26-10.fc15?

*** This bug has been marked as a duplicate of bug 698198 ***