[Spacewalk-list] 'rhncfg-client verify' traceback

Miroslav Suchy msuchy at redhat.com
Wed Nov 30 12:26:24 UTC 2011


This is really strange. On the very same machine in the same time I get:
 > /usr/share/rhn/config_client/rhncfgcli_verify.py(251)_process_file()
-> dst_selinux = lgetfilecon(dst)[1]
(Pdb) dst
'/etc/auto.misc'
(Pdb) lgetfilecon(dst)
*** OSError: [Errno 61] No data available
(Pdb) lgetfilecon("/etc/auto.misc")
*** OSError: [Errno 61] No data available
(Pdb) lgetfilecon
<built-in function lgetfilecon>
(Pdb) from selinux import lgetfilecon
(Pdb) lgetfilecon("/etc/auto.misc")
*** OSError: [Errno 61] No data available
(Pdb)

[root at vmware185 ~]# python -c 'from selinux import lgetfilecon; print 
lgetfilecon("/etc/auto.master")[1]'
system_u:object_r:etc_t:s0

Mirek




More information about the Spacewalk-list mailing list