Created attachment 372570 [details, diff] 0001-According-to-pam_env-manpage-it-should-be-last-on-th.patch the patch puts pam_env.so last on the stack, the ArchLinux commits message was: "The pam_env manpage says: Since setting of PAM environment variables can have side effects to other modules, this module should be the last one on the stack. Honor that by moving it to the end everywhere. This also makes pam_env much more useful, since you can use ${XDG_RUNTIME_DIR} in pam_env.conf." their pambase is based on our old version of pambase, but they have since done some improvements to it, and this puts it almost to the same line merges following commits: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pambase&id=03746a9aad67c62d396dd9528ef40d14de28c844 and a fix to it: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pambase&id=d8180a56e3e56221788bbfe778fa2c4d8811f553
I believe the fix for bug 485470 was incorrect and this was the correct fix, and after merging this, we should again move '-session optional pam_systemd.so' second-last line of system-login (before pam_env) And if you could possibly also comment on this change for pam_mail.so (adding quiet parameter): https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pambase&id=6bcaa2f5f6831ab91bc80f87f036886760e9c973 Discussion about it: https://bugs.archlinux.org/task/31999 That's it, if we could get all of this done, there is no reason why ArchLinux couldn't merge our latest pambase again Both get boths improvements, possibly
This is very experimental, so don't rush things and push anything into git yet, I'd like to test this for a while first too and get peoples comments here
Created attachment 372644 [details, diff] Improved patch, solves some bugs - Adds 'quiet' to pam_mail.so as per bug #473678 - Moves pam_systemd.so back to system-login from system-auth -> systemd-user pam file in sys-apps/systemd should be fixed 's/system-auth/system-login/ bug #485470) - Moves pam_env.so last in the stack like in pam_env.so manpage says as it can have unexpected results on other modules. Makes use of XDG_RUNTIME_DIR within pam_env.conf easier. - Puts our pambase in line with ArchLinux's, so they can again merge our latest pambase. Sharing this looks like a good idea. They are using our fourth latest copy currently (there are some packaging differences, but the base is same) Just saying, even if this wasn't true, all of the changes make sense imho
Any news here?
Comment on attachment 372644 [details, diff] Improved patch, solves some bugs please don't squash unrelated things into one big fat commit. each independent change should be an independent commit/patch.
i've moved the pam_mail.so/quiet topic back to bug 473678
*** Bug 592616 has been marked as a duplicate of this bug. ***
Should be fixed in the latest pambase release.