• 0 Posts
  • 72 Comments
Joined 3 years ago
cake
Cake day: June 9th, 2023

help-circle





  • forestbeasts@pawb.socialtoLinux@programming.dev•Init Systems
    link
    fedilink
    arrow-up
    24
    arrow-down
    5
    ·
    4 months ago

    systemd used to be just an init system.

    It’d actually be pretty good, if it stuck to just being an init system!

    But noooo. Now it does DNS resolution. Network management. NTP time sync. They basically bought out udev and folded it into systemd, somehow. Login session management. A fucking BOOTLOADER.

    It’s too much power to give to one project.

    You uninstall systemd, half your system breaks and you suddenly have to relearn a bunch of crap all at once if you were using the systemd things for them before.

    Oh, and did I mention that anyone using or talking about non-systemd methods of doing things tends to get painted as “oh that’s OLD and OUTDATED and OBSOLETE, just use the systemd way it’s Modern™ and good”? That’s a thing too. See: cron and systemd timers (oh yeah, they have a cron replacement now too for some reason).

    – Frost


  • Mostly because a) “use this other random distro” is a bit of a hard sell to people (but so is “rip out the rot inside the heart of your system and then patch up everything that was relying on it”, to be fair), and b) we’ve heard shit about the Devuan devs specifically. I can’t remember what that shit was, though, unfortunately. There’s also AntiX but IIRC it doesn’t offer OpenRC as an easy install option, and MX Linux but I can’t remember whether they do or not and I think they also don’t. But AntiX and MX are both good if you like one of the init systems they offer!

    I think I also heard that some of the Devuan devs’ work got folded back into upstream Debian, and there’s a debian-init-diversity mailing list now at the very least. So like, just giving up and going “welp Debian is systemd now, can’t do anything about it” doesn’t sound great to me. Gotta have people actually installing other init systems on Debian if you want usability issues with doing that to be fixed!

    – Frost














  • That picture you included is kinda weird and misleading IMO.

    First thing: Ignore the “central repository”. There is none. git works entirely locally (this confuses the hell out of people who grew up with CVS/SVN, for some reason). You CAN push and pull to other people’s computers, if you want, or your own other computer; all Github or whatever is is a “someone else’s computer” in the cloud that you can push to. But you also don’t need a remote repository at all. Most of ours don’t have one.

    Seconding https://learngitbranching.js.org/. It’s quite nice.

    Some stuff you should know:

    • A commit is a snapshot of everything in the project (that was added to git at the time).
    • A branch is basically just a movable tag pointing to the latest commit, with which you can get to previous commits by walking the chain backwards; when you make a new commit, you move the branch to point to it.
    • You can make alternate timelines by going back to a previous commit (without moving your branch pointer), making a new branch pointer (and switching to it), and editing/committing/etc. That’s why they’re called branches.
    • There’s an undo history for where your branch has been, git reflog. Can save your butt if a rebase or whatever goes sideways and you get screwed up.
    • All your history is in the .git folder in your project folder. Everything. If you back that up you’ve got the whole history of the project.

    – Frost