Skip to contentSkip to conversation

genhomedircon bug

DISCUSSION Michael C Thompson 1 participant 1 message Nov 12, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

I found a bug in genhomedircon:

policycoreutils.x86_64 1.32-3

# genhomedircon
libsemanage.semanage_direct_connect: could not establish direct connection
libsemanage.assert_init: A direct or server connection is needed to use this function - please call the corresponding connect() method
libsemanage.enter_ro: could not enter read-only section
Traceback (most recent call last):
  File "/usr/sbin/genhomedircon", line 379, in ?
    selconf = selinuxConfig(directory, type, usepwd)
  File "/usr/sbin/genhomedircon", line 140, in __init__
    (status, self.ulist) = semanage_user_list(self.semanageHandle)
TypeError: unpack non-sequence
# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=staff_u:secadm_r:secadm_t:SystemLow-SystemHigh

Thanks,
Mike

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.