[systemd-devel] minimal required units
Aaron_Wright at selinc.com
Aaron_Wright at selinc.com
Thu Mar 12 09:42:25 PDT 2015
Peter Sztan <sztanpet at gmail.com> wrote on 03/12/2015 09:33:38 AM:
> From: Peter Sztan <sztanpet at gmail.com>
> To: Aaron_Wright at selinc.com
> Cc: systemd Mailing List <systemd-devel at lists.freedesktop.org>
> Date: 03/12/2015 09:33 AM
> Subject: Re: [systemd-devel] minimal required units
> Sorry for the noise, I have now read that you have already seen it.
Just for illustration purposes, here are few units listed in
systemd.special, that I don't feel like I need, but which I'm left
wondering if systemd needs them:
(and so on)
I can't tell from systemd.special if these are required or not.
> On Thu, Mar 12, 2015 at 5:32 PM, Peter Sztan <sztanpet at gmail.com> wrote:
> > man 7 systemd.special
> > On Thu, Mar 12, 2015 at 4:41 PM, <Aaron_Wright at selinc.com> wrote:
> >> Andrei Borzenkov <arvidjaar at gmail.com> wrote on 03/11/2015 08:47:43
> >>> From: Andrei Borzenkov <arvidjaar at gmail.com>
> >>> To: Aaron_Wright at selinc.com
> >>> Cc: systemd-devel at lists.freedesktop.org
> >>> Date: 03/11/2015 08:47 PM
> >>> Subject: Re: [systemd-devel] minimal required units
> >>> В Wed, 11 Mar 2015 12:02:29 -0700
> >>> Aaron_Wright at selinc.com пишет:
> >>> > I'm trying to make an embedded device, and I would like to start
> >>> > the
> >>> > minimal setup as possible. Are there some units that are required
> >>> > systemd?
> >>> > I ask because systemd is complaining about a missing rescue.target
> >>> When does it do it?
> >> It was doing this because my default unit was not set correctly. But
> >> isn't really the question. The question is, what units are required
> >> systemd? How can I figure that out? It seems like rescue.target,
> >> local-fs.target, and local-fs-pre.target are required, but I've only
> >> discovered that after trial and error. I know the systemd.special man
> >> lists a ton of special units, but it seems that not all of them are
> >> required. Right? Well, which ones are? I feel like I need to look
> >> the code to see when a hardcoded unit is referenced, like
> rescue.target was,
> >> that I don't know about.
> >> My device doesn't have many of the same requirements of a full
> >> server Linux, so I'm trying to strip out things from systemd, unit
> >> that I don't want or need. I've customized sysinit.target and
> >> to just reference the units I want. And that seems to be going
> >> it appears there are other units, that I didn't know about that are
> >> required, but that aren't documented as such (that I could find).
> >> scares me a bit.
> >>> > but I don't list rescue.target as a dependency of any other unit.
> >>> > However, grep tells me that /usr/lib/systemd/systemd contains the
> >>> > "rescue.target" string, which worries me. Is there a list of all
> >>> > units
> >>> > that are required, even though no other unit lists them?
> >> _______________________________________________
> >> systemd-devel mailing list
> >> systemd-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel