[chef] chef-client first-run restorecon error


Chronological Thread 
  • From: "Rechler, Mark" < >
  • To: " " < >
  • Subject: [chef] chef-client first-run restorecon error
  • Date: Wed, 6 Nov 2013 15:21:04 +0000
  • Accept-language: en-US

Hi All,

With the newer version of Chef, we're experiencing an odd error where the 
first run of chef-client (which is done during kickstart) dies when trying to 
render out the resolv.conf template:
 
Error executing action `create` on resource 'template[/etc/resolv.conf]
Mixlib::ShellOut::ShellCommandFailed^[[0m
------------------------------------^[[0m
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/restorecon -R /etc/resolv.conf ----
STDOUT:
STDERR: No such file or directory
---- End output of /sbin/restorecon -R /etc/resolv.conf ----
Ran /sbin/restorecon -R /etc/resolv.conf returned 1^[[0m

The odd thing is selinux is disabled so it should not even be attempting a 
restorecon. The escape characters are somewhat concerning too.

Thanks in advance!
Mark


Archive powered by MHonArc 2.6.16.

§