Definition /dev/shm prevent LXC container from start: "Failed to access '(null)': Bad address"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi all

We use libvirt 1.2.x and 1.3.x with next filesystem definition in config:
<filesystem type='ram' accessmode='passthrough'>
  <source usage='524288' units='KiB'/>
  <target dir='/dev/shm'/>
</filesystem>

But libvirt 2.1.0 with same config report error:
Failed to access '(null)': Bad address

Debug level 1 show:
2016-08-11 10:14:56.661+0000: 1: debug : lxcContainerMountAllFS:1618 :
Mounting all non-root filesystems
2016-08-11 10:14:56.661+0000: 1: debug : lxcContainerMountAllFS:1625 :
Mounting '(null)' -> '/dev/shm'
2016-08-11 10:14:56.661+0000: 1: error :
lxcContainerResolveSymlinks:629 : Failed to access '(null)': Bad
address
2016-08-11 10:14:56.661+0000: 1: debug : virFileClose:102 : Closed fd 15
2016-08-11 10:14:56.661+0000: 1: debug : virFileClose:102 : Closed fd 10
2016-08-11 10:14:56.661+0000: 1: debug : virFileClose:102 : Closed fd 12
2016-08-11 10:14:56.661+0000: 1: debug : lxcContainerChild:2271 :
Tearing down container
Failure in libvirt_lxc startup: Failed to access '(null)': Bad address

Someone use libvirt 2.x with /dev/shm device ?
Probably need change config and add some definitions to /dev/shm ?

b.r.
 Maxim Kozin

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux