The /var/run/munge directory is created when MUNGE is installed. And I'm guessing Ubuntu clears the /var/run directory at boot. They have opened two bugs on this same issue:
https://bugs.launchpad.net/ubuntu/+source/munge/+bug/227331 https://bugs.launchpad.net/ubuntu/+source/munge/+bug/273765 (It would be helpful if distros would report these problems upstream!) The quick fix for now is to edit the /etc/init.d/munge script to create this directory when the service is started. Add something like this to the beginning of the service_start() function: PIDDIR=`dirname "$PIDFILE"` if [ ! -d "$PIDDIR" ]; then mkdir -m 755 -p "$PIDDIR" [ -n "$USER" ] && chown "$USER" "$PIDDIR" fi Otherwise, you'll have to edit the MUNGED_PIDFILE define in src/libcommon/munge_defs.h and recompile. Having the init script create this directory is a kludge, so I'll have munged create missing directories in a future release. -Chris On Fri, 2008-12-26 at 12:25pm EST, "Whit Armstrong" wrote: > > I'm having the problem that my /var/run/munge directory gets removed > after every reboot in Ubuntu 8.10. > > I was thinking of just using the /var/run directory instead of > /var/run/munge. Does anyone have any suggestions or advice on this > issue? > > Thanks, > Whit _______________________________________________ munge-users mailing list [email protected] https://mail.gna.org/listinfo/munge-users
