[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
Right, so this is lxc 1.x vs. lxd. Y'all should be using lxd, not lxc 1.x. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
I can't make it work even after manually installing squashfuse (FYI lxc created by juju deploy cs:ubuntu --to lxc:1 ) root@juju-machine-1-lxc-14:~# uname -a Linux juju-machine-1-lxc-14 4.8.0-34-generic #36~16.04.1-Ubuntu SMP Wed Dec 21 18:55:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@juju-machine-1-lxc-14:~# apt-cache policy squashfuse squashfuse: Installed: 0.1.100-0ubuntu1~ubuntu16.04.1 Candidate: 0.1.100-0ubuntu1~ubuntu16.04.1 Version table: *** 0.1.100-0ubuntu1~ubuntu16.04.1 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 100 /var/lib/dpkg/status root@juju-machine-1-lxc-14:~# snap install hello-world - Mount snap "core" (888) ([start snap-core-888.mount] failed with exit status 1: Job for snap-core-888.mount failed. See "systemctl status snap-core-888.mount" and "journalctl -xe" for details. root@juju-machine-1-lxc-14:~# journalctl -xe Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /system.slice/snap-core-888.mount: Operation not permitted Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Mounting Mount unit for core... -- Subject: Unit snap-core-888.mount has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit snap-core-888.mount has begun starting up. Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /init.scope: Operation not permitted Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /user.slice: Operation not permitted Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /system.slice/dbus.service: Operation not permitted Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /system.slice/ondemand.service: Operation not permitted Feb 08 22:54:21 juju-machine-1-lxc-14 systemd[1]: Failed to reset devices.list on /system.slice/sys-kernel-debug.mount: Operation not permitted [...] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
Per stgraber, squashfuse is currently going through MIR, once it's in main, snapd will be updated to depend on it, making this work out of the box. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
If you ensure your container (and host kernel) are up-to-date and install squashfuse in the container, this works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
Linux 4.8.0-34-generic #36~16.04.1-Ubuntu SMP Wed Dec 21 18:55:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I've created an Ubuntu Xenial LXC on top of an Ubuntu Xenial node and have run: snap install hello-world root@juju-machine-0-lxc-1:~# journalctl -xe Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/mdadm.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/apparmor.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/atd.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty3.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/system-getty.slice: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/cloud-init.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/proc-uptime.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/systemd-logind.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty1.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/proc-swaps.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/dev-mqueue.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/ufw.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/proc-stat.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/resolvconf.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/proc-diskstats.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/ondemand.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/proc-sysrq\x2dtrigger.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty2.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/cloud-config.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/cron.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/run-user-1000.mount: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/cloud-final.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/jujud-unit-prometheus-0.service: Operation not permitted Jan 18 17:23:15 juju-machine-0-lxc-1 systemd[1]: Failed to reset devices.list on /system.slice/iscsid.service: Operation not permitted Jan 18 17:23:16 juju-machine-0-lxc-1 systemd[1]: snap-core-714.mount: Mount process exited, code=exited status=32 Jan 18 17:23:16 juju-machine-0-lxc-1 systemd[1]: Failed to mount Mount unit for core. ** Tags added: canonical-bootstack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1582394] Re: [16.04, lxc] Failed to reset devices.list on ...
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (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/1582394 Title: [16.04, lxc] Failed to reset devices.list on ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1582394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs