A symlink tu /run in the host ot in the same container?<div>Philip<br><br>On Monday, April 6, 2015, Fajar A. Nugraha <<a href="mailto:list@fajar.net">list@fajar.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Apr 5, 2015 at 6:29 AM, Bostjan Skufca <<a href="javascript:;" onclick="_e(event, 'cvml', 'bostjan@a2o.si')">bostjan@a2o.si</a>> wrote:<br>
> Is systemd now supported as LXC guest's init system?<br>
<br>
Short answer: not yet<br>
<br>
It's work in progress. Among others, systemd in container needs lxcfs,<br>
and one of the issues you'd find is<br>
<a href="https://github.com/lxc/lxcfs/issues/17" target="_blank">https://github.com/lxc/lxcfs/issues/17</a> , which is just closed today,<br>
so chances are most people don't have that fix yet.<br>
<br>
> On 4 April 2015 at 23:31, CDR <<a href="javascript:;" onclick="_e(event, 'cvml', 'venefax@gmail.com')">venefax@gmail.com</a>> wrote:<br>
>><br>
>> My Fedora 20 container, on a Ubuntu 14.04 server, cannot write to<br>
>> /var/run. Is there a secret reason that I use to fix it?<br>
>> Other containers with non-systemd OSs can write just fine to /var/run.<br>
<br>
<br>
My "fix" for centos7 is pretty simple: remove /var/run directory on<br>
the container rootfs, and add a symlink to /run<br>
<br>
--<br>
Fajar<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'lxc-users@lists.linuxcontainers.org')">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div>