Bug#620337: The documentation about the ${HOME}/.pbuilderrc file is misleading

Michael Wild themiwi at users.sourceforge.net
Fri Apr 1 08:59:13 UTC 2011


Package: pbuilder
Version: 0.199+nmu1ubuntu1
Severity: normal

pbuilder(1) mentions a per-user configuration file ${HOME}/.pbuilderrc,
but since pbuilder must be run as root, it should probably refer to
/root/.pbuilderrc instead. This is especially confusing if run with
sudo. Also, it doesn't make much sense to have both /etc/pbuilderrc and
/root/.pbuilderrc if it always uses /root/.pbuilderrc. That's just a
duplication of /etc/pbuilderrc then. What could be a better option is
for pbuilder to check whether SUDO_UID is defined, and then use the real
user's home directory.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils                8.5-1ubuntu6    GNU core utilities
ii  debconf [debconf-2.0]    1.5.36ubuntu4   Debian configuration management sy
ii  debianutils              3.4.3ubuntu1    Miscellaneous utilities specific t
ii  debootstrap              1.0.29          Bootstrap a basic Debian system
ii  wget                     1.12-2.1ubuntu2 retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts              2.10.69ubuntu2   scripts to make the life of a Debi
ii  fakeroot                1.14.4-1ubuntu1  Gives a fake root environment
ii  sudo                    1.7.4p4-5ubuntu5 Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer               0.62+nmu2ubuntu1 Copy-on-write directory tree utili
pn  gdebi-core              <none>           (no description available)
pn  pbuilder-uml            <none>           (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list