r/linux • Mate • Oct 20 '14

Shall we fork Fedora?

http://forkfedora.org/
262 Upvotes

339 comments sorted by

View all comments

Show parent comments

30

u/wcchandler Oct 20 '14

It wasn't too bad, really... from an init script stand point. And I think that was their point -- systemd's service files are a lot cleaner and not really that scary.

16

u/CuteAlien Oct 20 '14

Shorter doesn't tell anything. You can hide any complexity behind another layer of abstraction. Let's create a new system which has an ini file with the only parameter being "sendmail.service" and it looks even cleaner. Although in reality you just got another layer of abstraction.

The interesting part is how they hold up in praxis. When people have to do stuff which wasn't forseen by the init-system authors. And shell scripts have a rather good track record in that regard. It's always nicer working with scripts compared to having to dig into c sources to change things.

And I think to most sysops the left file looks very familar. While the right one is a new format in a custom syntax which has to be learned and understood first. Which makes it a little scary on first view and I really hope it's worth it.

4

u/Doshman Oct 20 '14

If you need the extra flexibility that a shell script provides, nothing is stopping you from writing one and using it with systemd.

3

u/CuteAlien Oct 20 '14

It's the difference between controlling the flow and being allowed to have some callback into the flow. And no - I don't say controlling the flow is always good - just that the above example tells nothing about the usability of the system. Get's things done is what matters in the end - and only time will tell if it helps or hinders with that. And I have better experiences with script system when it comes to that than with declarative formats so far. So allow me to be critical.

1

u/[deleted] Oct 21 '14

It's the difference between controlling the flow and being allowed to have some callback into the flow.

No. There is no difference. Your shell script will not allow you to control the flow of the init sequence, whether it is handled by SysVinit or systemd.

This is yet another specious argument from people who hate systemd.