Issue #1445 has been updated by jamtur01. Category set to Red Hat Status changed from Unreviewed to Duplicate Target version set to 0.24.5
Duplicate of #1426 - which is obviously not fixed. ---------------------------------------- Bug #1445: redhat service type continually tries to restart running services when hasstatus => true http://reductivelabs.com/redmine/issues/show/1445 Author: machpo Status: Duplicate Priority: Normal Assigned to: Category: Red Hat Target version: 0.24.5 Keywords: redhat service hasstatus Complexity: Unknown Patch: None Affected version: 0.24.4 This is 0.24.5rc3 running on centos 5.2 Best explained by a quick debug session: # cat test1.pp service { crond: ensure => running } # ps auxwww | grep [c]rond root 7379 0.0 0.0 74776 1208 ? Ss 21:54 0:00 crond # puppet --debug test1.pp debug: file /sbin/rc-update does not exist debug: file /usr/sbin/svcadm does not exist debug: file /usr/sbin/update-rc.d does not exist debug: Creating default schedules debug: Service[crond](provider=redhat): Executing 'ps -ef' debug: Service[crond](provider=redhat): PID is 7379 debug: Finishing transaction 23456258349920 with 0 changes # cat test2.pp service { crond: ensure => running, hasstatus => true } # puppet --debug test2.pp debug: file /sbin/rc-update does not exist debug: file /usr/sbin/svcadm does not exist debug: file /usr/sbin/update-rc.d does not exist debug: Creating default schedules debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/service crond status' debug: //Service[crond]: Changing ensure debug: //Service[crond]: 1 change(s) debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/service crond start' err: //Service[crond]/ensure: change from crond (pid 7379) is running... to running failed: Execution of '/sbin/service crond start' returned 1: Starting crond: cannot start crond: crond is already running.[FAILED] debug: Finishing transaction 23456258337620 with 1 changes ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
