Ah, nice one!
Thanks Stéphane. :-)
Jean-François
Le 16/06/2013 21:24, Stéphane GAUTIER a écrit :
Hi,
No udev is not useful in containers. The problem is that they are
installed by dependencies.
To enable the standard installation without udev installed, we use Fake
Packages with version
Quoting Lars Kellogg-Stedman (l...@oddbit.com):
Perhaps because eth0 exists before systemd and udev start?
doing udevadm trigger --action=add would cause the uevent to be
resent
I thought of that, but running udevadm trigger ... does not appear to
make systemd happy. Units that
Perhaps because eth0 exists before systemd and udev start?
doing udevadm trigger --action=add would cause the uevent to be
resent
I thought of that, but running udevadm trigger ... does not appear to
make systemd happy. Units that depends on the given device will still
fail to start because
I am using the template from here: http://bodhizazen.fivebean.net/LXC/
The system seems pretty safe and does not impose any kind of change,
as changes in the way of using udev.
I did upgrade all the packages and the only problem was with the mountall.
I will try to resolve keeping the udev and
Quoting Guillaume ZITTA (l...@zitta.fr):
Hi,
You could use dpkg-divert utility to rename files :
dpkg-divert --rename $f
It will rename $f to $f.distrib and store this fact to the dpkg database.
After, any update from dpkg will go to the renamed file.
I assume you mean for diverting
On Fri, Jul 30, 2010 at 7:50 PM, Osvaldo Filho arquivos...@gmail.com wrote:
Environment:
===
Host:
Ubuntu 10.04 x64
Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
lxc 0.7.1-1
r...@srvltsp01:/home/lxc/lucid64# cat config.lucid-64
lxc.utsname = lucid64
lxc.tty = 4
lxc.network.type
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libwrap0 tcpd xkb-data console-terminus
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
Ah, here we go. I think you can do:
echo udev hold | dpkg --set-selections
to tell dpkg not to update udev. Can you try that? If that works, then
we should probably have the ubuntu template always do that.
-serge
Quoting Osvaldo Filho (arquivos...@gmail.com):
The problem is with config file, on lxc-create
lxc.cgroup.devices.deny = a
Solved.
That's ok if you don't mind, but not the generally preferred
solution, since without a custom selinux or smack policy you
don't have anything else protecting your
Quoting Osvaldo Filho (arquivos...@gmail.com):
Ok but ...
and the lxc-console problem?
Sorry :) Did you proceed with the 'apt-get remove udev'?
If not, can you get some logs from a lxc-start -n without
backgrounding?
-serge
(sorry for top post... mobiles don't make it easy otherwise)
Yes it would be better if you deny all, then specifically allow any
devices the container needs [to create].
Also, private devpts is already possible... just add newinstance to
devpts mount options; you should also do this for the
r...@srvltsp01:/home/lxc/lucid64# lxc-start -n lucid64
init: lxc pre-start process (2) terminated with status 32
2010/7/30 Serge E. Hallyn serge.hal...@canonical.com:
Quoting Osvaldo Filho (arquivos...@gmail.com):
Ok but ...
and the lxc-console problem?
Sorry :) Did you proceed with the
Quoting Osvaldo Filho (arquivos...@gmail.com):
r...@srvltsp01:/home/lxc/lucid64# lxc-start -n lucid64
init: lxc pre-start process (2) terminated with status 32
strace -f -ooutout lxc-start -n lucid64
--
The Palm PDK
Hi,
You could use dpkg-divert utility to rename files :
dpkg-divert --rename $f
It will rename $f to $f.distrib and store this fact to the dpkg database.
After, any update from dpkg will go to the renamed file.
Regards,
Guillaume
Le 31/07/2010 05:20, Serge E. Hallyn a écrit :
All
14 matches
Mail list logo