<tt><font size=2>Andrei Borzenkov <arvidjaar@gmail.com> wrote on
03/12/2015 12:18:15 PM:<br>
<br>
> From: Andrei Borzenkov <arvidjaar@gmail.com></font></tt>
<br><tt><font size=2>> To: Aaron_Wright@selinc.com</font></tt>
<br><tt><font size=2>> Cc: systemd-devel@lists.freedesktop.org</font></tt>
<br><tt><font size=2>> Date: 03/12/2015 12:18 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [systemd-devel] minimal required
units</font></tt>
<br><tt><font size=2>> <br>
> В Thu, 12 Mar 2015 11:09:57 -0700<br>
> Aaron_Wright@selinc.com пишет:<br>
> <br>
> > <br>
> > I feel like there needs to be a list of required units to get
base <br>
> > functionality out of systemd. So that embedded guys like me can
build up a <br>
> > system from scratch, instead of starting from full blown desktop
support <br>
> > and guessing at what can be taken out.<br>
> > <br>
> <br>
> sysinit.target is supposed to get you minimal working system (more
or<br>
> less what you got with single user in the past). It could be considered<br>
> as starting point. Most embedded systems I have seen were running<br>
> something very close to single user anyway.<br>
> </font></tt>
<br>
<br><tt><font size=2>Right now, I'm starting with the basic.target. Gets
me a few more features than sysinit.target, such as timers, which I feel
I can use in my product to replace cron.</font></tt>
<br><tt><font size=2><br>
> > My question is mainly about whether the list of actual required
units is <br>
> > known, or if it is something that requires investigation (digging
through <br>
> > a bunch of code).<br>
> > <br>
> <br>
> Did you see bootup(7)?</font></tt>
<br>
<br><tt><font size=2>Yes, I've read that a few times, and I love the diagram.
It seems to suggest to me that I can use basic.target as a good synchronization
point, and then add my units after that, which makes sense to me.</font></tt>
<br>
<br><tt><font size=2>If I include at least all of the units leading up
to basic.target, would that cover the units required by systemd? Though,
that would include lots of things I don't need, such as cryptsetup.target,
swap.target, mqueue, configfs, debugfs, etc.</font></tt>
<br>
<br><tt><font size=2>I'm concerned because I left out local-fs.target to
begin with, as I don't need systemd to mount anything, but that seemed
to cause systemd to unmount everything other than / and the kernel file
systems. So I got bit by there not being any documentation that says, "local-fs.target
is Required". Unless, I'm missing something.</font></tt>
<br>
<br><tt><font size=2>PS - Thanks for pointing me at information. I'm still
getting up to speed on systemd.</font></tt>