On Monday, June 15, 2015, Lennart Poettering <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 15.06.15 13:22, Matthew Karas (<a href="javascript:;" onclick="_e(event, 'cvml', 'mkarascybi@gmail.com')">mkarascybi@gmail.com</a>) wrote:<br>
<br>
> Yes - that seems to have let me set the password. Now I can get<br>
> started learning about this.<br>
><br>
> Thanks a lot!<br>
><br>
> Though it does return an error about selinux when I start the shell to<br>
> set the password<br>
><br>
> $ sudo systemd-nspawn -bD /srv/srv1<br>
> Spawning container srv1 on /srv/srv1.<br>
> Press ^] three times within 1s to kill container.<br>
> Failed to create directory /srv/srv1//sys/fs/selinux: Read-only file system<br>
> Failed to create directory /srv/srv1//sys/fs/selinux: Read-only file system<br>
<br>
Hmm, weird. Is /srv/srv1 read-only or so?<br>
<br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'systemd-devel@lists.freedesktop.org')">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote><div><br></div><div><br></div><div>On a somewhat related topic, are many people making use of nspawn containers in production or test environments? I was a little surprised by the issues I had when trying them out with f21. f22 seems smoother but still required the audit=0 and I think I had to disable selinux to set the password but I was trying for a while with a blank password so...</div><div><br></div>But yeah, was wondering if there were known users of nspawn containers that discussed their use cases.<div><br></div>Chris