[Pkg-shadow-devel] Bug#347935: marked as done (/usr/bin/pdebuild: Again, the PATH environment variable is lost within pdebuild/pbuilder)

Debian Bug Tracking System owner at bugs.debian.org
Sun Jan 15 15:48:40 UTC 2006


Your message dated Sun, 15 Jan 2006 07:17:08 -0800
with message-id <E1Ey9cy-00017a-FJ at spohr.debian.org>
and subject line Bug#347935: fixed in shadow 1:4.0.14-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jan 2006 16:50:58 +0000
>From mh at glandium.org Fri Jan 13 08:50:58 2006
Return-path: <mh at glandium.org>
Received: from aputeaux-153-1-77-41.w81-249.abo.wanadoo.fr ([81.249.47.41] helo=namakemono.glandium.org)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1ExS8f-0008T5-UP
	for submit at bugs.debian.org; Fri, 13 Jan 2006 08:50:58 -0800
Received: from mh by namakemono.glandium.org with local (Exim 4.60)
	(envelope-from <mh at glandium.org>)
	id 1ExS81-0003Ff-5n; Fri, 13 Jan 2006 17:50:17 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Mike Hommey <mh at glandium.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: /usr/bin/pdebuild: Again,
 the PATH environment variable is lost within pdebuild/pbuilder
Message-ID: <20060113165017.12367.70080.reportbug at namakemono.glandium.org>
X-Mailer: reportbug 3.18
Date: Fri, 13 Jan 2006 17:50:17 +0100
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: pbuilder
Version: 0.144
Severity: normal
File: /usr/bin/pdebuild

I noticed recently that my pbuilders stopped using ccache for some
reason.

It seems, after investigation, that su -p changed its behaviour
recently, and doesn't preserve the PATH environment variable anymore.

I don't know if it should be reported as a bug in su, or if the new
behaviour is intended, but the result is still that pbuilder loses the
PATH environment variable. Note that i haven't checked if it actually works
with an older login package.

namakemono:/home/mh# export PATH=/usr/lib/ccache:${PATH}
namakemono:/home/mh# echo 'echo $PATH' | su -p
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
namakemono:/home/mh# echo 'echo $PATH' | su -p mh
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

Interestingly, using su -c instead of the method used by pbuilder, with
the pipe, works perfectly:
namakemono:/home/mh# su -p -c 'echo $PATH'
/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
namakemono:/home/mh# su -p mh -c 'echo $PATH'
/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.3.9      Bootstrap a Debian system
ii  coreutils                     5.93-5     The GNU core utilities
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  gcc                           4:4.0.2-2  The GNU C compiler
ii  wget                          1.10.2-1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.9.10     Scripts to make the life of a Debi
ii  fakeroot                      1.5.6      Gives a fake root environment
ii  sudo                          1.6.8p12-1 Provide limited super user privile

-- no debconf information

---------------------------------------
Received: (at 347935-close) by bugs.debian.org; 15 Jan 2006 15:21:07 +0000
>From katie at ftp-master.debian.org Sun Jan 15 07:21:07 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1Ey9cy-00017a-FJ; Sun, 15 Jan 2006 07:17:08 -0800
From: Christian Perrier <bubulle at debian.org>
To: 347935-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#347935: fixed in shadow 1:4.0.14-3
Message-Id: <E1Ey9cy-00017a-FJ at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sun, 15 Jan 2006 07:17:08 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-4.1 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	REMOVE_REMOVAL_1WORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: shadow
Source-Version: 1:4.0.14-3

We believe that the bug you reported is fixed in the latest version of
shadow, which is due to be installed in the Debian FTP archive:

login_4.0.14-3_i386.deb
  to pool/main/s/shadow/login_4.0.14-3_i386.deb
passwd_4.0.14-3_i386.deb
  to pool/main/s/shadow/passwd_4.0.14-3_i386.deb
shadow_4.0.14-3.diff.gz
  to pool/main/s/shadow/shadow_4.0.14-3.diff.gz
shadow_4.0.14-3.dsc
  to pool/main/s/shadow/shadow_4.0.14-3.dsc



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 347935 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle at debian.org> (supplier of updated shadow 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 ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 15 Jan 2006 15:03:56 +0100
Source: shadow
Binary: login passwd
Architecture: source i386
Version: 1:4.0.14-3
Distribution: unstable
Urgency: low
Maintainer: Shadow package maintainers <pkg-shadow-devel at lists.alioth.debian.org>
Changed-By: Christian Perrier <bubulle at debian.org>
Description: 
 login      - system login tools
 passwd     - change and administer password and group data
Closes: 62821 296729 347747 347935
Changes: 
 shadow (1:4.0.14-3) unstable; urgency=low
 .
   * The "Pont-L'Évêque" release
   * Upstream bugs or fixes not already fixed in upstream releases or CVS:
     - 479_chowntty_debug:
       - produce more helpful syslog message[s] when is_my_tty() fails
         (see bug #332198).
     - 462_warn_to_edit_shadow:
       - warn users to edit the shadow file when using vipw or vigr
         Closes: #62821
     - 480_getopt_args_reorder:
       - Allow SU options to be passed after - or the username
     - 481_userdel_remove_remove_group:
       - User's group was removed twice, which caused warnings
     - 461_keep_sticky_bit_for_dirs:
       - keep the sticky bit in the directory copied by useradd in the
         skeleton or by usermod.
         Closes: #296729
     - 482_libmisc_copydir_check_return_values:
       - check the return value of system calls in copy_tree
     - 483_su_fakelogin_wrong_arg0:
       - shell's name must be -su when su is faking a login shell.
         Closes: #347747
     - 484_su-p_preserve_PATH:
       - -p did not preserve the PATH environment variable when su started a
         shell (no -c).
         Closes: #347935
   * Debian specific fixes:
     - debian/rules:
       - switch to cdbs for package build
Files: 
 5185573ff9e0021cb264558d55b1b80b 901 admin required shadow_4.0.14-3.dsc
 b24726092ce94b7774b52b6175a288e3 168927 admin required shadow_4.0.14-3.diff.gz
 7af97b37fb56b312510247baf4903bde 735912 admin required passwd_4.0.14-3_i386.deb
 39bc6a0280eb76da9fc73699d17196a7 657520 admin required login_4.0.14-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDymEF1OXtrMAUPS0RAjwSAJ4ivm06aStqJzMgxHG9epF660V5JACfREFS
gfon5rHq7kv9fH03gOa75No=
=QJRC
-----END PGP SIGNATURE-----




More information about the Pkg-shadow-devel mailing list