<tt><font size=2>Andrei Borzenkov <arvidjaar@gmail.com> wrote on
03/12/2015 10:38:19 AM:<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 10:38 AM</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 09:42:25 -0700<br>
> Aaron_Wright@selinc.com пишет:<br>
> <br>
> > Peter Sztan <sztanpet@gmail.com> wrote on 03/12/2015 09:33:38
AM:<br>
> > <br>
> > > From: Peter Sztan <sztanpet@gmail.com><br>
> > > To: Aaron_Wright@selinc.com<br>
> > > Cc: systemd Mailing List <systemd-devel@lists.freedesktop.org><br>
> > > Date: 03/12/2015 09:33 AM<br>
> > > Subject: Re: [systemd-devel] minimal required units<br>
> > > <br>
> > > Sorry for the noise, I have now read that you have already
seen it.<br>
> > > <br>
> > <br>
> > Just for illustration purposes, here are few units listed in
<br>
> > systemd.special, that I don't feel like I need, but which I'm
left <br>
> > wondering if systemd needs them:<br>
> > <br>
> > cryptsetup.target<br>
> > display-manager.service<br>
> > getty.target<br>
> > graphical.target<br>
> > hibernate.target<br>
> > hybrid-sleep.target<br>
> > halt.target<br>
> > initrd-fs.target<br>
> > kbrequest.target<br>
> > multi-user.target<br>
> > network-online.target<br>
> > poweroff.target<br>
> > remote-fs.target<br>
> > initrd-root-fs.target<br>
> > runlevel*.target<br>
> > sigpwr.target<br>
> > sleep.target<br>
> > suspend.target<br>
> > swap.target<br>
> > <br>
> <br>
> targets serve as common reference for collection of other units<br>
> (services). They do not do anything by themselves, there is absolutely<br>
> no reason to remove them. Some of them (at least those mentioned in<br>
> systemd.special) do have special meaning and removing them will<br>
> actually break functionality.</font></tt>
<br>
<br><tt><font size=2>In my embedded environment I have to justify everything
on the product. Given that the product doesn't have a monitor, I find that
targets such as graphical.target or display-manager.target for example
are hard to justify.</font></tt>
<br>
<br><tt><font size=2>I would rather not just throw the whole systemd-kitchen-sink
at the product and call it a day. It seems obvious that not all of the
units referenced in systemd.special are actually required. Some of them
don't even exist with my configuration (dbus.service, dbus.socket, runlevel*.target,
etc).</font></tt>
<br>
<br><tt><font size=2>I feel like there needs to be a list of required units
to get base functionality out of systemd. So that embedded guys like me
can build up a system from scratch, instead of starting from full blown
desktop support and guessing at what can be taken out.</font></tt>
<br>
<br><tt><font size=2>My question is mainly about whether the list of actual
required units is known, or if it is something that requires investigation
(digging through a bunch of code).<br>
</font></tt>