Bug 518342
| Summary: | CRM #1900142 hald & dbus-daemon stopped in %post of RHEL5 installations | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Justin Sherrill <jsherril> | |
| Component: | Registration | Assignee: | Justin Sherrill <jsherril> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Steve Salevan <ssalevan> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 530 | CC: | atodorov, cperry, dgoodwin, dkovalsk, dmach, eric.eisenhart, jhutar, mmatsuya, pcfe, pkilambi, psklenar, ssalevan, tao, ubeck, whayutin | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | sat530 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 495680 | |||
| : | 527792 (view as bug list) | Environment: | ||
| Last Closed: | 2009-10-28 19:34:36 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: | ||||
| Bug Depends On: | 495680, 625765 | |||
| Bug Blocks: | 457075, 527792 | |||
|
Comment 1
Justin Sherrill
2009-08-19 23:21:13 UTC
[root@rlx-3-06 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.4 (Tikanga) [root@rlx-3-06 ~]# cat /etc/motd RHN Satellite kickstart on 2009-08-20 libxml2-python ################################################## cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory Stopping system message bus: [FAILED] Starting system message bus: [ OK ] Stopping HAL daemon: [FAILED] Starting HAL daemon: [ OK ] --2009-08-20 12:19:05-- http://dhcp77-153.rhndev.redhat.com/pub/RHN-ORG-TRUSTED-SSL-CERT Resolving dhcp77-153.rhndev.redhat.com... 10.10.77.153 Connecting to dhcp77-153.rhndev.redhat.com|10.10.77.153|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5093 (5.0K) [text/plain] same results on rlx-3-18.. so far so good.. checking older distributions now VERIFIED on latest QA build. Making this bug public. Summary: When performing a RHEL 5.4 Kickstart installation and within the post script section you perform a rhnreg_ks registration of the system a 5.3 Satellite, the registration will fail. The failure is due to two daemons not running within the kickstart environment that we use to query SMBIOS information to determine if KVM host/guest. NOTES: This bug will also likely effect registrations during kickstart to the RHN Hosted (rhn.redhat.com / xmlrpc.rhn.redhat.com) environment. Customers using Satellite 5.2 or earlier will not hit this bug, since they are not KVM aware Satellites for entitlement consumption. Solution: Within the kickstart post script (%post) before you run the registration command (rhnreg_ks) add these two lines to restart daemons needed to query for SMBIOS hardware information: /etc/init.d/messagebus restart /etc/init.d/haldaemon restart Cliff verified again kickstart contains in %post section: /etc/init.d/messagebus restart /etc/init.d/haldaemon restart services are restarted in post on all arch except of ia64 : [Bug 523741] hald stop in %post, system is not registered to satellite after successful ks moving to release pending Closing bug. 530 is GA and we somehow missed this one to close. |