On Wed, Dec 02, 2009 at 10:29:25AM +0000, David Wragg wrote: > > [...] > > zeus:~# cd /var/log/rabbitmq/ > > zeus:/var/log/rabbitmq# ls -la > > total 8 > > drwxr-xr-x 2 rabbitmq rabbitmq 42 2009-11-28 22:16 . > > drwxr-xr-x 15 root root 4096 2009-11-28 22:16 .. > > -rw-r--r-- 1 root root 31 2009-11-28 22:16 startup_err > > -rw-r--r-- 1 root root 0 2009-11-28 22:16 startup_log > > zeus:/var/log/rabbitmq# cat startup_err > > reenter password for pam_mount:zeus:/var/log/rabbitmq# > > > > The home directories on this box are mounted over CIFS, so I'm using > > pam-mount and the option is "required". > > > > Is there something that can be done so rabbitmq doesn't go through PAM > > and doesn't get hung up on trying to mount some remote filesystems? > > I don't think the rabbitmq packages are doing anything unusual, and I > wonder whether this affects any packages with init scripts that use > su, directly or indirectly, to start a daemon. So it might be a case > of "well don't do that". I find it strange that pam_mount doesn't > exclude system accounts (the rabbitmq user is created as a system > account). > > One possible fix might be to edit /etc/pam.d/su to remove the > pam_mount lines.
The customary setup is to add pam_mount to common-auth and
common-session, so it's hard to un-include them from su alone.
It's clear that rabbitmq is not at fault here, so you can close this
bug.
Thanks for the help,
florin
--
Bruce Schneier expects the Spanish Inquisition.
http://geekz.co.uk/schneierfacts/fact/163
pgphR3xRCv00C.pgp
Description: PGP signature

