Commit bbc873b2 authored by Serge Hallyn's avatar Serge Hallyn
Browse files

mounted-dev.conf: leave consoles alone in a lxc or libvirt container

(LP: #1075717)
parent 1970ee87
......@@ -7,6 +7,7 @@ description "Populate /dev filesystem"
start on mounted MOUNTPOINT=/dev
env MOUNTPOINT=/dev
env container
task
......@@ -18,6 +19,10 @@ script
if [ "${TYPE}" != "devtmpfs" ]
then
cd "${MOUNTPOINT}"
/sbin/MAKEDEV std console fd ppp tun
/sbin/MAKEDEV std fd ppp tun
# lxc and libvirt containers have set up their own console and ttys
if [ -z "$container" -a -z "$LIBVIRT_LXC_UUID" ]; then
/sbin/MAKEDEV console
fi
fi
end script
mountall (2.44ubuntu1) raring; urgency=low
* mounted-dev.conf: leave consoles alone in a lxc or libvirt container
(LP: #1075717)
-- Serge Hallyn <serge.hallyn@ubuntu.com> Wed, 28 Nov 2012 15:26:29 -0600
mountall (2.44) unstable; urgency=low
* conf/{checkfs,checkroot-bootclean,checkroot,mountall-bootclean}.sh.conf,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment