Bug#535268: pbuilder: option to replace /dev/random with /dev/urandom inside build environment

Andreas Beckmann debian at abeckmann.de
Wed Jul 1 09:51:50 UTC 2009


Package: pbuilder
Version: 0.188
Severity: wishlist

Hi Junichi,

what about an option to replace /dev/random with /dev/urandom inside the
chroot?
Installation of ia32-apt-get (current sid) during package build every time
drains /dev/random and blocks until enough new random bits can be collected.
For creating some temporary gpg keys/keyrings/whatever, the use of
/dev/urandom should be sufficient.
Are there any uses of pbuilder that might need a "good" /dev/random device?

What about a new setting for pbuilder to replace /dev/random by a
symlink to /dev/urandom
a) never (as it is now, probably should be the default)
b) during build
c) always (also during login/execute --save-after, create/update, ...)
==> DEVURANDOMASDEVRANDOM=never|build|always

Once a setting of 'always' was used in a session that was saved
(--save-after, update, create) that change might be "permanent" and not
automatically undone by setting 'never' or 'build'.


Andreas

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (800, 'stable'), (600, 'unstable'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder depends on:
ii  coreutils                   7.4-2        The GNU core utilities
ii  debconf [debconf-2.0]       1.5.26       Debian configuration management sy
ii  debianutils                 3.1.3        Miscellaneous utilities specific t
ii  debootstrap                 1.0.10lenny1 Bootstrap a basic Debian system
ii  wget                        1.11.4-2     retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.52    scripts to make the life of a Debi
ii  fakeroot                      1.12.2     Gives a fake root environment
ii  sudo                          1.7.0-1    Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer             0.56               Copy-on-write directory tree utili
ii  gdebi                 0.3.11debian1+nmu1 Simple tool to install deb files
pn  pbuilder-uml          <none>             (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list