[lxc-users] Container cannot write to /var/run

CDR venefax at gmail.com
Mon Apr 6 11:12:37 UTC 2015


A symlink tu /run in the host ot in the same container?
Philip

On Monday, April 6, 2015, Fajar A. Nugraha <list at fajar.net> wrote:

> On Sun, Apr 5, 2015 at 6:29 AM, Bostjan Skufca <bostjan at a2o.si
> <javascript:;>> wrote:
> > Is systemd now supported as LXC guest's init system?
>
> Short answer: not yet
>
> It's work in progress. Among others, systemd in container needs lxcfs,
> and one of the issues you'd find is
> https://github.com/lxc/lxcfs/issues/17 , which is just closed today,
> so chances are most people don't have that fix yet.
>
> > On 4 April 2015 at 23:31, CDR <venefax at gmail.com <javascript:;>> wrote:
> >>
> >> My Fedora 20 container, on a Ubuntu 14.04 server, cannot write to
> >> /var/run. Is there a secret reason that I use to fix it?
> >> Other containers with non-systemd OSs can write just fine to /var/run.
>
>
> My "fix" for centos7 is pretty simple: remove /var/run directory on
> the container rootfs, and add a symlink to /run
>
> --
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org <javascript:;>
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150406/7a736d4a/attachment.html>


More information about the lxc-users mailing list