[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: beard-gapejak-angry.png 📥︎ (203.04 KB, 481x609) ImgOps

 â„–44364[Quote]

Honestly I hate systemd not because it's le bad or whatever but because it's hard or pretty much impossible to debug and fix when something goes wrong because there's like 6 gorbillion files across your hard drive, it's why "muh UNIX philosophy" is actually a valid complaint even if retards use it
> whereis runit
runit: /usr/bin/runit /etc/runit /usr/share/man/man8/runit.8.gz
Now go ahead and do the same for systemd, I dare you
>but just read the documentation you fuggen chud
No thanks, I don't wanna look through a bajillion reddit or forum posts just to get nginx working. I don't see why systemd is adopted across most distributions if it's the hardest one to get stable
Oh and don't forget KDEtards and GNOMEtards trying to integrate systemd into a desktop environment

 â„–44371[Quote]

So true!

 â„–44376[Quote]

ls /usr/bin | grep systemd
/etc/systemd
ls /usr/share/man/man8 | grep systemd

 â„–44382[Quote]

>>44376
/usr/lib/systemd/system/
/etc/systemd/system/
/run/systemd/system
Already 3 default files, the first one isn’t even used 99% of the time
/etc/systemd/system.conf
/etc/systemd/user.conf
>running an init system as a user
/etc/systemd/journald.conf
/etc/systemd/logind.conf
You could’ve just used svlogd and elogind for these
/run/systemd/
/var/lib/systemd/
Just get acpid at this point
Rest is SNCA, and there’s also a directory which mounts fstab, but that’s done by runit too

 â„–44760[Quote]

>>>44376
>>running an init system as a user
systemd isn't an init system, it's a software suite. Nobody ever claimed that it was JUST an init system.
If it was, it would be very trivial to replace.
Instead, you need to bring your own logger, bring your own ntp daemon, bring your own cron, bring your own login daemon, bring your own service manager, bring your own udev replacement, AND your own containerization/sandboxing solution (to replace nspawn), as well as a replacement for systemd-run and whatever else you may be using.
Oh right, I forgot about systemd-creds too…

 â„–44761[Quote]

>Honestly I hate systemd not because it's le bad or whatever but because it's hard or pretty much impossible to debug and fix when something goes wrong because there's like 6 gorbillion files across your hard drive, it's why "muh UNIX philosophy" is actually a valid complaint even if retards use it
there is a good reason for almost everything systemd does, even binary logging has good reasons for existing.
It's also pretty trivial to debug systemd, but just like with any other system, you need to know how. What you're expecting is like trying to hook gdb up to emacs in order to debug an elisp problem - you don't do this. Systemd already provides the tools you need for everything, even if it just means editing units and doing systemctl daemon-reload && systemctl restart foo.service.
>> whereis runit
>runit: /usr/bin/runit /etc/runit /usr/share/man/man8/runit.8.gz
>Now go ahead and do the same for systemd, I dare you
Do you really just throw all of your services into ONE directory? There is also a reason why systemd separates them. Again, systemd isn't just an init system, but a software suite, and it has libraries as well (for obvious reasons, but only a professional would understand this)
>>but just read the documentation you fuggen chud
>No thanks, I don't wanna look through a bajillion reddit or forum posts just to get nginx working. I don't see why systemd is adopted across most distributions if it's the hardest one to get stable
It isn't hard to get stable, its already stable by default. It's hard to make runit or whatever other meme you're using stable, and you have to write your own service files for everything regardless.
I guess it makes sense that runit just throws all service files into one directory if you're gonna write all of them by hand anyway, lol.
>nginx
[code]
[Unit]
Description=The NGINX HTTP and reverse proxy server
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/run/nginx/nginx.pid
RuntimeDirectory=nginx
ExecStart=nginx
ExecReload=kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
[/code]
>Oh and don't forget KDEtards and GNOMEtards trying to integrate systemd into a desktop environment
I agree, this is retarded. This wouldn't be as stupid if using systemd didn't also force you to use it as an init system. You can use systemd as ONLY an init system if you want, but you can't use it for everything else (in most cases at least, nspawn and other stuff still works with a bunch of hacks on openRC), without using it as an init system.

 â„–44762[Quote]

File: everybody_loves_systemd_li….mp4 📥︎ (3.27 MB, 480x360) ImgOps


 â„–44887[Quote]

>>44761
Meds, runit isn’t in one directory. There’s /etc/runit/sv, which holds daemon binaries (inactive), and /etc/runit/runsvdir, which features shell scripts for the stages of runit and symlinks of the sv directory which I previously, which represent active daemons.
<reddit space
>systemd provides a bunch of software
Why do I need to use them? systemd creates the problem, then gives me the solution. Sounds pointless. Runit also provides logging with svlogd.
But yeah, systemd in general is more stable than the shit I use, but breaking it and THEN fixing it is the bad part. PipeWire isn’t a normal daemon on runit, instead a user service managed by elogind, which made it very frustrating to get working.
Also, who said you have to write your own service files for runit? My distribution offers packages for the init-specific daemons. Also, systemd having its own custom config syntax is cool and all, but I’ll stick to shell scripts since I’m more familiar with those.

 â„–44892[Quote]

>>44887
>there isn't 1 directory
I was talking about the directory where your services (shell scripts executed by runit) are actually located, not counting where they are symlinked to in order to enable them.
Systemd has /usr/lib/systemd/system/ for system services installed by packages, /usr/lib/systemd/user/ for user services installed by packages, system and user dirs in /etc/systemd/ for the same but written/installed manually by the user, and paths in your home for user services

System Unit Search Path
/etc/systemd/system.control/*
/run/systemd/system.control/*
/run/systemd/transient/*
/run/systemd/generator.early/*
/etc/systemd/system/*
/etc/systemd/system.attached/*
/run/systemd/system/*
/run/systemd/system.attached/*
/run/systemd/generator/*
…
/usr/local/lib/systemd/system/*
/usr/lib/systemd/system/*
/run/systemd/generator.late/*

User Unit Search Path
~/.config/systemd/user.control/*
$XDG_RUNTIME_DIR/systemd/user.control/*
$XDG_RUNTIME_DIR/systemd/transient/*
$XDG_RUNTIME_DIR/systemd/generator.early/*
~/.config/systemd/user/*
$XDG_CONFIG_DIRS/systemd/user/*
/etc/systemd/user/*
$XDG_RUNTIME_DIR/systemd/user/*
/run/systemd/user/*
$XDG_RUNTIME_DIR/systemd/generator/*
$XDG_DATA_HOME/systemd/user/*
$XDG_DATA_DIRS/systemd/user/*
…
/usr/local/lib/systemd/user/*
/usr/lib/systemd/user/*
$XDG_RUNTIME_DIR/systemd/generator.late/*

>why do i need to use them

you don't, the only things you actually need are logind (replaced by elogind), the init (replaced by whatever else), and maybe udev.
Some of that works fine on other init systems, gentoo's default is to use udev from systemd-utils even on openrc systems.
>user service managed by elogind
can runit not handle user daemons??
>who said you have to write your own services for runit
I said so, because 99% of software that comes with service units, only has pre-written ones for systemd. Its up to you or to your distro maintainers to write them for other init systems, so if you're installing software that isn't in the main repos, good luck!
>systemd's own syntax
its literally ini, you don't even need to be familiar with it, and half of it is just shell crap (env vars, commands, etc) anyway.

 â„–44912[Quote]

>Honestly I hate systemd not because it's le bad or whatever but because it's hard or pretty much impossible to debug and fix when something goes wrong because there's like 6 gorbillion files across your hard drive, it's why "muh UNIX philosophy" is actually a valid complaint even if retards use it
>> whereis runit
>runit: /usr/bin/runit /etc/runit /usr/share/man/man8/runit.8.gz
>Now go ahead and do the same for systemd, I dare you
>>but just read the documentation you fuggen chud
>No thanks, I don't wanna look through a bajillion reddit or forum posts just to get nginx working. I don't see why systemd is adopted across most distributions if it's the hardest one to get stable
>Oh and don't forget KDEtards and GNOMEtards trying to integrate systemd into a desktop environment
I don't think anyone had said shit about the Unix philosophy in a long time it's /over/ no need to keep dragging it, that thing is been dead for enough time you will only see that on JewTok and you gotta be ignorant to not know it's probably bait when they say it.



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ date ] [ soy / qa / raid / incel ] [ int / pol ] [ a / biz / fit / mtv / r9k / sude / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ booru / wiki ]