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

Colin Coe colin.coe at gmail.com
Tue Nov 29 22:48:46 UTC 2011


On Tue, Nov 29, 2011 at 4:08 PM, Michael Mraka <michael.mraka at redhat.com> wrote:
> Colin Coe wrote:
> ...
> % rhncfg-client verify
> % Using server name 172.22.106.16
> % /etc/auto.home
> % /etc/auto.hp
> % /etc/auto.master
> % Traceback (most recent call last):
> %   File "/usr/bin/rhncfg-client", line 34, in <module>
> %     sys.exit(Main().main() or 0)
> %   File "/usr/share/rhn/config_common/rhn_main.py", line 184, in main
> %     handler.run()
> %   File "/usr/share/rhn/config_client/rhncfgcli_verify.py", line 83, in run
> %     ret_dict = self._process_file(src, dst, file, ftype, file_info)
> %   File "/usr/share/rhn/config_client/rhncfgcli_verify.py", line 259,
> % in _process_file
> %     dst_selinux = lgetfilecon(dst)[1]
> % OSError: [Errno 2] No such file or directory
> %
> % ls -lZ /etc/auto.master
> % -rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/auto.master
>
> Hi Colin,
>
> so you blame selinux... are there any AVCs in /var/log/audit/audit.log?
> :)
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

Hi Michael

No, I'm not blaming SELinux.  The traceback happened to be in code
supporting SELinux.  All of these systems have SELinux in permissive
mode (a current requirement of running LikeWise Enterprise).

Nothing related in the audit.log

Thanks

CC

-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list