[rabbitmq-discuss] [Fwd: Bug#558462: rabbitmq-server logs in as rabbitmq and hangs on pam_mount password prompt]

David Wragg david.wragg at lshift.net
Sun Nov 29 09:58:07 GMT 2009


Hi John,

Thanks for forwarding this bug report.

John Leuner <jewel at subvert-the-dominant-paradigm.net> writes:
> [...]
> 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 likely fix on Florin's side would be to edit /etc/pam.d/su to
remove the pam_mount lines.

David

-- 
 [][][] David Wragg       | mail: david.wragg at lshift.net
   [][] Senior Developer  | tel: +44 (0)20 7729 7060
 []  [] LShift Ltd        | web: www.lshift.net




More information about the rabbitmq-discuss mailing list