[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Clarifying what 'systemd' actually means



On Sun, Jul 2, 2017 at 8:37 PM, Alessandro Vesely <vesely@tana.it> wrote:
> On Sun 02/Jul/2017 12:37:33 +0200 Christian Seiler wrote:
>> On 07/02/2017 11:24 AM, Michael Fothergill wrote:
>>> Could this be exploited to force people to use sysvinit instead of systemd ?
>
> :-)

:-|

>> This bug has nothing to do with systemd as the init system, it's in an
>> optional component that's disabled by default on Debian. In principle,
>> I suspect that resolved could also be used on sysvinit, if you really
>> wanted to, though I haven't tried it.
>>
>> Furthermore, the systemd versions of Wheezy and Jessie are too old to
>> already include systemd-resolved, so they are not affected at all.
>
> Yet, there's a man page:
> https://manpages.debian.org/jessie/systemd/systemd-resolved.service.8.en.html
>

Seriously?

>> In general, I think it's helpful for everyone to take a mental note
>> that 'systemd' can mean two things:
>>
>>  1. The init binary itself. (PID 1)
>>
>>  2. A project that implements various things in userspace
>>     that includes the init binary, but also an assortment
>>     of other tools.
>>
>> In fact, it might be very helpful to draw the following Venn diagram:
>>
>> +---------------------------------------------------------------------+
>> |                          systemd project                            |
>> |                                                                     |
>> | +----------------------------+ +----------------------------------+ |
>> | |  init system               | |  other tools (some require that  | |
>> | |                            | |  systemd be PID1, others don't)  | |
>> | | +------------------------+ | |                                  | |
>> | | | systemd binary (PID 1) | | |  these are all optional when     | |
>> | | +------------------------+ | |  using systemd as init system,   | |
>> | |                            | |  and there are other projects    | |
>> | | +------------------------+ | |  providing similar functionality | |
>> | | | generators             | | |                                  | |
>> | | | (for supporing         | | | +------------------------------+ | |
>> | | | /etc/fstab, etc.)      | | | | resolved                     | | |
>> | | +------------------------+ | | +------------------------------+ | |
>> | | [...]
>
> I'd be curious on why tools which don't even require that systemd be PID1 go
> under the systemd umbrella.  Doesn't that contribute to make systemd appear
> like some kind of conspiracy?

Well, I'd say it depends on whether you think that systemd is the best thing
since buttered bread or not.

> BTW, is resolved one of them or does it require systemd?
>
> Ale
>

A quick look on the web doesn't tell me one way or the other, but it seems
to be one of those NIH additions to the project.

Here's the opendesktop manpage:

https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html

My memory of the history
of the thing is that a member of the cabal decided that they couldn't rely on
existing tools.

If any of the group here active in the systemd projects or maybe the
opendesktop projects would care to chime in?

-- 
Joel Rees

One of these days I'll get someone to pay me
to design a language that combines the best of Forth and C.
Then I'll be able to leap wide instruction sets with a single #ifdef,
run faster than a speeding infinite loop with a #define,
and stop all integer size bugs with my bare cast.
http://defining-computers.blogspot.com/2017/06/reinventing-computers.html

More of my delusions:
http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
http://reiisi.blogspot.jp/p/novels-i-am-writing.html


Reply to: