#99 Assertion `user != ((void *)0)' failed. with sudo

pam_mount
closed-invalid
pam_mount (94)
5
2011-12-15
2011-10-25
Anonymous
No

hi, i'm using pam_mount and sudo.
when sudo asks for pw, everything is fine, then sudo caches this pw for some minutes and doesn't ask for pw in this time. then i get this assertion failed. see here:
chriss@GentooHyperPower ~ $ sudo echo abc
Password:
abc
chriss@GentooHyperPower ~ $ sudo echo abc
abc
sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.
Abborted

you can see, that the assertion is after the command is executed and i didn't recognize any hazard yet, but it is annoying.

Discussion

  • Jan Engelhardt
    Jan Engelhardt
    2011-11-21

    Just from this message, I'd say that sudo is incorrectly calling PAM, but I would have to read sudo and PAM sources to be sure.

     
  • Jan Engelhardt
    Jan Engelhardt
    2011-11-21

    • assigned_to: nobody --> jengelh
    • labels: --> pam_mount
    • milestone: --> pam_mount
    • status: open --> open-accepted
     
  • Jan Engelhardt
    Jan Engelhardt
    2011-11-24

    • status: open-accepted --> pending-invalid
     
  • Jan Engelhardt
    Jan Engelhardt
    2011-12-15

    • status: pending-invalid --> closed-invalid