[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-20 Thread Launchpad Bug Tracker
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-14 Thread Colin Ian King
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:

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-12 Thread Richard Laager
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:

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-12 Thread Colin Ian King
** 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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-05 Thread Colin Ian King
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-05 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-05 Thread Colin Ian King
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:

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-05 Thread Łukasz Zemczak
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.

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-03 Thread Colin Ian King
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.

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Fabian Grünbichler
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Richard Laager
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Colin Ian King
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,

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Colin Ian King
** 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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Launchpad Bug Tracker
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Colin Ian King
** 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) =>

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-01 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-01 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-01 Thread Colin Ian King
@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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-02-28 Thread Colin Ian King
** 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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-02-13 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-01-23 Thread Scott Emmons
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

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-01-23 Thread Launchpad Bug Tracker
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: