Your message dated Thu, 1 Aug 2019 20:39:52 +0200
with message-id <[email protected]>
and subject line arch:kfreebsd-* has been moved to Debian-ports
has caused the Debian Bug report #637086,
regarding sets up ZFS filesystems for automated mount
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.)
--
637086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637086
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: partman-zfs
Version: 5
Severity: important
mount.d/zfs sets ZFS filesystems up for automated mount. Automated mount
is very dangerous because it leads to collision when two ZFS-based operating
systems are installed in the same pool.
If ZFS is used for /, it will be overlaid on top of the real /, making /dev
useless (and rendering system unbootable on both sides).
If ZFS is used for other subdirectories, a mix of both operating systems
will be used. Results are unpredictable.
As a workaround, zfsutils doesn't automatically mount/unmount filesystems
that have been marked for automated mount. See changelog entry for 8.2-3:
http://packages.debian.org/changelogs/pool/main/z/zfsutils/zfsutils_8.2-3/changelog
Attached patch switches partman-zfs to legacy mount. However, it can't be
currently used because of bug #637082.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-0-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/commit.d/format_zfs b/commit.d/format_zfs
index 3736365..1d75e81 100755
--- a/commit.d/format_zfs
+++ b/commit.d/format_zfs
@@ -63,11 +63,11 @@ for dev in $DEVICES/*; do
fi
code=0
- local fs=${device##/dev/zvol/}
+ local fs=${device#/dev/zvol/}
log-output -t partman --pass-stdout \
zfs destroy "${fs}" >/dev/null || code=$?
log-output -t partman --pass-stdout \
- zfs create -o mountpoint=none "${fs}" >/dev/null || code=$?
+ zfs create -o mountpoint=legacy "${fs}" >/dev/null || code=$?
sync
db_progress STOP
diff --git a/mount.d/zfs b/mount.d/zfs
index 9d6fc36..31df7e2 100755
--- a/mount.d/zfs
+++ b/mount.d/zfs
@@ -11,7 +11,7 @@ pass=$6
case $type in
zfs)
- zfs set mountpoint=/${mp#/} ${fs#/dev/zvol/} || exit 1
+ mount -t zfs ${fs#/dev/zvol/} ${mp} || exit 1
exit 0
;;
esac
--- End Message ---
--- Begin Message ---
Version: 56+rm
The kfreebsd architectures have been moved to debian-ports recently.
Since the Debian BTS unfortunately cannot be used for tracking bugs in
ports-only packages, I'm closing all the remaining bugs reported against
kfreebsd-specific packages.
Andreas
--- End Message ---