Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45924 - /tmp/.X11-unix/X0 is removed from host after lxc with Ubuntu is started

Attached to Project: Arch Linux
Opened by Adrian Czerniak (Abaddon) - Saturday, 08 August 2015, 16:07 GMT
Last edited by Jan de Groot (JGC) - Sunday, 09 August 2015, 08:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
/tmp/.X11-unix/X0 is removed from host after lxc with Ubuntu is started. If container with archlinux is started, there is no issue.

Additional info:
* lxc 1:1.1.2-2

Container's configuration file:

lxc.network.type = empty
lxc.rootfs = /var/lib/lxc/ring/rootfs
lxc.utsname = ring
lxc.arch = amd64
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.network.type = macvlan
lxc.network.macvlan.mode = private
lxc.network.flags = up
lxc.network.link = mvlan0
lxc.network.name = eth0
lxc.network.hwaddr = 00:16:3e:41:11:66
lxc.network.mtu = 1500
lxc.network.flags = up
lxc.utsname = ring
lxc.arch = x86_64
lxc.kmsg = 0
lxc.pts = 1024
lxc.cgroup.devices.allow = c 195:* rwm
lxc.mount.entry = tmpfs tmp tmpfs defaults
lxc.mount.entry = /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry = /dev/snd dev/snd none bind,optional,create=dir
lxc.mount.entry = /tmp/.X11-unix tmp/.X11-unix none bind,optional,create=dir
lxc.mount.entry = /dev/video0 dev/video0 none bind,optional,create=file
lxc.mount.entry = /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry = /dev/nvidia0 dev/nvidia0 none bind,optional,create=file


Steps to reproduce:
Install Ubuntu Vivid (I haven't checked any other release) inside lxc container using /usr/share/lxc/templates/lxc-ubuntu and start it on a system running Xorg.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 09 August 2015, 08:58 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Sunday, 09 August 2015, 08:57 GMT
Ubuntu clears /tmp on bootup if I'm not mistaken, so when you bind mount it inside the container it is cleared from the host.

Loading...