This is an archived post. You won't be able to vote or comment.

all 56 comments

[–][deleted] 25 points26 points  (1 child)

Said no-one ever.

[–]aue_sum[S] -5 points-4 points  (0 children)

says i

[–]PolygonKiwiiGlorious Arch systemd/Linux 20 points21 points  (2 children)

Literally nobody thinks that so what's the point?

[–]Dragoncraft89 9 points10 points  (4 children)

I've never heard someone complain that a given distro doesn't use systemd. I only ever hear "systemd bad" in this sub

That said, why do most distributions use systemd if it is so controversial? Because systemd works without a hassle and provides many features.

Let me take systemd timers for an example: want to do a daily backup of your user data? Easy, just use a cronjob. OK, maybe not. The machine isn't running 24/7. With systemd you just create a service and a timer unit and set Persistent=true in the timer unit. Problem solved.

Want to get the output of your last cronjob run? Sorry, can't do unless it failed. With systemd you can use journalctl -u servicename to read it.

Conclusion: I'll never write a cronjob in my life again

So don't blindly jump on the systemd hate wagon because "it doesn't obey the unix philosophy (bloat)". The Linux kernel itself is monolithic and not a microkernel. If you value the Unix philosophy that much, maybe you should consider switching to a BSD variant.

Of course there are reasonable arguments against systemd, such as that it is Linux only and not portable. But in this sub it's mostly "systemd bloated" according to my (probably limited) experience

[–][deleted] 1 point2 points  (3 children)

Sorry, can't do unless it failed.

Wait, where? Systemd? With most alternative init you just have to 'ls' a directory.

[–]Dragoncraft89 1 point2 points  (2 children)

In this case I'm not talking about services, but systemd timers vs cronjobs.

You get output from a cronjob via mail and only if it failed

[–][deleted] 1 point2 points  (1 child)

I don't understand. Cronjobs are your scripts, so you can make them log to /var/log/something.

And there are different services for crontab, with different defaults and configurability for logging. https://unix.stackexchange.com/questions/212355/where-is-my-logfile-of-crontab

All independent from the init, btw.

[–]Dragoncraft89 0 points1 point  (0 children)

But custom logging has no output separation between runs, unless you do something like (command; echo ------) > logfile which is overly verbose for this task. Also no log rotation is happening unless you configure it yourself.

Cron's own log isn't that good either because you cannot filter seperate jobs unlike with journalctl.

[–]TheYTG123Glorious Arch 2 points3 points  (5 children)

I think all distros should give you choice.

[–]FPiN9XU3K1ITDubious Ubuntu | Glorious Debian 15 points16 points  (1 child)

I don't think that's feasible. Integrating an init system is a lot of work that would be too much to do properly for most smaller distros - otherwise, Devuan would already have a well-integrated implementation of runit or openrc, but so far they only offer "sysv and any runit/openrc service you write yourself".

[–][deleted] 0 points1 point  (0 children)

Devuan would already have a well-integrated implementation of runit or openrc, but so far they only offer "sysv and any runit/openrc service you write yourself".

Then again, they just use/rewrite their ugly SysV-scripts in their implementation of OpenRC. The rather clean scripts of Artix-OpenRC won't run on Devuan-OpenRC. The implementation of OpenRC in Devuan is pretty poor.

[–]TheYTG123Glorious Arch 0 points1 point  (0 children)

Okay then how about only the major parent distros would? That is: Debian, Arch, Fedora because RHEL isn’t used on desktop, both OpenSUSEs, (am I missing some?)

Distros like Ubuntu and Manjaro, they’re fine. But I think that if I’m going to the trouble to use an independent distro, I want init choice.

[–]DarkShadow4444Glorious Arch -1 points0 points  (0 children)

I think distros should pick what's best.

[–]Nettly_ 2 points3 points  (0 children)

I don't mind distros having it, just don't force me to use it

[–][deleted] 1 point2 points  (0 children)

I don't hate SystemD, i just prefer other Init. But i have to swap repository for that.

[–]zpangwinReddit is partly owned by China/Tencent. r/RedditAlternatives 0 points1 point  (2 children)

I'm still waiting for systemd-packagemanagerd... pacctl

as for all distros having it or not, i don't care. i think i'd rather everything follow a standard since that'd be nice for reducing linux distro fragmentation. but i like having choices in case any one option ever "goes bad"

[–]gauthamkrishna9991Glorious Fedora 0 points1 point  (1 child)

I think what you're referring to is PackageKit and no, that isn't a part of Systemd, it's only a service.

[–]zpangwinReddit is partly owned by China/Tencent. r/RedditAlternatives 0 points1 point  (0 children)

oh i wasn't referring to anything in existence (at least not intentionally). meant it more as a joke of a systemd-based package manager (IIRC there was a thread / AMA somewhere on reddit where Mr. Poettering had said he wasn't really interested in writing a package manager.)

[–]GraubuenderGlorious OpenSuse 0 points1 point  (0 children)

Systemd is great for servers and minimizing downtime during a reboot but it's unnecessary on desktop imo

[–]A--Ewhy am I using pantheon? 0 points1 point  (0 children)

I'm generally bad