This bug was fixed in the package zfs-linux - 0.6.5.11-1ubuntu3.2
---
zfs-linux (0.6.5.11-1ubuntu3.2) artful; urgency=medium
* Add new module loading systemd service (LP: #1741081)
- loads zfs module unconditionally, and make the
zfs-import-cache.service and zfs-import-sca
Richard, thanks for testing.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
zfs-import-cache.service fails on startup
To manage notifications about this bug go to:
https://bugs.launch
I updated to the version from -proposed and rebooted. I verified that no
units failed on startup.
** Tags added: verification-done-artful
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
** Changed in: zfs-linux (Ubuntu Artful)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
zfs-import-cache.service fails on startup
To manage
FYI, I've uploaded the same fix to Artful for the SRU
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
zfs-import-cache.service fails on startup
To manage notifications about this bug g
I can confirm that with the latest bionic packages (zfsutils-linux
0.7.5-1ubuntu4) all units start successfully for the case where no ZFS
pools are present. This is exactly as I would expect.
I can't really speak to the discussion about tainted kernel. If I didn't
want ZFS, I wouldn't install zfsu
Yes, please reject the artful SRU
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
zfs-import-cache.service fails on startup
To manage notifications about this bug go to:
https://bugs.l
Should I reject the artful SRU in that case? The .service file indeed
looks like it might need some changes, I would prefer the latest bionic
version to be SRUed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.n
I've pushed a new release for Bionic to pick up the changes as suggested
by Richard in comment #11. If that is a reasonable working solution I'll
pick these changes up for an Artful SRU.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
IMHO this is completely backwards, see
https://github.com/zfsonlinux/zfs/pull/7259 for an upstream discussion
similar to this.
systemd service units are not the proper place to load modules - there
is {/lib,/etc}/modules-load.d/ which gets parsed by systemd-load-
modules.service early in the boot
zfs-load-module.service seems to have a Requires on itself? That has to
be wrong.
Also, zfs-import-cache.service and zfs-import-scan.service need an After
=zfs-load-module.service. They're not getting one automatically because
of DefaultDependencies=no (which seems appropriate here, so leave that
OK, I retested with 0.7.5-1ubuntu3 and it's almost there but zfs-
mount.service still runs before the zfs kernel module is loaded:
$ systemctl --failed
UNIT LOAD ACTIVE SUBDESCRIPTION
● zfs-mount.service loaded failed failed Mount ZFS filesystems
$ sudo journalctl -u zfs-moun
Great, thanks Colin! We will test this on bionic very soon and will
follow up to confirm.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
zfs-import-cache.service fails on startup
To m
Note: I've put a copy of the Artful fix in the following PPA for test
purposes, it can be installed using:
sudo add-apt-repository ppa:colin-king/zfs-artful-sru-1741081
sudo apt-get update
sudo apt-get dist-upgrade
--
You received this bug notification because you are a member of Ubuntu
Bugs, wh
** Description changed:
+ == SRU Request, Artful ==
+
+ Enable ZFS module to be loaded without the broken ubuntu-load-zfs-
+ unconditionally.patch.
+
+ == Fix ==
+
+ Add a new zfs-load-module.service script that modprobes the ZFS module
+ and remove any hard coded module loading from zfs-import
This bug was fixed in the package zfs-linux - 0.7.5-1ubuntu3
---
zfs-linux (0.7.5-1ubuntu3) bionic; urgency=medium
* Add new module loading systemd service (LP: #1741081)
- loads zfs module unconditionally, and make the
zfs-import-cache.service and zfs-import-scan.service
** Also affects: zfs-linux (Ubuntu Bionic)
Importance: High
Assignee: Colin Ian King (colin-king)
Status: In Progress
** Also affects: zfs-linux (Ubuntu Artful)
Importance: Undecided
Status: New
** Changed in: zfs-linux (Ubuntu Artful)
Assignee: (unassigned) => Colin
I found the xenial issue I was thinking of [1] but I'd be surprised if
that particular case regressed (it had to do with use of /etc/mtab). For
completeness, I'll mention it here anyway.
[1] https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1607920
--
You received this bug notification be
Note that for bionic as of this week the behavior is now different. This
particular problem doesn't surface for zfs-import-cache.service (because
the ConditionPathExists expression is back in the unit).
It's not all good news, however, as that one failed unit has been
replaced with:
$ systemctl -
@Richard,
thanks for reporting this issue. Re: "I have tested this manually and it
works. I can submit a package patch if this is the desired solution."
..please attach a patch and I'll add it to the package. Just to
clarify, which releases does this affect?
--
You received this bug notificati
** Changed in: zfs-linux (Ubuntu)
Status: Confirmed => In Progress
** Changed in: zfs-linux (Ubuntu)
Importance: Undecided => High
** Changed in: zfs-linux (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
--
You received this bug notification because you are a membe
Let me know what I can do to help move this forward. The ubuntu-load-
zfs-unconditionally patch was not a great solution as it results in
systems that install zfsutils-linux to come up in a failed state when
there are no ZFS pools present:
$ systemctl --failed
UNIT LOAD ACT
Confirmed to also affect bionic:
$ sudo journalctl -u zfs-import-cache.service
-- Logs begin at Tue 2018-01-23 17:46:55 UTC, end at Tue 2018-01-23 17:49:18
UTC. --
Jan 23 17:46:58 ubuntu systemd[1]: Starting Import ZFS pools by cache file...
Jan 23 17:46:59 ubuntu zpool[640]: failed to open cache
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: zfs-linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081
Title:
24 matches
Mail list logo