| Summary: | /usr/sbin/glibc_post_upgrade failure | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | H.J. Lu <hongjiu.lu> |
| Component: | glibc | Assignee: | Andreas Schwab <schwab> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | fweimer, jakub, 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: | 2011-05-30 07:16:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 698198 *** |
On Linux/x86-64, I got [root@gnu-9 hjl]# /usr/sbin/glibc_post_upgrade.x86_64 /usr/sbin/glibc_post_upgrade: While trying to execute /sbin/service child exited with exit code 1 [root@gnu-9 hjl]# with glibc-2.13.90-14. The problem is if (check_elf ("/proc/1/exe")) verbose_exec (116, "/sbin/telinit", "/sbin/telinit", "u"); /* Check if we can safely condrestart sshd. */ if (access ("/sbin/service", X_OK) == 0 && access ("/usr/sbin/sshd", X_OK) == 0 && access ("/etc/rc.d/init.d/sshd", X_OK) == 0 && access ("/bin/bash", X_OK) == 0) { if (check_elf ("/usr/sbin/sshd")) verbose_exec (-121, "/sbin/service", "/sbin/service", "sshd", "condrestart"); } in glibc_post_upgrade.c. It can be reproduced with: [root@gnu-snb-1 hjl]# /sbin/telinit u; /sbin/service sshd condrestart Restarting sshd (via systemctl): Failed to get D-Bus connection: Connection terminated during authentication. [FAILED] Add a sleep works: [root@gnu-snb-1 hjl]# /sbin/telinit u; sleep 1; /sbin/service sshd condrestart Restarting sshd (via systemctl): [ OK ] [root@gnu-snb-1 hjl]#