← Back to team overview

touch-packages team mailing list archive

[Bug 1431523] Re: zfs not automounting after upgrading from upstart to systemd

 

Just ran into this exact same issuse.  It looks like the files DO NOT
match what's in git at all.  (In fact, all of the are the same 6-byte
file).

I manually fixed my system by creating files in /etc/systemd/system
based off of the templates here:

https://github.com/zfsonlinux/zfs/tree/master/etc/systemd/system

(Create a file zfs-target based of zfs-target.in, zfs-share-service
based off of zfs-share-service.in, and so on.  You'll need to manually
replace the variables that would normally be replaced by the build
process -- @bindir@ becomes /bin and so forth.)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1431523

Title:
  zfs not automounting after upgrading from upstart to systemd

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  I am testdriving systemd on Ubuntu 15.04 with zfs as root filesystem.
  The system works great, however it seems the systemd initscripts are
  not installed on my system, leaving one zpool exported and a few
  filesystems unmounted at boot. This worked fine with upstart.

  When looking at the dkms folders I can see the scripts were pulled correctly from git (at least I assume that's why the're there):
  ll /var/lib/dkms/zfs/0.6.3.0/build/etc/systemd/system
  total 58
  drwxr-xr-x 2 root root 11 mrt 10 22:32 ./
  drwxr-xr-x 3 root root  5 mrt 10 22:32 ../
  -rw-r--r-- 1 root root  6 mrt 10 22:30 50-zfs.preset.in
  -rw-r--r-- 1 root root  6 mrt 10 22:32 Makefile
  -rw-r--r-- 1 root root  6 mrt 10 22:30 Makefile.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zed.service.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zfs-import-cache.service.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zfs-import-scan.service.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zfs-mount.service.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zfs-share.service.in
  -rw-r--r-- 1 root root  6 mrt 10 22:30 zfs.target.in

  I can test things to help out, however I have no developer skills
  (automake/make/autoconfigure/...). E.g. I have no idea if I could
  deploy those files manually to test.

  edit: logged zfsonlinux: https://github.com/zfsonlinux/zfs/issues/3173

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431523/+subscriptions


References