<div dir="ltr">Yeah, something similar is happening. If I edit the container.target and add the Wants= instead of creating the .wants directory it works well.<div><br></div><div>I think the preset-all is "syncing" the config with the .wants directory as well and removes all links which are not defined in the config. So editing the unit file solved my issue.</div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 12, 2014 at 3:43 PM, Colin Guthrie <span dir="ltr"><<a href="mailto:gmane@colin.guthr.ie" target="_blank">gmane@colin.guthr.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adam Papai wrote on 11/12/14 09:17:<br>
<span class="">> Why and what is removing my files from the target directories? Those are<br>
> required to run the lxc-container properly otherwise it'll boot up in a<br>
> dergaded state, without ssh and iptables forwarding and so on.<br>
><br>
> What did I miss? Is it something change between 215 - 217? I debugged it<br>
> with strace and lxc-start does nothing with those files.<br>
><br>
> Any help is appreciated!<br>
<br>
</span>Just as a random guess, systemctl preset-all is perhaps now run when<br>
/etc/ is detected as empty as part of the first-boot stuff to initialise<br>
/etc properly... perhaps this is to blame?<br>
<br>
Col<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
Tribalogic Limited <a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a><br>
Open Source:<br>
Mageia Contributor <a href="http://www.mageia.org/" target="_blank">http://www.mageia.org/</a><br>
PulseAudio Hacker <a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a><br>
Trac Hacker <a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Adam PAPAI<div>E-mail: <a href="mailto:wooh@wooh.hu" target="_blank">wooh@wooh.hu</a></div><div>Phone: +36 30 33-55-375</div><div>Web: <a href="http://www.wooh.hu" target="_blank">http://www.wooh.hu</a></div></div></div>
</div>