Skip to content

devfs inside lxd container doesn't mount /dev/shm #272

@palica

Description

@palica

I am mounting /dev/shm manually via profile with:

raw.lxc: lxc.mount.entry = none dev/shm tmpfs rw,nosuid,nodev,noexec,create=dir

as a workaround inside containers, because /etc/init.d/devfs is -lxc keyworded.

When removing the -lxc I can boot the container without any issues and also the /dev/shm gets mounted correctly. I don't know what is the reason not to run devfs inside container. Can this be considered and possibly fixed?

There is no difference between mounts in a container using profile and container using modified devfs with removed -lxc keyword.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions