Daniel P. Berrange writes:
> Libvirt will pre-populate the /dev filesystem with any permitted
> devices, creation is denied by cgroups.
>
> That you have a plain file for /dev/null suggests something in
> your container has deleted the original character device and
> replaced it by a plain file.
On Tue, Feb 25, 2014 at 08:58:43PM +, Nerijus Baliunas wrote:
> Hello,
>
> I created lxc container on F19 with virt-manager and it starts OK. The only
> problem is that sshd does not run complaining "/dev/null is not a character
> device".
> # ls -l /dev/null
> -rw-r--r-- 1 root root 0 2014-02
Hello,
I created lxc container on F19 with virt-manager and it starts OK. The only
problem is that sshd does not run complaining "/dev/null is not a character
device".
# ls -l /dev/null
-rw-r--r-- 1 root root 0 2014-02-25 22:39 /dev/null
/sys/fs/cgroup/devices/machine/VM_NAME.libvirt-lxc/devices.