[Bug 787670] Re: mkmountpoint fails with long path names.
** Changed in: libpam-mount (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/787670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
Hi dev-zero, Thank you for your precious help. Frédéric. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/787670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
Upstream recently accepted my patch and fixed it in Git HEAD. pam_mount-2.14 will most likely contain the fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/787670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
I can confirm this on oneiric. The problem is that the recursive mountpoint creation is broken in the case where pam_mount can't successfully seteuid/setgeuid. This bug is most probably still present in the current pam-mount-2.13 as well. I've added an untested patch in the upstream bug report: https://sourceforge.net/tracker/?func=detailaid=3531369group_id=41452atid=430593 ** Bug watch added: SourceForge.net Tracker #3531369 http://sourceforge.net/support/tracker.php?aid=3531369 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/787670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libpam-mount (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/787670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
Hi, I made a test with a local account, mounting it's home directory over cifs when logging in (just to make sure neither the ldap indexing or nslcd cache was in cause) and same things happens : May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:253): mkmountpoint: checking /home May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:253): mkmountpoint: checking /home/department May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:293): mkdir[0] /home/department May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:300): chown /home/department - 3654:206158431264 May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:253): mkmountpoint: checking /home/department May 25 09:07:17 db-computer sshd[26015]: pam_mount(mount.c:253): mkmountpoint: checking /home/department Tell me if you need any other useful information. Frédéric. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
** Summary changed: - mkmountpoint fails with long path... + mkmountpoint fails with long path names. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
On the first try (when it fails) /home directory contains : root@db-computer:/home# tree -p -d /home /home └── [drwx--x--x] department Then on the second try (when it succeeds) /home directory contains : root@db-computer:/home# tree -p -d /home /home └── [drwx--x--x] department └── [drwx--x--x] group └── [drwx-x] testlogin Frédéric. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787670] Re: mkmountpoint fails with long path names.
Showing ownership will be more useful... first try (when it fails) : root@db-computer:~# tree -pdug /home/ /home/ └── [drwx--x--x testlogin group] department second try (when it succeeds) : root@db-info-2012:~# tree -pdug /home/ /home/ └── [drwx--x--x testlogin group] department └── [drwx--x--x testlogin group] group └── [drwx-x testlogin group] testlogin Frédéric. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787670 Title: mkmountpoint fails with long path names. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs