Thanks for your prompt response, Chris.

now I have to patch all of our nodes...

off topic question:
Does anyone know of a utility that I can use to patch our pool of
nodes.  I don't really feel like logging into all the nodes
individually and applying a patch.  I see a lot of open source
utilities out there for monitoring infrastructure, but I'm not sure if
any of them allow you to basically execute the same commands on say 20
nodes at the same time.  Any suggestions would be appreciated.

Cheers,
Whit


On Fri, Dec 26, 2008 at 4:20 PM, Chris Dunlap <[email protected]> wrote:
> 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

Reply via email to