[Touch-packages] [Bug 1953201] Re: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression)

2021-12-07 Thread Launchpad Bug Tracker
This bug was fixed in the package pam - 1.4.0-10ubuntu2 --- pam (1.4.0-10ubuntu2) jammy; urgency=medium [ Sergio Durigan Junior ] * d/p/pam_env-allow-environment-files-without-EOL-at-EOF.patch: Allow /etc/environment files without EOL at EOF. In other words, allow files w

[Touch-packages] [Bug 1953201] Re: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression)

2021-12-04 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/pam/+git/pam/+merge/412783 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pam in Ubuntu. https://bugs.launchpad.net/bugs/1953201 Title: pam_

[Touch-packages] [Bug 1953201] Re: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression)

2021-12-03 Thread Bug Watch Updater
** Changed in: pam Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pam in Ubuntu. https://bugs.launchpad.net/bugs/1953201 Title: pam_env doesn't accept /etc/environment files that don'

[Touch-packages] [Bug 1953201] Re: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression)

2021-12-03 Thread Sergio Durigan Junior
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;

[Touch-packages] [Bug 1953201] Re: pam_env doesn't accept /etc/environment files that don't end with newline anymore (PAM 1.4.x behaviour change/regression)

2021-12-03 Thread Steve Langasek
FWIW I'm going to mark this bug 'low' instead of high, on the basis that Debian has shipped pam 1.4.0 in a stable release and there hasn't even been a single bug report about this issue, it was only caught because of a bug in the Ubuntu autopkgtest-cloud implementation that was writing entries to /