Univention Bugzilla – Bug 36746
PAM patches not applied?
Last modified: 2014-11-26 07:08:34 CET
# zhead /usr/share/doc/libpam0g/changelog.Debian.gz pam (1.1.3-7.1.44.201409251724) ucs4-0-0-0; urgency=low * UCS auto build. The following patches have been applied to the original source package 00_add_support_for_quotes_in_limits_conf 01_eval_home 04_bug29393-PWD_ABSURD_PWD_LENGTH But I'm still getting: # zless /var/log/auth.log Nov 17 12:50:22 h70 sshd[8711]: pam_env(sshd:session): Unable to open env file: $HOME/.univention-environment: No such file or directory Nov 17 12:51:02 h70 login[7262]: pam_access(login:account): unrecognized option [maxent=0x400001] # ls -1 /root/.univention-environment /home/*/.univention-environment /home/Administrator/.univention-environment /home/mhahn/.univention-environment /home/phahn/.univention-environment /root/.univention-environment
Patches are applied to wrong debian/patches* directory: # grep -i quilt debian/rules export QUILT_PATCH_DIR = debian/patches-applied dh $@ --with quilt $ lsdiff -p0 * 00_add_support_for_quotes_in_limits_conf.patch:pam-1.1.3/debian/patches/series 00_add_support_for_quotes_in_limits_conf.patch:pam-1.1.3/debian/patches/univention-00_add_support_for_quotes_in_limits_conf.patch 01_eval_home.patch:pam-1.1.3/debian/patches/series 01_eval_home.patch:pam-1.1.3/debian/patches/univention-01_eval_home.patch 04_bug29393-PWD_ABSURD_PWD_LENGTH.patch:pam-1.1.3/debian/patches/series 04_bug29393-PWD_ABSURD_PWD_LENGTH.patch:pam-1.1.3/debian/patches/univention-04_bug29393-PWD_ABSURD_PWD_LENGTH.patch
r14052 | Bug #36746: PAM # b40 pam ... > The following patches will be applied: > 00_add_support_for_quotes_in_limits_conf.patch > 01_eval_home.patch > 04_bug29393-PWD_ABSURD_PWD_LENGTH.patch ... dh_quilt_patch ... > Applying patch univention-00_add_support_for_quotes_in_limits_conf.patch > patching file modules/pam_limits/pam_limits.c > Hunk #1 succeeded at 795 (offset 228 lines). > > Applying patch univention-01_eval_home.patch > patching file modules/pam_env/pam_env.c > > Applying patch univention-04_bug29393-PWD_ABSURD_PWD_LENGTH.patch > patching file libpam/pam_modutil_getgrnam.c > patching file modules/pam_access/pam_access.8.xml > patching file modules/pam_access/pam_access.c > > Now at patch univention-04_bug29393-PWD_ABSURD_PWD_LENGTH.patch > debian/rules override_dh_auto_configure Package: pam Version: 1.1.3-7.1.45.201411171506 Branch: ucs_4.0-0 No Changelog required as this bug fixes Bug #36746.
OK, looks better. For example $HOME is now expanded: sshd[9922]: pam_env(sshd:session): Unable to open env file: /home/Administrator/.univention-environment: No such file or directory
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".