Your message dated Fri, 26 Dec 2008 09:02:03 +0000
with message-id <[email protected]>
and subject line Bug#509446: fixed in live-initramfs 1.154.4-1
has caused the Debian Bug report #509446,
regarding live-initramfs: Support further checks on loopback image and support
skipping union mounts
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.)
--
509446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509446
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: live-initramfs
Version: 1.154.3-1
Severity: wishlist
Tags: patch
To use live-initramfs for the Gibraltar firewall distribution, I ported two
missing features from my own mkinitrd-cd package to work as scripts/hooks
within the initramfs-tools framework and plug into live-initramfs. Although
most can be implemented this way, a minor patch is required for the "live"
script to:
- Call another set of scripts after finding the loopback image that is about to
be mounted but just before actually mounting it. This allows to perform
further checks at this stage.
- Completely bypass the unionfs mounts so that this can be handled by custom
distribution scripts during bootup. The reason is that even larger parts of
the filesystem should remain read-only for security reasons.
The attached patch is quite minor and non-intrusive and will not change any
current functionality when the added options are not used. Please consider
applying it so that the Debian package can be used without further changes.
Thanks,
Rene
-- Package-specific info:
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.27-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages live-initramfs depends on:
ii busybox 1:1.10.2-2 Tiny utilities for small and
embed
ii file 4.26-2 Determines file type using "magic"
ii initramfs-tools 0.92n tools for generating an initramfs
ii sudo 1.6.9p17-1 Provide limited super user
privile
ii udev 0.125-7 /dev/ and hotplug management
daemo
ii user-setup 1.23 Set up initial user and password
Versions of packages live-initramfs recommends:
pn eject <none> (no description available)
ii uuid-runtime 1.41.3-1 universally unique id library
ii wget 1.11.4-2 retrieves files from the web
Versions of packages live-initramfs suggests:
pn curlftpfs <none> (no description available)
pn genext2fs <none> (no description available)
pn httpfs2 <none> (no description available)
pn loop-aes-utils <none> (no description available)
pn mtd-tools <none> (no description available)
ii squashfs-tools 1:3.3-7 Tool to create and append to
squas
-- no debconf information
diff -r 6619a22cc6aa usr/share/initramfs-tools/scripts/live
--- a/usr/share/initramfs-tools/scripts/live Sun Dec 21 21:14:42 2008 +0100
+++ b/usr/share/initramfs-tools/scripts/live Mon Dec 22 14:25:13 2008 +0100
@@ -427,6 +427,11 @@
export PLAIN_ROOT
;;
+ skipunion)
+ SKIP_UNION_MOUNTS="Yes"
+ export SKIP_UNION_MOUNTS
+ ;;
+
root=*)
ROOT="${ARGUMENT#root=}"
export ROOT
@@ -1085,6 +1090,12 @@
do
imagename=$(basename "${image}")
+ export image devname
+ maybe_break live-realpremount
+ log_begin_msg "Running /scripts/live-realpremount"
+ run_scripts /scripts/live-realpremount
+ log_end_msg
+
if [ -d "${image}" ]
then
# it is a plain directory: do nothing
@@ -1242,8 +1253,12 @@
mount --bind ${exposedrootfs} ${rootmnt} || \
panic "bind mount of ${exposedrootfs} failed"
- cow_dirs='/var/tmp /var/lock /var/run /var/log /var/spool
- /home /var/lib/live'
+ if [ -z "${SKIP_UNION_MOUNTS}" ]; then
+ cow_dirs='/var/tmp /var/lock /var/run /var/log /var/spool
+ /home /var/lib/live'
+ else
+ cow_dirs=''
+ fi
for dir in ${cow_dirs}; do
mkdir -p /cow${dir}
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
Source: live-initramfs
Source-Version: 1.154.4-1
We believe that the bug you reported is fixed in the latest version of
live-initramfs, which is due to be installed in the Debian FTP archive:
live-initramfs_1.154.4-1.diff.gz
to pool/main/l/live-initramfs/live-initramfs_1.154.4-1.diff.gz
live-initramfs_1.154.4-1.dsc
to pool/main/l/live-initramfs/live-initramfs_1.154.4-1.dsc
live-initramfs_1.154.4-1_all.deb
to pool/main/l/live-initramfs/live-initramfs_1.154.4-1_all.deb
live-initramfs_1.154.4.orig.tar.gz
to pool/main/l/live-initramfs/live-initramfs_1.154.4.orig.tar.gz
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.
Daniel Baumann <[email protected]> (supplier of updated live-initramfs 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: SHA1
Format: 1.8
Date: Fri, 26 Dec 2008 09:00:00 +0100
Source: live-initramfs
Binary: live-initramfs
Architecture: source all
Version: 1.154.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description:
live-initramfs - Debian Live initramfs hook
Closes: 509446
Changes:
live-initramfs (1.154.4-1) unstable; urgency=low
.
[ Rene Mayrhofer ]
* Support further checks on loopback image and support skipping union
mounts (Closes: #509446).
Checksums-Sha1:
ad957c4510c12b180f6f9c786f85fa05c741e9c7 1298 live-initramfs_1.154.4-1.dsc
9b52cef8981daa21b756834b0e2e15563f04dd01 80001
live-initramfs_1.154.4.orig.tar.gz
48f9a2872c492a6afb790f7f57e67ff219af5214 9989 live-initramfs_1.154.4-1.diff.gz
bafcaa5eca94f61889e6dcce94a8bed6bb00472b 86418 live-initramfs_1.154.4-1_all.deb
Checksums-Sha256:
dc1f6fb5be9cb624ffb4367f5303fd6aaec78b3578ae7b727a618367d894e373 1298
live-initramfs_1.154.4-1.dsc
59ac22dc9a7813961f1b49deff6819ec551863eed181dbb116bb1ccd3e53ea39 80001
live-initramfs_1.154.4.orig.tar.gz
5dc2558ca74386e63bc4d0d178a331f1381e92e3f4511778be758401694be6d3 9989
live-initramfs_1.154.4-1.diff.gz
cdc3020051cfca031f0b3daafdd827736c23aa21dab4df85ccca437fd93fc4ed 86418
live-initramfs_1.154.4-1_all.deb
Files:
2ba8024d25a8592f136f1b03852db5a4 1298 misc optional
live-initramfs_1.154.4-1.dsc
3c8f1a1644a16aefdc610a7777085a5d 80001 misc optional
live-initramfs_1.154.4.orig.tar.gz
ccb3dc7ebcfc5309a14ce9cfe7c64b1e 9989 misc optional
live-initramfs_1.154.4-1.diff.gz
cf6446c5d3c5eb36bdbb1f3ba22c1a94 86418 misc optional
live-initramfs_1.154.4-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklUmlkACgkQ+C5cwEsrK5776wCg0aGGyUCEcNecuokbQ3qI++1b
/jYAn1olX51SUORZiZv7HGlDotOgwOjn
=Xobu
-----END PGP SIGNATURE-----
--- End Message ---