]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-init: continue even if we fail to mount /dev/mqueue
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 12 Jun 2013 09:18:04 +0000 (11:18 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 12 Jun 2013 13:06:28 +0000 (08:06 -0500)
commit5d4d3ebb13705d1e102429c75fc06932f81816dd
tree8208f8acde9608ae0e4e89a5d5bfd980c037d884
parent71b0fed669a088675c1344ed68b250e87414c998
lxc-init: continue even if we fail to mount /dev/mqueue

The 'lxc-init' (a lightweight init process used by lxc-execute in place
of upstart etc) tries to mount /dev/mqueue during startup. If that fails
(for instance due to missing support for mqueue in kernel) then it
aborts execution and returns -1. This is unreasonable as very few
applications actually need /dev/mqueue.

This similar to what we do with /dev/shm.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/utils.c