On 2013-02-02 09:24, Steve Langasek wrote:
> Yes, setresuid() does make a difference over NFS, but it's the wrong
> interface.  You should be using setfsuid(), *not* setresuid().

Sorry, but that distinction is above my head. You may want to fight with
pitti about it (he suggested setresuid() when sponsoring the
accountsservice code). ;-)

> If pam_env is already calling setfsuid() (which makes sense, as this is
> mature and well-exercised code, including on NFS),

That's what I found from reading the code, at least (when I was about to
write a patch...). But I may have missed something.

> Someone who can reproduce this will need to trace the issue to see
> what's happening.

Right.

** Changed in: pam (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1083605

Title:
  env not changed in acc. with ~/.pam_environment if /home is on nfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1083605/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to