Your message dated Thu, 06 Oct 2022 04:34:36 +0000
with message-id <[email protected]>
and subject line Bug#993161: fixed in pam 1.5.2-3
has caused the Debian Bug report #993161,
regarding pam: some remaining changes for DPKG_ROOT
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
993161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993161
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pam
Version: 1.4.0-10
Severity: normal
Tags: patch
Hi Sam & Steve,
thanks a lot for fixing #983427!
Unfortunately, only the patch in the original message got applied in
1.4.0-10 but I posted an updated patch in message #23 of that bug.
I attached a patch containing the remaining required changes.
Thanks!
cheers, josch
diff -Nru pam-1.4.0/debian/libpam-modules.postinst
pam-1.4.0/debian/libpam-modules.postinst
--- pam-1.4.0/debian/libpam-modules.postinst 2021-01-30 23:09:52.000000000
+0100
+++ pam-1.4.0/debian/libpam-modules.postinst 2021-08-28 07:49:06.000000000
+0200
@@ -5,16 +5,16 @@
if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.99.7.1-3
then
- if ! [ -f /etc/security/opasswd ]; then
+ if ! [ -f "$DPKG_ROOT/etc/security/opasswd" ]; then
umask 066
- touch /etc/security/opasswd
+ touch "$DPKG_ROOT/etc/security/opasswd"
umask 022
fi
fi
-if dpkg --compare-versions "$2" lt 0.99.9.0-1 && ! [ -f /etc/environment ]
+if dpkg --compare-versions "$2" lt 0.99.9.0-1 && ! [ -f
"$DPKG_ROOT/etc/environment" ]
then
- touch /etc/environment
+ touch "$DPKG_ROOT/etc/environment"
fi
if dpkg --compare-versions "$2" lt-nl 1.1.2-1 \
diff -Nru pam-1.4.0/debian/libpam-runtime.postinst
pam-1.4.0/debian/libpam-runtime.postinst
--- pam-1.4.0/debian/libpam-runtime.postinst 2021-08-26 21:43:23.000000000
+0200
+++ pam-1.4.0/debian/libpam-runtime.postinst 2021-08-28 07:49:06.000000000
+0200
@@ -20,9 +20,9 @@
for configfile in common-auth common-account common-session \
common-password
do
- if [ -f /etc/pam.d/$configfile ] && \
+ if [ -f "$DPKG_ROOT/etc/pam.d/$configfile" ] && \
! fgrep -q $(calculate_md5sum $configfile) \
- /usr/share/pam/$configfile.md5sums 2>/dev/null
+ "$DPKG_ROOT/usr/share/pam/$configfile.md5sums" 2>/dev/null
then
force=
fi
--- End Message ---
--- Begin Message ---
Source: pam
Source-Version: 1.5.2-3
Done: Steve Langasek <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pam, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <[email protected]> (supplier of updated pam package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 06 Oct 2022 04:05:02 +0000
Source: pam
Architecture: source
Version: 1.5.2-3
Distribution: unstable
Urgency: medium
Maintainer: Steve Langasek <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Closes: 993161
Changes:
pam (1.5.2-3) unstable; urgency=medium
.
* Add missing manpages for pam_namespace which for some reason don't get
installed by the upstream rules
* Drop obsolete upgrade code from maintainer scripts which is no longer
used
* Drop manual multiarch file handling in favor of dh-exec.
* No special-case needed for pam_modutil_sanitize_helper_fds in symbols
file, it's covered by the existing globs.
* debian/local/Debian-PAM-MiniPolicy: drop references to ancient
package versions. Thanks, Marc Haber.
* Support DPKG_ROOT in the postinst scripts. Closes: #993161.
Thanks, Johannes Schauer Marin Rodrigues.
* Further proof libpam-runtime postinst for DPKG_ROOT just in case.
Checksums-Sha1:
6e060b7a7c4d54924101a62d5b43a5c92f3eaa01 2559 pam_1.5.2-3.dsc
4a6bedee9a2521cc08ce1af3a08e758de0831a70 120064 pam_1.5.2-3.debian.tar.xz
Checksums-Sha256:
5fe7cc0b42f5b8de31216b4285c21717eb0774d4fbc6e3441c1c8aa27ec28e81 2559
pam_1.5.2-3.dsc
5cf9edaa9be1e0af4d5cdc989a99691825f9c859b3809fd50c485cd922ac1abc 120064
pam_1.5.2-3.debian.tar.xz
Files:
7e46d161c3c9251883c507cd830c2283 2559 libs optional pam_1.5.2-3.dsc
538bb3c8cc6fb6cd524a3bb7e3f1fd43 120064 libs optional pam_1.5.2-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAmM+Vf4SHHZvcmxvbkBk
ZWJpYW4ub3JnAAoJEFaNMPMhshM9rMkP/3bOcvZd0Wd4itNkhCS7LaDxynYr2hL0
7zjG8lap+UnXlTiHcAxzkdmn4J9A9Y2SLR+JZzj/iNp8eFFRdQ0P0kp2rSysn0Cl
M0SOHvEmgbU4piwYK6kKD58dTKBAViuYR5CXhgPa3FMCp/6282+Izvre3lhBXRmD
wD6tLvkqBCmxAy1AtRFHNGC1lP0tU4HOFUqTsfTfEhYF0HWRS3ud5cIWddXssgm0
igCb+Jx45wYKBLxuihjaFnwwniRS5tDgMJAp+1w4K+2l5UBrhYCxpF+XMlTmhurI
lPKoZGbp44Yy757NI8AB8DJ5rml8+oSKiy1knqV6iUXfAokARoGt7BHAnWx9ulXh
jLrlndItyNBT9uc5PIwT7mfY0wC/jJtO7xrMS0fS6PbfkZm4adsyq9ns90hopvuQ
lTmU9jfVP4NhXyB1+s0kHGxMItjYO3bCnY+B7uVtsgxTujJdb8wfJJcUOBfHp3pQ
a1jfRSr1hWdp0RZZ6nCOLwIeegy8aQJG5P/spN3r9irglGGBypilpQlLCcQOTbsJ
iDdb3B07DNAPVoNzUryoEG935JF+qbm4Z3AbQDTeWh5Ti+92Tgll7kp4MA2+1+dz
0aFB8tmA/L9ZPtQ1BF4/NtfR8LsVehNqchd7Fv327xoHEeMFSkYHMSWIQRK6W/u6
qQsJQrklRC4q
=aNkx
-----END PGP SIGNATURE-----
--- End Message ---