Hacker News new | past | comments | ask | show | jobs | submit login

I wonder what other existing programs Will Systemd attempt to replace in the future.

My bet is /bin/sh, maybe they went further to replace the entire POSIX utilities.




filesystemd, replacing ext4/btrfs/etc.

It will come with `filectl` for all your file operations, so you will no longer need `cd`, `pwd`, `touch`, `rm`, `mkdir`, `cat`, `grep`, `find`, etc. Instead you do everything through `filectl` commands.

This will deprecate many commands from GNU coreutils, which is a good thing because replacing things is always good.

Then, since programs are just files, and filesystem will be part of systemd, any program you want to use will obviously have to go through systemd as well, meaning they will need to be a service unit of type `oneshot`, because this way we keep everything well integrated together.

Don't worry tho, you only write the unit files once and they work forever. The only thing you need to remember is that, instead of `cargo build` you'll need to use `filectl exec -u cargo build` (`filectl exec -u` is only 3 words, so you don't have the right to ever complain about this tiny little change).

Anyone who doesn't like these changes is stuck in the past.


> The only thing you need to remember is that, instead of `cargo build` you'll need to use `filectl exec -u cargo build`

No, you forgot about `buildctl` which compiles any language into systemd bytecode, that runs on the systemd VM. At long last, write once, run anywhere!


> instead of `cargo build` you'll need to use `filectl exec -u cargo build`

You joke, but I already have to do this with lxc commands, and the systemd-compatible version of those commands is even longer than you imagined. See my other comment for details.


And one day you boot into the single mode and can't execute a file because you you can't connect to systemd D-BUS error 0xDEADBEAF contact your systemd admnistrator


> You will no longer need `cd`, `pwd`, `touch`, `rm`, `mkdir`, `cat`, `grep`, `find`, etc. Instead you do everything through `filectl` commands.

This is not as ridiculous as it sounds. Arguably, the file system is more of an exception, because it is directly exposed by the kernel. But, for example, to manage the files in a tar archive you do everything with the `tar` command and to manage a git repository you do everything with the `git` command.


busyboxd?


Let’s call it GNU/systemd/linux


I think it's more that they're replacing the traditional GNU programs with systemd.

That will result in systemd/Linux.


Guix will reimplement POSIX utils and extras with tools written in Gule.


Please say this is a joke


https://nlnet.nl/project/Gash/

It wouldn't be a bad idea. Also, Guile's JIT could be interesting there.

Also, a shell with a live REPL instead of failing on errors can be pretty interesting.


“gash” oh my, what a name. Do you think they know?


Hopefully glibc and coreutils!


I mean, it already has replaced the shell in a lot of ways. Systemd is basically the one reason why it's feasible to banish POSIX shells to where they belong, albeit still not usually practical.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: