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

Bug#746570: marked as done (live-build: chroot image contains /etc/mtab as a regular file)



Your message dated Wed, 07 May 2014 21:55:00 +0200
with message-id <536A8F94.5060809@progress-technologies.net>
and subject line bts
has caused the Debian Bug report #746570,
regarding live-build: chroot image contains /etc/mtab as a regular file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
746570: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746570
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 4.0~alpha36-1
Severity: minor

At the time that *.hook.chroot run, /etc/mtab is a regular file.
Since wheezy, Debian has preferred it to be a symlink to /proc/mounts
(it became important to do that with kernels >= 2.6.26). I'm not sure
which stage of installation is normally responsible for this, but
live-build doesn't do it.

I'm currently using this code in a hook at 0500*.hook.chroot:

rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab

wheezy's sysvinit and systemd both fix this up during boot, and it looks
as though extlinux(8) prefers /proc/mounts anyway, but it's probably useful
to have the correct mtab for ad-hoc mount + chroot stuff - in particular,
I'm not sure whether other bootloaders like grub do the same as extlinux,
or whether they trust /etc/mtab.

    S

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.10
ii  debootstrap   1.0.59
ii  python3       3.3.4-1

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-2
ii  live-boot-doc                   4.0~alpha21-1
ii  live-config-doc                 4.0~alpha33-1
ii  live-manual-html [live-manual]  1:4.0~alpha12-1

live-build suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.0~alpha37-1

this has been fixed in above version.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

--- End Message ---

Reply to: