Bug 36746 - PAM patches not applied?
PAM patches not applied?
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: PAM
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Philipp Hahn
Stefan Gohmann
: interim-4
Depends on: 33836
Blocks: 37016 36490
  Show dependency treegraph
 
Reported: 2014-11-17 13:06 CET by Philipp Hahn
Modified: 2014-11-26 07:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-11-17 13:06:24 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
Comment 1 Philipp Hahn univentionstaff 2014-11-17 13:12:29 CET
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
Comment 2 Philipp Hahn univentionstaff 2014-11-17 15:26:00 CET
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.
Comment 3 Stefan Gohmann univentionstaff 2014-11-18 07:07:34 CET
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
Comment 4 Stefan Gohmann univentionstaff 2014-11-26 06:54:26 CET
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".