Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Lennart Poettering
On Wed, 20.04.11 16:55, Michael Olbrich ([email protected]) wrote: > > On Wed, Apr 20, 2011 at 04:01:05PM +0200, Lennart Poettering wrote: > > On Wed, 20.04.11 11:24, Michael Olbrich ([email protected]) wrote: > > > > > > If this is for SSH keys and stuff you might even want to spl

Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Michael Olbrich
On Wed, Apr 20, 2011 at 04:01:05PM +0200, Lennart Poettering wrote: > On Wed, 20.04.11 11:24, Michael Olbrich ([email protected]) wrote: > > > > If this is for SSH keys and stuff you might even want to split this up > > > into several units and just look for the sshd key files > > > directl

Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Lennart Poettering
On Wed, 20.04.11 11:24, Michael Olbrich ([email protected]) wrote: > > If this is for SSH keys and stuff you might even want to split this up > > into several units and just look for the sshd key files > > directly. i.e. stick in your ssh-keygen.service something like this: > > > > Conditi

Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Lennart Poettering
On Wed, 20.04.11 10:49, Michael Olbrich ([email protected]) wrote: > > The logger service needs the kmsg-syslogd service around? Did you remove > > that from your build? > > I found the problem: > systemd-logger.service has "After=syslog.socket" but no "Require". I with a > multi-user or g

Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Michael Olbrich
On Wed, Apr 20, 2011 at 01:21:06AM +0200, Lennart Poettering wrote: > On Sun, 17.04.11 10:33, Michael Olbrich ([email protected]) wrote: > > I'm trying to migrate some stuff to systemd, but I have some problems > > getting it right. > > The scenario: > > I'm cross-building root file systems.

Re: [systemd-devel] howto migrate some things to systemd

2011-04-20 Thread Michael Olbrich
On Wed, Apr 20, 2011 at 01:22:32AM +0200, Lennart Poettering wrote: > On Tue, 19.04.11 13:52, Michael Olbrich ([email protected]) wrote: > > On Tue, Apr 19, 2011 at 12:15:01PM +0200, Mirco Tischler wrote: > > Ok, now I'm starting with "systemd.unit=setup.service". There are some > > issues h

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Lennart Poettering
On Tue, 19.04.11 13:52, Michael Olbrich ([email protected]) wrote: > > On Tue, Apr 19, 2011 at 12:15:01PM +0200, Mirco Tischler wrote: > > 2011/4/19 Michael Olbrich : > > > Hi, > > > > > > On Tue, Apr 19, 2011 at 09:02:47AM +0200, Robert Schwebel wrote: > > >> On Mon, Apr 18, 2011 at 11:57

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Lennart Poettering
On Sun, 17.04.11 10:33, Michael Olbrich ([email protected]) wrote: > Hi, > > I'm trying to migrate some stuff to systemd, but I have some problems > getting it right. > The scenario: > I'm cross-building root file systems. I try to do as much as possible > on the host system, but there is

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Lennart Poettering
On Mon, 18.04.11 23:57, Mirco Tischler ([email protected]) wrote: > > I'm trying to migrate some stuff to systemd, but I have some problems > > getting it right. > > The scenario: > > I'm cross-building root file systems. I try to do as much as possible > > on the host system, but there is some stuff t

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Michael Olbrich
On Tue, Apr 19, 2011 at 12:15:01PM +0200, Mirco Tischler wrote: > 2011/4/19 Michael Olbrich : > > Hi, > > > > On Tue, Apr 19, 2011 at 09:02:47AM +0200, Robert Schwebel wrote: > >> On Mon, Apr 18, 2011 at 11:57:46PM +0200, Mirco Tischler wrote: > >> > How about pointing the default.target symlink at

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Mirco Tischler
2011/4/19 Michael Olbrich : > Hi, > > On Tue, Apr 19, 2011 at 09:02:47AM +0200, Robert Schwebel wrote: >> On Mon, Apr 18, 2011 at 11:57:46PM +0200, Mirco Tischler wrote: >> > How about pointing the default.target symlink at your custom unit that >> > pulls in only a very basic system and executes y

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Michael Olbrich
Hi, On Tue, Apr 19, 2011 at 09:02:47AM +0200, Robert Schwebel wrote: > On Mon, Apr 18, 2011 at 11:57:46PM +0200, Mirco Tischler wrote: > > How about pointing the default.target symlink at your custom unit that > > pulls in only a very basic system and executes your custom setup > > script. > > Th

Re: [systemd-devel] howto migrate some things to systemd

2011-04-19 Thread Robert Schwebel
Mirco, On Mon, Apr 18, 2011 at 11:57:46PM +0200, Mirco Tischler wrote: > How about pointing the default.target symlink at your custom unit that > pulls in only a very basic system and executes your custom setup > script. That sounds pretty good, we'll try that! rsc -- Pengutronix e.K.

Re: [systemd-devel] howto migrate some things to systemd

2011-04-18 Thread Mirco Tischler
Hi 2011/4/17 Michael Olbrich : > Hi, > > I'm trying to migrate some stuff to systemd, but I have some problems > getting it right. > The scenario: > I'm cross-building root file systems. I try to do as much as possible > on the host system, but there is some stuff that needs to run on the target >

Re: [systemd-devel] howto migrate some things to systemd

2011-04-18 Thread Robert Schwebel
On Sat, Apr 16, 2011 at 08:41:07PM -1200, Kajikawa Jeremy wrote: > I believe you can pre-set the systemd configuration for the target > system, > > build and install systemd as you would anything else... > > but configure systemd to run with a read-only fs and deliberately > "mount -t tmpfs -o si

Re: [systemd-devel] howto migrate some things to systemd

2011-04-17 Thread Kajikawa Jeremy
I believe you can pre-set the systemd configuration for the target system, build and install systemd as you would anything else... but configure systemd to run with a read-only fs and deliberately "mount -t tmpfs -o size=128MB" to provide some read-write space is what I would think to do...

[systemd-devel] howto migrate some things to systemd

2011-04-17 Thread Michael Olbrich
Hi, I'm trying to migrate some stuff to systemd, but I have some problems getting it right. The scenario: I'm cross-building root file systems. I try to do as much as possible on the host system, but there is some stuff that needs to run on the target when booting for the first time. I'm not sure