Red Hat Bugzilla – Bug 717654
subscription-manager does not have it's own policy
Last modified: 2013-01-10 05:53:40 EST
I created a new policy but we need to patch init script file.
[ $RETVAL -eq 0 ] && touch $LOCK
+[ -x /sbin/restorecon ] && /sbin/restorecon $LOCK
with this patch the lock file will be created with the right label.
Well not sure why this fix is not going to RHEL6.2. This relates with policy changes.
running rhel6.2 snapshot 3, which uses rhsm versions:
rhsmcertd appears to be confined at startup:
ps auxfwwwZ | grep /usr/bin/rhsmcertd | grep -v grep
system_u:system_r:rhsmcertd_t:s0 root 1989 0.0 0.0 4112 404 ? Ss Oct24 0:00 /usr/bin/rhsmcertd 240 1440
system_u:system_r:rhsmcertd_t:s0 root 1991 0.0 0.0 4112 404 ? S Oct24 0:00 \_ /usr/bin/rhsmcertd 240 1440
rhsmcertd has its own binary context:
[root@jmolet-rhel62s3 ~]# ls -laZ /usr/bin/rhsmcertd
-rwxr-xr-x. root root system_u:object_r:rhsmcertd_exec_t:s0 /usr/bin/rhsmcertd
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.