<p>Cool, thanks.  Will this be in v1.6?  Any ideas when 1.6 will be released?</p>
<p>Thanks</p>
<p>CC</p>
<div class="gmail_quote">On Nov 30, 2011 8:54 PM, "Miroslav Suchy" <<a href="mailto:msuchy@redhat.com">msuchy@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dne 30.11.2011 13:18, Miroslav Suchy napsal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dne 29.11.2011 03:32, Colin Coe napsal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rhncfg-client verify<br>
Using server name 172.22.106.16<br>
/etc/auto.home<br>
/etc/auto.hp<br>
/etc/auto.master<br>
Traceback (most recent call last):<br>
File "/usr/bin/rhncfg-client", line 34, in<module><br>
sys.exit(Main().main() or 0)<br>
File "/usr/share/rhn/config_common/<u></u>rhn_main.py", line 184, in main<br>
handler.run()<br>
File "/usr/share/rhn/config_client/<u></u>rhncfgcli_verify.py", line 83, in run<br>
ret_dict = self._process_file(src, dst, file, ftype, file_info)<br>
File "/usr/share/rhn/config_client/<u></u>rhncfgcli_verify.py", line 259,<br>
in _process_file<br>
dst_selinux = lgetfilecon(dst)[1]<br>
OSError: [Errno 2] No such file or directory<br>
<br>
ls -lZ /etc/auto.master<br>
-rw-r--r--. root root system_u:object_r:etc_t:s0 /etc/auto.master<br>
<br>
Anyway, this small patch silences the error. Not sure if this is the<br>
right way to handle it though.<br>
</blockquote>
<br>
Ok. I got the reproducer:<br>
<br>
1. yum install autofs<br>
2. make sure selinux is enabled or permissive<br>
3. rhncfg-manager add -c foobar /etc/auto.master<br>
4. disable selinux and reboot<br>
5. mv /etc/auto.master /etc/auto.master.bak<br>
6. ls -lZ /etc/auto.misc<br>
-rw-r--r-- root root ? /etc/auto.misc<br>
7. rhncfg-client verify<br>
Using server name <a href="http://xn--ufuk-xpa16d5h.lab.eng.brq.redhat.com" target="_blank">xn--ufuk-xpa16d5h.lab.eng.brq.<u></u>redhat.com</a><br>
Traceback (most recent call last):<br>
File "/usr/bin/rhncfg-client", line 34, in <module><br>
sys.exit(Main().main() or 0)<br>
File "/usr/share/rhn/config_common/<u></u>rhn_main.py", line 187, in main<br>
handler.run()<br>
File "/usr/share/rhn/config_client/<u></u>rhncfgcli_verify.py", line 83, in run<br>
ret_dict = self._process_file(src, dst, file, ftype, file_info)<br>
File "/usr/share/rhn/config_client/<u></u>rhncfgcli_verify.py", line 250, in<br>
_process_file<br>
dst_selinux = lgetfilecon(dst)[1]<br>
OSError: [Errno 61] No data available<br>
<br>
Hmm although now I see that you get Errno 2, while I'm getting Errno 61.<br>
</blockquote>
<br>
Although I do not really understand what is going here. I commited the fix as 30bbbe8a30fe088c42f4d515ad3aad<u></u>85ba9773a0.<br>
We already done that in same way in BZ 676317 in past.<br>
<br>
Mirek<br>
<br>
______________________________<u></u>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/spacewalk-<u></u>list</a><br>
</blockquote></div>