Bug#722586: pbuilder: Document requirement for same partion (and mount options) of various settings
Helge Kreutzmann
debian at helgefjell.de
Thu Sep 12 14:30:39 UTC 2013
Package: pbuilder
Version: 0.213
Severity: minor
I tried out pbuilder. Apart from having to turn down grsecurity
(another bug report) I fought a little with the configuration. Since
pbuilder requires partions mounted without (!) nodev and nosuid I
tried to run the pbuilder on /scr/build (which does not have these
settings) while keeping as much as possible on my Cache partition
(which does have these settings). However, I could not get this to
work, I always had problems about some hard links to beeing set over
partition boundaries.
The following variables where finally all set to my build partition to
get pbuilder to work.
…
#BUILDRESULT=/scr/Cache/Pbuilder/result/
BASETGZ=/scr/build/pbuilder/base.tgz
BUILDPLACE=/scr/build/pbuilder
BUILDRESULT=/scr/build/pbuilder/result/
#specify the cache for APT
#APTCACHE="/scr/Cache/Pbuilder/aptcache/"
APTCACHE="/scr/build/pbuilder/aptcache/"
I probably did not test all combinations, so maybe some might work.
Please:
a) Document the requirement that "nodev" and "nosuid" must not be set
on the partion for the pbuilder (best in pbuilderrc(5))
b) Document which directories have to be set on the same partition for
pbuilder to work.
While the first one was easy, the second one was time consuming to
figure out, therefor "minor" as severity. Downgrade to "wishlist" if
you disagree.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.51sneo.02-grsec (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pbuilder depends on:
ii coreutils 8.13-3.5
ii debconf [debconf-2.0] 1.5.49
ii debianutils 4.3.2
ii debootstrap 1.0.48+deb7u1
ii dpkg-dev 1.16.10
ii wget 1.13.4-3
Versions of packages pbuilder recommends:
ii devscripts 2.12.6
ii fakeroot 1.18.4-2
ii sudo 1.8.5p2-1+nmu1
Versions of packages pbuilder suggests:
pn cowdancer <none>
ii gdebi-core 0.8.7
pn pbuilder-uml <none>
-- Configuration Files:
/etc/pbuilder/buildd-config.sh changed:
BASEDIRECTORY=/scr/Cache/Pbuilder/pbuildd/
MIRROR=ftp.de.debian.org
HOOKDIR=/usr/share/doc/pbuilder/examples/pbuildd/hookdir
ROOTCOMMAND=sudo
function waitingroutine () {
while sleep 1s; do
if ps ax | grep "x[l]ock"; then
# if xlock does exist, break from loop
break
fi
done
}
-- debconf information:
pbuilder/nomirror:
* pbuilder/mirrorsite: http://ftp.de.debian.org/debian
* pbuilder/rewrite: false
--
Dr. Helge Kreutzmann debian at helgefjell.de
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20130912/6f1aa189/attachment.sig>
More information about the Pbuilder-maint
mailing list