Results 1 to 3 of 3

Thread: Sudo segfaults on clean install of 11.2

  1. #1
    Join Date
    Feb 2009
    Location
    Ripon, UK
    Posts
    17

    Exclamation Sudo segfaults on clean install of 11.2

    I've searched for this and it seems as though I'm the only one having problems : bizarre!
    I did a net-install upgrade of a clean install of 11.2RC2 and found that sudo prompted me for a password (for a PAM module) and then segfaulted. I assumed this was something to to with the upgrade and so did a clean install of 11.2, 64bit from the DVD and the same thing happens. RC2 was fine and all the desktop privilage escalation works without problem. Sudo even segfaults when I run it as root.
    No idea how to start debugging this problem, but I can always go back to using su -l for now.
    Thanks for any pointers,
    Charles.

  2. #2
    Join Date
    Feb 2009
    Location
    Ripon, UK
    Posts
    17

    Default Re: Sudo segfaults on clean install of 11.2

    The password prompt is for pam_mount, which correctly prompts if the incorrect pw is given but segfaults on the right one.
    sudo with no arguments behaves as expected.

  3. #3
    Join Date
    Feb 2009
    Location
    Ripon, UK
    Posts
    17

    Thumbs up Re: Sudo segfaults on clean install of 11.2 (fixed)

    I have found this is a known bug with sudo using pam_mount
    The solution is to comment out this line in /etc/pam.d/sudo
    Code:
    session  optional	pam_mount.so
    This still prompts for the pam_mount password, rather than the root password which is potentially confusing, so I would also comment out
    Code:
    auth     optional	pam_mount.so
    for good measure.
    Last edited by cmcevoy; 24-Nov-2009 at 04:29. Reason: Append (fixed) to title

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •