Comment 10 for bug 1787548

Revision history for this message
Joe Richey (joerichey) wrote :

So the attached patch set should solve the issue Tyler pointed out. It ended up not being an issue with the PAM return codes, but an issue with the privs themselves. The "System Error" comes the privs not being properly restored.

It was a little more involved to fix all of the privilege changing code, but now everything should be nice and reversible, no matter what the original privs.