FWIW, the problem happens because of this new check on modules/pam_env/pam_env.c:
https://github.com/linux-pam/linux- pam/blob/master/modules/pam_env/pam_env.c#L317-L320 if (p[strlen(p)-1] != '\n' && !feof(f)) { D(("_assemble_line: line too long")); return -1; } This has been fixed upstream by: https://github.com/linux-pam/linux- pam/commit/12824dd648b0668968231044ed805d1f3b212d7e ** Bug watch added: github.com/linux-pam/linux-pam/issues #263 https://github.com/linux-pam/linux-pam/issues/263 ** Also affects: pam via https://github.com/linux-pam/linux-pam/issues/263 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1953201 Title: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression) To manage notifications about this bug go to: https://bugs.launchpad.net/pam/+bug/1953201/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
