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

Bug#618382: marked as done (zfsutils: Inability to have /usr on a seperate zfs filesystem when using a zroot.)

Your message dated Sat, 17 Dec 2011 13:38:52 +0100
with message-id <CAOfDtXOZ4dueDDzWjGAJJdqbhhrrUVAYAN=9t-Mq6oPcWwepOw@mail.gmail.com>
and subject line separate /usr now supported
has caused the Debian Bug report #618382,
regarding zfsutils: Inability to have /usr on a seperate zfs filesystem when using a zroot.
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

618382: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618382
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: zfsutils
Version: 8.1-4
Severity: normal
Usertags: kfreebsd

If running Debian/kFreeBSD's root filesystem on zfs, if one attempts to put /usr in a sub filesystem the system will no longer boot.

Example filesystem layout
NAME              MOUNTPOINT
zroot             /zroot
zroot/debian      /
zroot/debian/usr  /usr
zroot/home        /home

By default, the installer will place the entire filesytem in the zroot, without creating any additional sub filesystems. ZFSs flexibility encourages the use of
many filessytems to facilitate the fine grained control of ZFSs more advanced features such as snapshots, compression, deduplication, encryption, etc.

The reason why the system fails to boot is during init, to mount the additional filesystems, /sbin/zfs is called, which depends on /lib/libgeom.so.0, which in
turn depends on /usr/lib/libexpat.so.1. If /usr/lib does not reside on the same filesystem as the kernel mounted for root, /sbin/zfs fails to run, and thus can
not mount the additional filesystems.

On FreeBSD libgeom depends on /lib/libbsdxml instead of libexpat, thus upstream is unaffected by this issue.

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zfsutils depends on:
ii  libbsd0                       0.2.0-1    utility functions from BSD systems
ii  libc0.1                       2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgeom0                      8.1-5      FreeBSD GEOM library
ii  libnvpair0                    8.1-4      OpenSolaris name-value pair librar
ii  libuutil0                     8.1-4      OpenSolaris userland utility libra
ii  libzfs0                       8.1-4      FreeBSD ZFS library

zfsutils recommends no packages.

zfsutils suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
This was caused by bug #637100 in libsbuf and bug #637101 in libexpat,
both of which are fixed now.

I've verified that separate /usr works using latest D-I.

Robert Millan

--- End Message ---

Reply to: