Bug 518342 - CRM #1900142 hald & dbus-daemon stopped in %post of RHEL5 installations
Summary: CRM #1900142 hald & dbus-daemon stopped in %post of RHEL5 installations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Steve Salevan
URL:
Whiteboard:
Depends On: 495680 625765
Blocks: 457075 527792
TreeView+ depends on / blocked
 
Reported: 2009-08-19 23:19 UTC by Justin Sherrill
Modified: 2010-08-20 11:57 UTC (History)
15 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of: 495680
: 527792 (view as bug list)
Environment:
Last Closed: 2009-10-28 19:34:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Justin Sherrill 2009-08-19 23:21:13 UTC
Cloning this for possible inclusion in VADER.

Committed to master in commit: e879a81

Waiting for commitment before cherrypicking to VADER branch.

Comment 8 wes hayutin 2009-08-20 16:35:04 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

Comment 9 Steve Salevan 2009-08-21 18:26:07 UTC
VERIFIED on latest QA build.

Comment 10 Clifford Perry 2009-08-24 14:05:22 UTC
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

Comment 11 Petr Sklenar 2009-09-17 13:43:30 UTC
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

Comment 12 Clifford Perry 2009-10-28 19:34:36 UTC
Closing bug. 530 is GA and we somehow missed this one to close.


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