--- Begin Message ---
Package: partman-target
Version: 75
Severity: wishlist
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: zfs
check.d/proper_mountpoints prevents placing mount points in a subdirectory
of /lib. At least on GNU/kFreeBSD, using /lib/modules as mount point is not
only supported but even mandatory for certain configurations when using ZFS.
I traced the addition of "/lib*" to commit 3a083d4f9167b52155aff7b1d2e431da4ea031a1
by Colin Watson (CCed). Assuming the intent was to match all directories in /
that begin with "lib" (i.e. /lib{,32,64}), my proposed patch is to list them
explicitly.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/check.d/proper_mountpoints b/check.d/proper_mountpoints
index 497882e..c5db16e 100755
--- a/check.d/proper_mountpoints
+++ b/check.d/proper_mountpoints
@@ -77,7 +77,7 @@ must_be_on_root () {
for mp in $mountpoints; do
case $mp in
- /bin|/dev|/etc|/lib*|/media|/sbin)
+ /bin|/dev|/etc|/lib|/lib32|/lib64|/media|/sbin)
db_subst partman-target/must_be_on_root MOUNTPOINT "$mp"
db_capb align
db_input critical partman-target/must_be_on_root || true
--- End Message ---
--- Begin Message ---
Source: partman-target
Source-Version: 76
We believe that the bug you reported is fixed in the latest version of
partman-target, which is due to be installed in the Debian FTP archive:
partman-target_76.dsc
to main/p/partman-target/partman-target_76.dsc
partman-target_76.tar.gz
to main/p/partman-target/partman-target_76.tar.gz
partman-target_76_all.udeb
to main/p/partman-target/partman-target_76_all.udeb
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 637032@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated partman-target 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 09 Aug 2011 13:28:45 +0200
Source: partman-target
Binary: partman-target
Architecture: source all
Version: 76
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description:
partman-target - Provides partman with ability to prepare /target (udeb)
Closes: 637032
Changes:
partman-target (76) unstable; urgency=low
.
[ Robert Millan ]
* check.d/proper_mountpoints: List lib32 and lib64 explicitly instead
of using lib* wildcard, so that mountpoints like /lib/modules are
supported. (Closes: #637032)
.
[ Samuel Thibault ]
* Set hdd partition hurd-i386 translators in installed system.
Checksums-Sha1:
af6fb29588cdb2839045b13045a6228fae5c8b7d 949 partman-target_76.dsc
b8b1a6f6ee018eacc50e1acd96ace033adc151b4 135285 partman-target_76.tar.gz
9519d52b3cca693fa6b558e4c6428739b45abd8d 112630 partman-target_76_all.udeb
Checksums-Sha256:
629eb7f96903d6a59f7b65b1b80c7023bb830e891fba2b6d4b47798cd25d6bb1 949 partman-target_76.dsc
1ee51be6aedcd2c4d574b82bbdba4a8441c56a265b6c592752b69ac76c7674f9 135285 partman-target_76.tar.gz
5b4461a21d83dbc06b204eaadb2766265cac6bd9ea9d2575bff1068a5d5b821b 112630 partman-target_76_all.udeb
Files:
f6e7c5e12222fcdd5b5f6c366e2f04d1 949 debian-installer standard partman-target_76.dsc
6bf38bae473dacbe26766623041baf2f 135285 debian-installer standard partman-target_76.tar.gz
0ed0c5a3fc91bc2316902ebe13bca65e 112630 debian-installer standard partman-target_76_all.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/kFreeBSD)
iEYEARECAAYFAk5BGpQACgkQC19io6rUCv9TfgCeI+0c4CyaSEoRtduzLliEICBj
6DQAn0GCWCscl5FABU5elHIVT6Z0ThT9
=A0/9
-----END PGP SIGNATURE-----
--- End Message ---