Menu

#14 wrong return value when no volume to mount

pam_mount
closed-fixed
pam_mount (94)
5
2007-12-01
2007-11-30
No

I'm using pam_mount 0.29 here on Gentoo to mount my encrypted home-directory. I only have one volume-entry in my pam_mount.conf.xml for all users, so if I log in as root, pam_mount correctly reports "no volumes to mount" in debug-mode. But after this I always get "Permission denied". Some investigations sowed, that pam_mount seems to return a wrong value (-9). Attached you find a patch, that sets the return-value correctly, I hope.

Kind regards

mize

Discussion

  • Michael Zenke

    Michael Zenke - 2007-11-30

    Fix wrong return-value when no volume to mount

     
  • Jan Engelhardt

    Jan Engelhardt - 2007-12-01

    Logged In: YES
    user_id=1287009
    Originator: NO

    Fixed in r390 / for next tarball.

     
  • Jan Engelhardt

    Jan Engelhardt - 2007-12-01
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB