Issue #16784 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Joshua Hoblitt
Hi Joshua, thanks for the report -- Is this because the chkconfig is outside the chroot in kickstart, or something else? What would you recommend puppet do to detect and work around the situation? ---------------------------------------- Bug #16784: service resources will never converge under the RHEL6.x kickstart enviroment https://projects.puppetlabs.com/issues/16784#change-72748 Author: Joshua Hoblitt Status: Needs More Information Priority: Normal Assignee: Joshua Hoblitt Category: Target version: Affected Puppet version: 3.0.0 Keywords: rhel kickstart Branch: Puppet will never fully converge for the service type when run from the kickstart environment. The fundamental problem is that the "runlevel" is unknown and this breaks the behaviour of `chkconfig`. This makes the configuration state for a service undiscoverable and puppet will endlessly try to enable it. This issue is somewhat related to #2712 but is much more narrow. It's really a problem with the kickstart environment but I suspect it's been like this for a very long time and is unlikely to change. Eg. /Stage[main]/Ntp::Service/Service[ntpd]/enable: enable changed 'false' to 'true' This example is from ssh'ing into the kickstart env which is why it doesn't say [anaconda root... the results are the same from the real console. [root@pollux1 ~]# runlevel unknown [root@pollux1 ~]# /sbin/runlevel unknown [root@pollux1 ~]# chkconfig --list | grep ntp ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@pollux1 ~]# chkconfig ntp [root@pollux1 ~]# echo $? 1 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
