[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410147: live-package: leaves debian-live/chroot/proc mounted on failure



Package: live-package
Version: 0.99.19-1
Severity: normal

I forgot to use --http-proxy and

time sudo make-live -d etch -p minimal -m http://apt-proxy.kurp.hut.fi:9999/debian/

failed with

....
dpkg - warning: ignoring request to remove cdebootstrap-helper-diverts which isn't installed.
Get:1 http://apt-proxy.kurp.hut.fi etch Release.gpg [189B]
Get:2 http://apt-proxy.kurp.hut.fi etch Release [74.4kB]
Err http://security.debian.org etch/updates Release.gpg
  Could not connect to security.debian.org:80 (212.211.132.32). - connect (111 Connection refused)
Get:3 http://apt-proxy.kurp.hut.fi etch/main Packages [5669kB]
Fetched 5743kB in 0s (5991kB/s)
Failed to fetch http://security.debian.org/dists/etch/updates/Release.gpg  Could not connect to security.debian.org:80 (212.211.132.32). - connect (111 Connection refused)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

real    0m58.527s
user    0m19.926s
sys     0m22.580s

The problem is that after this failure debian-live/chroot/proc is
still mounted preventing the user from simply doing "rm -fr
debian-live".

When I add "sh -x" before the command I see that the last two commands executed are

+ Chroot_exec 'apt-get update'
+ chroot /local/lindi/debian-live/chroot /usr/bin/env -i HOME=/root PATH=/usr/sbin:/usr/bin:/sbin:/bin TERM=screen ftp_proxy= http_proxy= DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get update

Shell doesn't seem to execute anything after chroot has failed since
"set -e" is in effect.

Please let me know if you can't reproduce this bug. I'm happy to
provide more info.



Reply to: