[Pbuilder-maint] Bug#338976: pbuilder and /etc/shadow
Norbert Preining
preining at logic.at
Mon Nov 14 19:55:11 UTC 2005
Package: pbuilder
Version: 0.138
Followup-For: Bug #338976
The following fixed the problem for me:
--- pbuilder-buildpackage-funcs.orig 2005-11-14 20:51:07.000000000 +0100
+++ pbuilder-buildpackage-funcs 2005-11-14 20:51:55.000000000 +0100
@@ -81,7 +81,7 @@
function createbuilduser () {
# create the build user
- if [ -n "$SUTOUSER" ]; then
+ if [ ! "$SUTOUSER" = "su " ]; then
if ! grep -q ^$BUILDUSERNAME: $BUILDPLACE/etc/passwd; then
cowprotect $BUILDPLACE/etc/passwd
echo "$BUILDUSERNAME:x:$BUILDUSERID:$BUILDUSERID:,,,:/tmp/buildd:/bin/sh" >> $BUILDPLACE/etc/passwd
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-k7
Locale: LANG=en_IE at euro, LC_CTYPE=de_AT at euro (charmap=ISO-8859-15)
Versions of packages pbuilder depends on:
ii cdebootstrap 0.3.9 Bootstrap a Debian system
ii coreutils 5.93-2 The GNU core utilities
ii debianutils 2.15.1 Miscellaneous utilities specific t
ii gcc 4:4.0.2-1 The GNU C compiler
ii wget 1.10.2-1 retrieves files from the web
Versions of packages pbuilder recommends:
ii devscripts 2.9.8 Scripts to make the life of a Debi
ii fakeroot 1.5.5 Gives a fake root environment
ii sudo 1.6.8p9-3 Provide limited super user privile
-- no debconf information
More information about the Pbuilder-maint
mailing list