This might not be useful enough to implement. I was working around Ubuntu's "/var/run" problem, and tried to use /var/lib/munge as a socket dir. Obviously if -S is used to start the daemon, it must also be used by the clients / utilities. This broke slurm-llnl, since it had no way of knowing a non-standard socket was used.
It would be nice if munge, unmunge, and remunge could get the socket info automatically. Two possibilities: 1) They could read /etc/default/munge, and use "CLIENT_OPTIONS". e.g, CLIENT_OPTIONS="-S /var/lib/munge/socket.munge --force " 2) They could look for an environment variable, for example, "MUNGE_OPTS". MUNGE_OPTS="-S /var/lib/munge/socket.munge "; export MUNGE_OPTS FWIW, the /var/run problem is claimed to be fixed in the next Ubuntu release, so this workaround would not be needed. Regards -
_______________________________________________ munge-users mailing list [email protected] https://mail.gna.org/listinfo/munge-users
