Yeah, something similar is happening. If I edit the container.target and add the Wants= instead of creating the .wants directory it works well.
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. Thanks! On Fri, Dec 12, 2014 at 3:43 PM, Colin Guthrie <[email protected]> wrote: > Adam Papai wrote on 11/12/14 09:17: > > Why and what is removing my files from the target directories? Those are > > required to run the lxc-container properly otherwise it'll boot up in a > > dergaded state, without ssh and iptables forwarding and so on. > > > > What did I miss? Is it something change between 215 - 217? I debugged it > > with strace and lxc-start does nothing with those files. > > > > Any help is appreciated! > > Just as a random guess, systemctl preset-all is perhaps now run when > /etc/ is detected as empty as part of the first-boot stuff to initialise > /etc properly... perhaps this is to blame? > > Col > > > -- > > Colin Guthrie > gmane(at)colin.guthr.ie > http://colin.guthr.ie/ > > Day Job: > Tribalogic Limited http://www.tribalogic.net/ > Open Source: > Mageia Contributor http://www.mageia.org/ > PulseAudio Hacker http://www.pulseaudio.org/ > Trac Hacker http://trac.edgewall.org/ > -- Adam PAPAI E-mail: [email protected] Phone: +36 30 33-55-375 Web: http://www.wooh.hu
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
