Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Lennart Poettering
On Mon, 25.08.14 22:13, Luca Bruno (lethalma...@gmail.com) wrote: > > As you already mentioned, you'd have to make sure you manage to pass > > through the state correctly. > > > > > Thanks. Is there any docs I can read about this or just read the code? It > appears that systemd dumps the state int

Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Lennart Poettering
On Mon, 25.08.14 21:04, Luca Bruno (lethalma...@gmail.com) wrote: > Thank you all for the replies. After the first answers I've ported the > initrd to systemd (only the basic stuff, no luks, lvm, etc.) and works very > fine. > Except one thing, that I hoped to find in dracut but does not seem to d

Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Luca Bruno
> > > As you already mentioned, you'd have to make sure you manage to pass > through the state correctly. > > Thanks. Is there any docs I can read about this or just read the code? It appears that systemd dumps the state into a file, and afterwards it's passed to the new systemd instance. _

Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Tom Gundersen
On Mon, Aug 25, 2014 at 9:04 PM, Luca Bruno wrote: > Thank you all for the replies. After the first answers I've ported the > initrd to systemd (only the basic stuff, no luks, lvm, etc.) and works very > fine. > Except one thing, that I hoped to find in dracut but does not seem to do > anything sp

Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Luca Bruno
Thank you all for the replies. After the first answers I've ported the initrd to systemd (only the basic stuff, no luks, lvm, etc.) and works very fine. Except one thing, that I hoped to find in dracut but does not seem to do anything special about it. It just goes through switch-root it seems. As

Re: [systemd-devel] About systemd in initrd support

2014-08-25 Thread Lennart Poettering
On Sat, 23.08.14 13:46, Luca Bruno (lethalma...@gmail.com) wrote: > I'm going to do an experiment with NixOS: replace the whole current initrd > process made of scripts and hooks with systemd. > > Before doing any work however I'd like to hear whether systemd in initrd is > still wanted in the fu

Re: [systemd-devel] About systemd in initrd support

2014-08-23 Thread Tobias Geerinckx-Rice
On 23 August 2014 13:46, Luca Bruno wrote: > I'm going to do an experiment with NixOS: replace the whole current initrd > process made of scripts and hooks with systemd. What a coincidence... I just switched to NixOS last week, moved some file systems around, and promptly broke my boot. Badly. T

Re: [systemd-devel] About systemd in initrd support

2014-08-23 Thread Simon Peeters
Hej, 2014-08-23 13:46 GMT+02:00 Luca Bruno : > I'm going to do an experiment with NixOS: replace the whole current initrd > process made of scripts and hooks with systemd. > > Before doing any work however I'd like to hear whether systemd in initrd is > still wanted in the future, or there's any p

[systemd-devel] About systemd in initrd support

2014-08-23 Thread Luca Bruno
I'm going to do an experiment with NixOS: replace the whole current initrd process made of scripts and hooks with systemd. Before doing any work however I'd like to hear whether systemd in initrd is still wanted in the future, or there's any possible idea about dropping this support. Also, apart