Your message dated Wed, 14 Dec 2011 00:06:30 +0000
with message-id <[email protected]>
and subject line Bug#494001: fixed in sysvinit 2.88dsf-14
has caused the Debian Bug report #494001,
regarding debian-installer: /etc/mtab must be a symlink to /proc/mounts with
linux >= 2.6.26
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 [email protected]
immediately.)
--
494001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494001
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debian-installer
Severity: important
/etc/mtab can be either a regular file updated by mount/umount, or a symlink
to /proc/mounts. Currently, it is a regular file, though the user can change
this by hand.
With linux < 2.6.26, /proc/mounts lacks information present in /etc/mtab such
as additional mount options. Thus a symlink breaks things like discquotas
which rely on parsing the additional mount options. As a result, we are
mostly all still using it as a plain file.
With linux >= 2.6.26, /proc/mounts contains all of the information in
/etc/mtab, plus more. The mount system call can now pass all of the mount
options to the kernel, so no information is missing in /proc/mounts. This
has obviously useful benefits such as read-only root, and the state in
/etc/mtab never gets out of sync with reality (there are a number of open
bugs against mount where this occurs).
Additionally, with the addition of per-process namespaces with CLONE_NEWNS to
clone(2), each process has its own set of mounts, and as such a system-wide
/etc/mtab is useless: it's only valid in one of the potentially many
namespaces and can quickly get into a horrible mess. At this point,
/etc/mtab *must* be a symlink to avoid breakage. Note that /proc/mounts is
now a symlink to /proc/self/mounts for this reason: each process has
potentially different mounts.
After discussion on #debian-devel, we came up with these points:
- we could detect the kernel version on boot, and set up a file or a symlink
as needed. However, this breaks read-only root.
- we could change on upgrades rather than boot, but because it's dependent
upon the kernel version, breakage could result if an older kernel is
booted.
- doing it at install time if a kernel >= 2.6.26 is installed is the most
robust solution.
I had a look at a number of sources (debootstrap, base-files,
debian-installer), but I have yet to find the code that initially creates
/etc/mtab (if any). Some of the init scripts will re-create it if not
present (and these could do with updating too for Lenny+1), but ideally if
d-i installs a kernel >= 2.6.26, it should just ensure that /etc/mtab is a
symlink during the install.
If we could get this change made for Lenny, that would be great.
Thanks for your time,
Roger
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.20.3-bytemark-uml-2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.88dsf-14
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.88dsf-14_amd64.deb
to main/s/sysvinit/initscripts_2.88dsf-14_amd64.deb
sysv-rc_2.88dsf-14_all.deb
to main/s/sysvinit/sysv-rc_2.88dsf-14_all.deb
sysvinit-utils_2.88dsf-14_amd64.deb
to main/s/sysvinit/sysvinit-utils_2.88dsf-14_amd64.deb
sysvinit_2.88dsf-14.debian.tar.gz
to main/s/sysvinit/sysvinit_2.88dsf-14.debian.tar.gz
sysvinit_2.88dsf-14.dsc
to main/s/sysvinit/sysvinit_2.88dsf-14.dsc
sysvinit_2.88dsf-14_amd64.deb
to main/s/sysvinit/sysvinit_2.88dsf-14_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roger Leigh <[email protected]> (supplier of updated sysvinit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Tue, 13 Dec 2011 20:11:48 +0000
Source: sysvinit
Binary: sysvinit sysvinit-utils sysv-rc initscripts
Architecture: source amd64 all
Version: 2.88dsf-14
Distribution: experimental
Urgency: low
Maintainer: Debian sysvinit maintainers
<[email protected]>
Changed-By: Roger Leigh <[email protected]>
Description:
initscripts - scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 494001 580579 631077 641107 643558 645655 648472 648881
Changes:
sysvinit (2.88dsf-14) experimental; urgency=low
.
[ Kel Modderman ]
* Add support for s390x, thanks to Aurelien Jarno <[email protected]>.
(Closes: #641107)
.
[ Roger Leigh ]
* debian/rules:
- Add build-arch and -indep rules. (Closes: #648472)
- Remove dpatch usage.
- Use dh and debhelper compat level 9.
* debian/control:
- Add git version control information.
- Upgrade to Standards-Version 3.9.2.
- Add myself to Uploaders.
* Use dpkg 3.0 (quilt) source format. Rediffed
debian/patches/40_multiarch_libcrypt.patch which was not well
formed and failed to apply.
* initscripts:
- Make /etc/mtab a symlink to /proc/mounts. (Closes: #494001)
Note that this is only done when the root filesystem is writable
and /proc/mount is readable.
- Support the ceph network filesystem. (Closes: #580579). Thanks
to Sage Weil.
- Restore boot-time cleaning of /var/run and /var/lock, used by
systems which currently do not use a tmpfs for /run.
- Remove /lib/init/rw: Add Breaks for all packages which used
/lib/init/rw, and which now use /run. Unmount and remove
following upgrade.
- Don't create /run/.run-transition on upgrade, only on actually
setting up a transitional bind mount.
- Add Breaks on all packages previously using /lib/init/rw, in
order to permit removal of /lib/init/rw. It is not possible to
remove prior to rebooting due to initscripts being required to
be configured by the packages transitioning to /run. Remove in
wheezy+1.
- Remove trailing period from the initscripts init script log
message. (Closes: #648881). Thanks to Clint Byrum.
- /etc/network/if-up.d/mountnfs: grep: character class syntax is
[[:space:]], not [:space:]. (Closes: #631077, #645655). Thanks to
Milan Kocian and Jan-Benedict Glaw. Also simplify function logic
using a for loop rather than a while loop. Thanks to Corey Hickey.
* sysv-rc:
- Remove splash support and use of removed /dev/.initramfs.
(Closes: #643558). Thanks to Michael Biebl.
Checksums-Sha1:
c99ad29dcaeb1b76d6324280182f1cdb46a63ef1 1658 sysvinit_2.88dsf-14.dsc
deaa4b242547c2e15e040e7d8dcf77a63b7c856d 179693
sysvinit_2.88dsf-14.debian.tar.gz
77344603320a45ed082119973b979fbcf2ac697b 126042 sysvinit_2.88dsf-14_amd64.deb
635eabd209b03ee5c7be5b5533285d8b97fbb712 92634
sysvinit-utils_2.88dsf-14_amd64.deb
05430b4d1dfe1917d7944113102f762ce702ebfc 78838 sysv-rc_2.88dsf-14_all.deb
b34f0551441c0d6958066dcaee15bb75b3d28594 78100 initscripts_2.88dsf-14_amd64.deb
Checksums-Sha256:
286be117e29341ec379f0953c21789f50dd79e896e5192bf767b73ad900a8334 1658
sysvinit_2.88dsf-14.dsc
b97d13b22632623cfcdb18f042b30f7d96ec0576e6b0afbe0bb2bc7b4cb9de8f 179693
sysvinit_2.88dsf-14.debian.tar.gz
925456df2c813bd7e10c50608f1f66666cac43e70d1c2bde21709199c9c10a29 126042
sysvinit_2.88dsf-14_amd64.deb
cd18cf381e50daf3d9b1be61760d894d74fe46d321dc5dc8f6cd64637e3df4a2 92634
sysvinit-utils_2.88dsf-14_amd64.deb
747b601e4a3473479594dbb71ed366686b6b085c4fac7ee4f39c67bb2b43a8bd 78838
sysv-rc_2.88dsf-14_all.deb
bf1f38adf3a44862c0f5bac6bc2228d2ea9bf906720d4c8502ef6ae794d02825 78100
initscripts_2.88dsf-14_amd64.deb
Files:
0771dbb94fa0f523a0e017695d6e5d6f 1658 admin required sysvinit_2.88dsf-14.dsc
f94f337260cc42d68df0156532ced47b 179693 admin required
sysvinit_2.88dsf-14.debian.tar.gz
a45cfb3dec781a8279d42d71e238148c 126042 admin required
sysvinit_2.88dsf-14_amd64.deb
226a422680673618f0771f733fc21dca 92634 admin required
sysvinit-utils_2.88dsf-14_amd64.deb
705c7c15608fb9fedc4b23024f479941 78838 admin required
sysv-rc_2.88dsf-14_all.deb
72e2e64c0c4365eed0da7ac2aa3cf617 78100 admin required
initscripts_2.88dsf-14_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEAREDAAYFAk7n4z8ACgkQVcFcaSW/uEiDMQCfZLC/+yYPV/dOZwi809FXrgre
+xEAoKGf5tRJuIul88u0gxEwy+q8dCE9
=g7cC
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel