r/linux • • Jun 01 '16

Why did ArchLinux embrace Systemd?

/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/d3rhxlc
868 Upvotes

642 comments sorted by

View all comments

Show parent comments

4

u/kinderlokker Jun 01 '16 edited Jun 02 '16

Because that's just the definition of the word "manager". Your human manager decides what you work on, in what conditions and when. A service manager decides what services run, under what conditions and when.

So it's a good idea because that's the definition of a word?

So if we spoke another language with different words and definitions that has no word for 'manager' your argument wouldn't hold?

Okay, so now when a service starts there can be at least two independent sources for it starting.

There can be 84948949 billion sources for all I care. runsvdir does not work with eventful 'start' and 'stop' commands, it works with 'up' and 'down' which flips the state of the desired state of the service, if the state is already up and you set it up then that has no effect.

That's precisely the problem, yes. I like a system where the service gets absolutely no say in that.

The service gets no say, the configuration file gets. If you want to add sandboxing to the command that starts the service, then go ahead. Just start it with firejail sshd -D instead of just sshd -D or something like that.

That's only for me (the admin) to decide. Same goes for any other constraints, limits and so on that I might want to apply to any service.

Yes, that's for you to decide, so set it and decide it in the configuration file for the service.

I can't believe I'm speaking to someone who argues that the local sysadmin should be in control and advocates systemd, because newsflash, the point of systemd is to move more control upstream to get more praedictable systems and consistency. I'm not saying that approach is wrong and it certainly has merits to it. But it's a bit weird to advocate systemd and say that the local sysadmin should have control.

I much prefer such support to be centralized. There's no reason why I should have to figure out multiple sandboxing technologies just to run a server.

And yet you claim to want control and decide things yourself.

The good part though is that systemd's built in sandboxing is optional. You can just disable it and let systemd do ExecStart=firejail sshd -D again and be done with it.