[Pkg-shadow-commits] r547 - in trunk/debian: . patches
Nicolas FRANCOIS
nekral-guest at costa.debian.org
Thu Sep 29 22:03:04 UTC 2005
Author: nekral-guest
Date: 2005-09-29 22:03:03 +0000 (Thu, 29 Sep 2005)
New Revision: 547
Added:
trunk/debian/patches/451_login_PATH
Modified:
trunk/debian/changelog
trunk/debian/patches/series
Log:
set PATH according to ENV_SUPATH and ENV_PATH (for login), as for su.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-09-29 18:18:44 UTC (rev 546)
+++ trunk/debian/changelog 2005-09-29 22:03:03 UTC (rev 547)
@@ -9,6 +9,9 @@
- debian/login.pam, debian/login.su.pam:
- use "readenv=1" with pam_env so that /etc/environment settings are
used. Thanks to Konrad Jelen for pointing it
+ * Upstream bugs not already fixed in upstream releases or CVS:
+ - 451_login_PATH: set PATH according to ENV_SUPATH and ENV_PATH for login
+ Closes: #330803
-- Christian Perrier <bubulle at debian.org> Wed, 28 Sep 2005 19:59:31 +0200
Added: trunk/debian/patches/451_login_PATH
===================================================================
--- trunk/debian/patches/451_login_PATH 2005-09-29 18:18:44 UTC (rev 546)
+++ trunk/debian/patches/451_login_PATH 2005-09-29 22:03:03 UTC (rev 547)
@@ -0,0 +1,26 @@
+Goal: set PATH according to ENV_SUPATH and ENV_PATH (for login), as for
+ su.
+Fixes: #330803
+
+Status wrt upstream:
+
+Index: shadow-4.0.12/libmisc/setupenv.c
+===================================================================
+--- shadow-4.0.12.orig/libmisc/setupenv.c 2005-09-29 23:22:38.000000000 +0200
++++ shadow-4.0.12/libmisc/setupenv.c 2005-09-29 23:25:25.000000000 +0200
+@@ -243,7 +243,6 @@
+ addenv ("USER", info->pw_name);
+ addenv ("LOGNAME", info->pw_name);
+
+-#ifndef USE_PAM
+ /*
+ * Create the PATH environmental variable and export it.
+ */
+@@ -259,6 +258,7 @@
+ /* only value specified without "PATH=" */
+ addenv ("PATH", cp);
+ }
++#ifndef USE_PAM
+
+ /*
+ * Create the MAIL environmental variable and export it. login.defs
Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series 2005-09-29 18:18:44 UTC (rev 546)
+++ trunk/debian/patches/series 2005-09-29 22:03:03 UTC (rev 547)
@@ -63,6 +63,7 @@
446_newgrp.1_no_SHADOWPWD
447_missing_login.defs_variables
448_enable_man
+451_login_PATH
#207_id-manpages
# 999-2 is about using cdbs. It does not patch upstream files
# so shouldn't be here, but we keep it for the future
More information about the Pkg-shadow-commits
mailing list