On Sat, Oct 20, 2007 at 11:06:07AM +1000, Matthew Palmer wrote: > 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.
Didn't think of that, good thinking. > Gah, I despise PID files. And programs that assume things about their > placement and permissions. Well, pidfiles do have a function, how else do you deal with process managemnet? > > 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. patch the source? you just need to patch puppet.conf, no? > 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. Eh.. I'm probably the only person that got through the trouble of filing the bug... Thanks! -- Le monochrome, c'est pour ceux qui s'intéressent (encore) au contenu. Usenet dans ces conditions, c'est comme le web avec lynx, on prend trop conscience du vide, c'est déprimant. - JLC dans le Guide du linuxien pervers: "Coup de cafard..."
signature.asc
Description: Digital signature