Bug 786934 - /usr/sbin/glibc_post_upgrade: While trying to execute /sbin/service child exited
Summary: /usr/sbin/glibc_post_upgrade: While trying to execute /sbin/service child exited
Keywords:
Status: CLOSED DUPLICATE of bug 698198
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 17:19 UTC by joshua
Modified: 2016-11-24 15:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 21:09:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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