[Puppet Users] puppet client crash when logrotate start

walim
2010-01-18T18:55:29Z

Hi,
I installed puppet client (puppet-0.24.8-4.el5) on CentOS release 5.2
and i notice that puppet client stop working after start of logrotate.
So let''s produce the problem with executing the following command
# /etc/init.d/puppet status;/etc/init.d/puppet reload;/etc/init.d/
puppet reload;sleep 10;/etc/init.d/puppet status
puppetd (pid 29861) is running...
Restarting
puppet:
[  OK  ]
Restarting
puppet:
[  OK  ]
puppetd is stopped

here, I reload puppet client successively because in /etc/logrotate.d/
puppet file, the rotation files are /var/log/puppet/*log (what i
have: /var/log/puppet/http.log and /var/log/puppet/puppet.log) and for
each rotation, it reload puppet (in /etc/logrotate.d/puppet, [ -e /etc/
init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1
|| true)

so when logrotate finish with one log (it takes less that 2s), it
start with the other one (So two successive reload of puppet)

I make some research in the process of reloading puppet (killproc
$puppetd -HUP) and i notice that it try to determine the pid of /usr/
sbin/puppetd to send the HUP signal to that pid:
1- from the file /var/run/puppetd.pid and if it does not exist, it
goes to the next step
2- pidof -c -o xxxxx -o xxxxx -o %PPID -x /usr/sbin/puppetd

How can i solve the problem?

walim

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at