[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2018-08-22 Thread Matthias Klumpp
FWIW, I ran into that issue today as well, and it was really annoying. So I fixed in in Debian in a generic way, so this should work for every container solution out there. It requires systemd-detect-virt (systemd) to be installed prior to installing makedev though (which usually is the case).

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2018-04-06 Thread Clint Armstrong
This also affects containers running in systemd-nspawn containers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1675163 Title: Don't attempt to create devices in LXC containers To manage

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-20 Thread Andre Schuurman
Not detecting arachsys containers is a high impact bug. My production servers running on Ubuntu 16.04 can no longer be updated anymore as apt is stuck on applying the makedev package which of course always fails. I understand it is cumbersome to add all possible container types to the script.

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-18 Thread Joel Garboden
I have "container=zone" on LX-Ubuntu 16.04 on Joyent's Triton private cloud root@ops-b3-jenkins01:~# apt-get install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following held packages will be changed: makedev The following packages will

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-07 Thread Britlion
EH uses Arachsys contain for their containers - this is based on the same kernel cgroups technology as LXC, but aims to be more lightweight. If it's a bug not to detect LXC, it's logically a bug not to detect other container systems that work the same way, and makedev should include this as a

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-07 Thread Britlion
( link https://github.com/arachsys/containers ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1675163 Title: Don't attempt to create devices in LXC containers To manage notifications about this

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-04 Thread Andy Buchanan
I've found the issue. My container is not LXC, it's supplied by elastichosts.com, a cloud provider, and must be based on some other containerization technology. /proc/1/environ does not contain container=lxc as checked for by the postinit script in makedev, but it does have container=contain in

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-04-04 Thread Andy Buchanan
The fix doesn't appear to be working for me on xenial. Package being installed is the one shown above as having the fix, but I still get this error: user@ubuntu:~$ sudo apt install makedev sudo: unable to resolve host ubuntu Reading package lists... Done Building dependency tree Reading

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread Stéphane Graber
** Changed in: makedev (Ubuntu Precise) Assignee: rahmadani (rahmadani) => (unassigned) ** Changed in: makedev (Ubuntu Trusty) Assignee: rahmadani (rahmadani) => (unassigned) ** Changed in: makedev (Ubuntu Xenial) Assignee: rahmadani (rahmadani) => (unassigned) ** Changed in:

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread rahmadani
** Changed in: makedev (Ubuntu Precise) Assignee: (unassigned) => rahmadani (rahmadani) ** Changed in: makedev (Ubuntu Trusty) Assignee: (unassigned) => rahmadani (rahmadani) ** Changed in: makedev (Ubuntu Xenial) Assignee: (unassigned) => rahmadani (rahmadani) ** Changed in:

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package makedev - 2.3.1-93ubuntu2~ubuntu16.04.1 --- makedev (2.3.1-93ubuntu2~ubuntu16.04.1) xenial; urgency=medium * Don't attempt to create /dev devices when inside a container. (LP: #1675163) -- Stéphane Graber Wed, 22 Mar

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package makedev - 2.3.1-89ubuntu3 --- makedev (2.3.1-89ubuntu3) precise; urgency=medium * Don't attempt to create /dev devices when inside a container. (LP: #1675163) -- Stéphane Graber Fri, 24 Mar 2017 02:12:05 -0400 **

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package makedev - 2.3.1-93ubuntu2~ubuntu14.04.1 --- makedev (2.3.1-93ubuntu2~ubuntu14.04.1) trusty; urgency=medium * Don't attempt to create /dev devices when inside a container. (LP: #1675163) -- Stéphane Graber Wed, 22 Mar

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package makedev - 2.3.1-93ubuntu2~ubuntu16.10.1 --- makedev (2.3.1-93ubuntu2~ubuntu16.10.1) yakkety; urgency=medium * Don't attempt to create /dev devices when inside a container. (LP: #1675163) -- Stéphane Graber Wed, 22 Mar

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
root@makedev-16-04:~# apt install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: makedev 1 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Need to get 24.4 kB of archives. After this

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
Marking the SRU as verification-done. I've also confirmed that the SRU when installed outside of a container doesn't skip the device creation code and so doesn't regress it's usual behavior in that regard. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
root@makedev-17-04:~# apt install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: makedev 0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded. Need to get 24.4 kB of archives. After

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
root@makedev-16-10:~# apt install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: makedev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 24.4 kB of archives. After

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
root@makedev-14-04:~# apt install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: makedev 1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 24.5 kB of archives. After this

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-28 Thread Stéphane Graber
root@makedev-12-04:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: makedev 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 27.7

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-27 Thread Robie Basak
Hello Stéphane, or anyone else affected, Accepted makedev into precise-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedev/2.3.1-89ubuntu3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-24 Thread Stéphane Graber
root@zesty:~# apt install makedev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: makedev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 24.4 kB of archives. After this

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-24 Thread Stéphane Graber
Uploaded all the SRUs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1675163 Title: Don't attempt to create devices in LXC containers To manage notifications about this bug go to:

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-23 Thread Launchpad Bug Tracker
This bug was fixed in the package makedev - 2.3.1-93ubuntu2 --- makedev (2.3.1-93ubuntu2) zesty; urgency=medium * Don't attempt to create /dev devices when inside a container. (LP: #1675163) -- Stéphane Graber Wed, 22 Mar 2017 16:38:22 -0400 ** Changed

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-22 Thread Stéphane Graber
** No longer affects: makedev (Ubuntu Vivid) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1675163 Title: Don't attempt to create devices in LXC containers To manage notifications about this bug

[Bug 1675163] Re: Don't attempt to create devices in LXC containers

2017-03-22 Thread Dustin Kirkland 
This needs to be urgently fixed for 12.04, as this bug is blocking upgrades of 12.04 to 14.04 succeeding. ** Also affects: makedev (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: makedev (Ubuntu Vivid) Importance: Undecided Status: New ** Also affects: