On Fri, Oct 19, 2007 at 08:19:31PM -0400, The Anarcat wrote:
> The fix is simple, and should be part of the postinst (or simply in
> debian/rules):
> 
> mkdir /var/run/puppet
> chown puppet:puppet !$

This fix won't work, because /var/run is often a tmpfs, so /var/run/puppet
will get lunched on reboot.  The fix will actually have to be in the
initscripts.

Gah, I despise PID files.  And programs that assume things about their
placement and permissions.

> puppet.conf should also point to /var/run/puppet instead of /var/run as
> a rundir.

I think I'll just go the whole hog and patch the source for that,
considering that the rundir will be hardcoded in the init script anyway.

It's strange that I made the original rundir permissions change several
weeks ago and you're the first person to hit it.  Oh well.  I'll whip up a
fix and get it out shortly.

- Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to