Activity log for bug #1596835

Date Who What changed Old value New value Message
2016-06-28 07:59:09 Lennart Karssen bug added bug
2016-07-21 22:32:54 Dave Chiluk bug added subscriber Dave Chiluk
2017-07-20 16:24:57 Colin Ian King nominated for series Ubuntu Artful
2017-07-20 16:24:57 Colin Ian King bug task added zfs-linux (Ubuntu Artful)
2017-07-20 16:24:57 Colin Ian King nominated for series Ubuntu Xenial
2017-07-20 16:24:57 Colin Ian King bug task added zfs-linux (Ubuntu Xenial)
2017-07-20 16:24:57 Colin Ian King nominated for series Ubuntu Zesty
2017-07-20 16:24:57 Colin Ian King bug task added zfs-linux (Ubuntu Zesty)
2017-07-20 16:32:48 Colin Ian King zfs-linux (Ubuntu Zesty): status New Fix Released
2017-07-20 16:32:51 Colin Ian King zfs-linux (Ubuntu Zesty): importance Undecided Medium
2017-07-20 16:33:00 Colin Ian King zfs-linux (Ubuntu Xenial): status New Triaged
2017-07-20 16:33:02 Colin Ian King zfs-linux (Ubuntu Xenial): importance Undecided Medium
2017-07-20 16:33:05 Colin Ian King zfs-linux (Ubuntu Xenial): assignee Colin Ian King (colin-king)
2017-07-20 16:33:28 Colin Ian King zfs-linux (Ubuntu Artful): status New Fix Committed
2017-07-20 16:33:30 Colin Ian King zfs-linux (Ubuntu Artful): status Fix Committed Fix Released
2017-07-20 16:33:32 Colin Ian King zfs-linux (Ubuntu Artful): importance Undecided Medium
2017-08-11 16:12:02 Colin Ian King description Currently, in Ubuntu 16.04, the package libnvpair1linux puts libnvpair.so.1 in /usr/lib/, however, tools like zpool and zfs which are installed in /sbin/ need this library. According to the FHS this means the required libraries should be in /lib/ in order to allow the user to install /usr/ on a separate partition that is not immediately available after boot. This turns out to be a problem indeed. On one of my systems I had /usr/ on a ZFS filesystem (and /, /lib/, /sbin/, /bin/ on a separate ext4 partition). However, the system failed to boot: it hung while mounting the ZFS partitions which failed because zpool import didn't work as it couldn't find libnvpair.so.1. $ apt-cache policy libnvpair1linux libnvpair1linux: Installed: 0.6.5.6-0ubuntu9 Candidate: 0.6.5.6-0ubuntu9 Version table: *** 0.6.5.6-0ubuntu9 500 500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.6.5.6-0ubuntu8 500 500 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages $ apt-cache policy zfsutils-linux zfsutils-linux: Installed: 0.6.5.6-0ubuntu9 Candidate: 0.6.5.6-0ubuntu9 Version table: *** 0.6.5.6-0ubuntu9 500 500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.6.5.6-0ubuntu8 500 500 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [SRU JUSTIFICATION XENIAL] Currently, in Ubuntu 16.04, the package libnvpair1linux puts libnvpair.so.1 in /usr/lib/, however, tools like zpool and zfs which are installed in /sbin/ need this library. According to the FHS this means the required libraries should be in /lib/ in order to allow the user to install /usr/ on a separate partition that is not immediately available after boot. This turns out to be a problem indeed. On one of my systems I had /usr/ on a ZFS filesystem (and /, /lib/, /sbin/, /bin/ on a separate ext4 partition). However, the system failed to boot: it hung while mounting the ZFS partitions which failed because zpool import didn't work as it couldn't find libnvpair.so.1. $ apt-cache policy libnvpair1linux libnvpair1linux:   Installed: 0.6.5.6-0ubuntu9   Candidate: 0.6.5.6-0ubuntu9   Version table:  *** 0.6.5.6-0ubuntu9 500         500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages         100 /var/lib/dpkg/status      0.6.5.6-0ubuntu8 500         500 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages $ apt-cache policy zfsutils-linux zfsutils-linux:   Installed: 0.6.5.6-0ubuntu9   Candidate: 0.6.5.6-0ubuntu9   Version table:  *** 0.6.5.6-0ubuntu9 500         500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages         100 /var/lib/dpkg/status      0.6.5.6-0ubuntu8 500         500 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [FIX] Correctly set path by modifying the debian install files for the specific libraries to match the correct settings found in releases after Xenial. [TEST] The path /usr/lib/ should no longer be populated with zfs libraries and instead they are located after the fix in /lib as expected. [REGRESSION POTENTIAL] There could be other applications that are relying on the location of the libraries and so moving them could break these. However, they should not be using hard coded paths, so this regression is limited to badly coded applications that I am not aware of. The fix upgrade has been tested and double check with the ubuntu kernel team ZFS regression tests without issue. -------------
2017-08-11 16:12:13 Colin Ian King zfs-linux (Ubuntu Xenial): status Triaged In Progress
2017-08-17 23:07:18 Brian Murray zfs-linux (Ubuntu Xenial): status In Progress Fix Committed
2017-08-17 23:07:21 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2017-08-17 23:07:23 Brian Murray bug added subscriber SRU Verification
2017-08-18 08:53:53 Colin Ian King tags verification-done-xenial
2017-09-04 15:49:37 Launchpad Janitor zfs-linux (Ubuntu Xenial): status Fix Committed Fix Released
2017-09-04 15:49:43 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team