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).
This also affects containers running in systemd-nspawn containers
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to makedev in Ubuntu.
https://bugs.launchpad.net/bugs/1675163
Title:
Don't attempt to create devices in LXC cont
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. Mayb
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 b
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 seco
( link https://github.com/arachsys/containers )
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to makedev in Ubuntu.
https://bugs.launchpad.net/bugs/1675163
Title:
Don't attempt to create devices in LXC containers
Status in
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 it
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 sta
** 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: make
** 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: make
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 2017 16:38:22
-0400
--
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
** Changed in: makedev (Ubuntu
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 2017 16:38:22
-0400
**
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 2017 16:38:22
-0400
--
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
Touch seeded pac
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 th
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 th
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 ope
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 op
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 k
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
https
Uploaded all the SRUs.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to makedev in Ubuntu.
https://bugs.launchpad.net/bugs/1675163
Title:
Don't attempt to create devices in LXC containers
Status in makedev package in Ubuntu
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 operat
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 in: makedev (Ubuntu Z
** No longer affects: makedev (Ubuntu Vivid)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to makedev in Ubuntu.
https://bugs.launchpad.net/bugs/1675163
Title:
Don't attempt to create devices in LXC containers
Status in mak
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: mak
26 matches
Mail list logo