[Pbuilder-maint] Bug#338976: pbuilder: pdebuild dies if /etc/shadow
doesn't exist
Brian Nelson
pyro at debian.org
Mon Nov 14 05:49:01 UTC 2005
Package: pbuilder
Version: 0.138
Severity: normal
For whatever reason, /etc/shadow doesn't exist in my chroot, and so when
I run pdebuild, it dies:
[...]
+ save_aptcache
+ local doit
+ '[' -n '' ']'
+ trap umountproc_cleanbuildplace exit
+ createbuilduser
+ '[' -n 'su -p root' ']'
+ grep -q '^root:' /home/nelson/pbuilder/build//10521/etc/passwd
+ grep -q '^root:' /home/nelson/pbuilder/build//10521/etc/group
+ grep -q '^root:' /home/nelson/pbuilder/build//10521/etc/shadow
grep: /home/nelson/pbuilder/build//10521/etc/shadow: No such file or directory
+ cowprotect /home/nelson/pbuilder/build//10521/etc/shadow
+ for A in '"$@"'
+ readlink -f /home/nelson/pbuilder/build//10521/etc/shadow
/home/nelson/pbuilder/build/10521/etc/shadow
++ readlink -f /home/nelson/pbuilder/build//10521/etc/shadow
+ A=/home/nelson/pbuilder/build/10521/etc/shadow
+ mv /home/nelson/pbuilder/build/10521/etc/shadow /home/nelson/pbuilder/build/10
521/etc/shadow~
mv: cannot stat `/home/nelson/pbuilder/build/10521/etc/shadow': No such file or
directory
+ umountproc_cleanbuildplace
+ '[' 1 -ne 0 ']'
+ echo ' -> Aborting with an error'
-> Aborting with an error
[...]
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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