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

Fajar A. Nugraha list at fajar.net
Mon Apr 6 13:59:17 UTC 2015


On the same container, of course.

-- 
Fajar

On Mon, Apr 6, 2015 at 6:12 PM, CDR <venefax at gmail.com> wrote:
> 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> 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> 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
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list