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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]