** Changed in: zfs-linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1862661

Title:
  zfs-mount.service and others fail inside unpriv containers

Status in zfs-linux package in Ubuntu:
  Incomplete

Bug description:
  1)
  # lsb_release -rd
  Description:  Ubuntu Focal Fossa (development branch)
  Release:      20.04

  2)
  # apt-cache policy zfsutils-linux
  zfsutils-linux:
    Installed: (none)
    Candidate: 0.8.3-1ubuntu3
    Version table:
       0.8.3-1ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

  3) apt install zfsutils-linux installs successfully
  4) apt install zfsutils-linux; echo $? == 0
  installs but apt returns error code due to zfs services failing to start 
successfully

  See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript zfs-mount, action "start" failed.
  ● zfs-mount.service - Mount ZFS filesystems
       Loaded: loaded 
(]8;;file://f2/lib/systemd/system/zfs-mount.service/lib/systemd/system/zfs-mount.service]8;;;
 enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Mon 2020-02-10 16:18:04 UTC; 
23ms ago
         Docs: ]8;;man:zfs(8)man:zfs(8)]8;;
      Process: 1672 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
     Main PID: 1672 (code=exited, status=1/FAILURE)

  Feb 10 16:18:04 f2 systemd[1]: Starting Mount ZFS filesystems...
  Feb 10 16:18:04 f2 zfs[1672]: /dev/zfs and /proc/self/mounts are required.
  Feb 10 16:18:04 f2 zfs[1672]: Try running 'udevadm trigger' and 'mount -t 
proc proc /proc' as root.
  Feb 10 16:18:04 f2 systemd[1]: zfs-mount.service: Main process exited, 
code=exited, status=1/FAILURE
  Feb 10 16:18:04 f2 systemd[1]: zfs-mount.service: Failed with result 
'exit-code'.
  Feb 10 16:18:04 f2 systemd[1]: Failed to start Mount ZFS filesystems.

  I'm inside a LXD unpriv container.  By default, there are no
  permissions to mount proc, modprobe modules, etc.

  E: Sub-process /usr/bin/dpkg returned an error code (1)
  100

  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: zfsutils-linux 0.8.3-1ubuntu3
  ProcVersionSignature: Ubuntu 5.4.0-9.12-generic 5.4.3
  Uname: Linux 5.4.0-9-generic x86_64
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  Date: Mon Feb 10 15:50:42 2020
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=C.UTF-8
  SourcePackage: zfs-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1862661/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to