News for hackers. Stuff that matters.
Re:Ask HN: What Next After Ubuntu? by paulddraper on Sunday January 29, 2023 @04:58PM (#34573210)
> I hate systemd for example

Everyone's entitled to their opinion, but everytime I hear this, I have difficulty listening to the rest.

Systemd is 10x easier and more manageable than every alternative.

Re:Ask HN: What Next After Ubuntu? by bayindirh on Sunday January 29, 2023 @05:10PM (#34573309)
No.

(As a sysadmin of 15 years, I can clearly say all of them have their advantages and disadvantages, but being easy and manageable is not an advantage of systemd, but a property of all of them)

Re:Ask HN: What Next After Ubuntu? by bsg75 on Sunday January 29, 2023 @05:56PM (#34573663)
Can you provide example of what makes it easier than alternatives?
Re:Ask HN: What Next After Ubuntu? by asdfkjhasdfhuh on Sunday January 29, 2023 @11:49PM (#34575869)
systemd is "easier" for people used to cisco/microsoft/etc.

The huge list of services with not-for-human names so your job can look complicated and essential.

Re:Ask HN: What Next After Ubuntu? by happymellon on Monday January 30, 2023 @01:23AM (#34576458)
It may be easier for them, but as someone without Cisco experience, systemd was a lot easier for configuring service dependencies once I understood it.

It's been 10 years now? I wouldn't go back, most of the suggested alternatives are so basic that troubleshooting becomes a chore. Almost all the hate is because they don't like Lennart.

We should fork it, get someone else to head that with a different name to get them on board.

Re:Ask HN: What Next After Ubuntu? by asdfkjhasdfhuh on Monday January 30, 2023 @04:53PM (#34586966)
i also accepted it. And made a point to forget the cisco experience.

Yeah, the dependency is a fine feature, but before it was even *easier*... just put a number on the rc.d symlink.

c'mon, if you think that is harder than editing a dozen files, remembering weirdly named camelCase attributes and then pointing to randomly named services, then i don't know what to say. But again, i also accepted it, for better or worse.

Now, i don't care about lennart, but i hated systemd for most of the time because they pushed an incomplete crap over something that was working, just to get contributors. If redhat wanted their cisco/windows services management clone, they could have worked on it. Doing what they did (i call it to pull a gnome) was just shitty behaviour and they should always be remembered for such action.

Re:Ask HN: What Next After Ubuntu? by UK-AL on Monday January 30, 2023 @09:54AM (#34580310)
Eh? systemd unit files are tiny compared to the huge massive scripts that came before it. Often those scripts we're only understood by a few people as well.

I think this why a lot of people really hate systemd. Suddenly a bunch of arcane knowledge used to maintain specific scripts got made redundant.

Re:Ask HN: What Next After Ubuntu? by bayindirh on Monday January 30, 2023 @02:41PM (#34585293)
I have a thousand gripes about systemd, but “it made my knowledge obsolete” doesn’t make that list.

Also, I have only seen two or so massive scripts about services. Most of them were slight variations of a standard boilerplate code.

Re:Ask HN: What Next After Ubuntu? by paulddraper on Monday January 30, 2023 @12:02AM (#34575940)
Like...everything?

Create a service that starts on boot:

    cat > /etc/systemd/example.service << EOF
    [Unit]
    After=network.target

    [Service]
    User=example
    ExecStart=/usr/local/bin/example

    [Install]
    WantedBy=multi-user.target
    EOF

    systemctl enable --now example
And the harder things get, the bigger the advantage. Like if you want to mount a disk, create a socket, and then afterward start unprivileged service...all very simple.