Bug#458270: pbuilder: handle Ctrl+C elegantly

Paul Wise pabs at debian.org
Sat Dec 29 22:48:30 UTC 2007


Package: pbuilder
Version: 0.177
Severity: wishlist

Currently when I do Ctrl+C in pbuilder it kills pbuilder and goes back
to a normal shell. It would be nice if the Ctrl+C were to be sent to the
foreground process running within the chroot. I have a habit of using
Ctrl+C within bash (in a shell hook) to clear the current command when I
type the wrong thing. The same happens when aptitude is installing
packages, but it should instead kill aptitude and gracefully shutdown
pbuilder and remove the chroot. Currently when you do Ctrl+C from a
cowdancer-based pdebuild it leaves the chroot in the pbuilder cache
directory: /var/cache/pbuilder/build/

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.4.3      Bootstrap a Debian system
ii  coreutils                     5.97-5.6   The GNU core utilities
ii  debianutils                   2.28.2     Miscellaneous utilities specific t
ii  debootstrap                   1.0.7      Bootstrap a basic Debian system
ii  gcc                           4:4.2.2-1  The GNU C compiler
ii  wget                          1.10.2-3   retrieves files from the web

Versions of packages pbuilder recommends:
ii  cowdancer                     0.44       Copy-on-write directory tree utili
ii  devscripts                    2.10.11    Scripts to make the life of a Debi
ii  fakeroot                      1.8.10     Gives a fake root environment
ii  sudo                          1.6.9p10-1 Provide limited super user privile

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20071230/83cdbdb9/attachment.pgp 


More information about the Pbuilder-maint mailing list