[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor application acceptance emails are being sent out. Please remember to check your spam box!


[Advertise on 4chan]


File: IMG_0003.png (21 KB, 512x512)
21 KB
21 KB PNG
I’ve played with non systemd distributions and they seem to consume a lot less memory and boot faster so I thought it would be more secure because less code. But is this really true?

How much of the debate is just neckbeards not liking it because it doesn’t follow the Unix KISS principle? Is there any real benefit you can see?
>>
>>107191203
Remember that huge xz/ssh CVE from last year or whatever? That was actually a systemd issue. I'm not kidding, do a deep dive on it and include systemd as a keyword.
>>
If you ever find malware for Linux, it will be targeted at gnome and/or systemd users.
This alone is reason enough to avoid systemd and gnome.
>>
File: 1748450836534685.jpg (351 KB, 1024x1536)
351 KB
351 KB JPG
>>107191209
>>107191203
Systemd is what Windows had all the time and Linux was missing.
But it's also something we should aware of: a common attack surface.

Operating systems like Windows and macOS implemented their infrastructures thread safe and secure from ground up. With Linux, it's a problem of implementation, priorities and streamlining as the devs tend to lack common sense in many cases resulting in major security and stability flaws.
>>
>>107191367
>thread safe
rustroon bot out of nowhere
>>
>>107191375
The fuck,anon
If anything I'm C++ and C# main
Also did a lot of webshit for companies
>>
>>107191203
The XZ backdoor would not have worked on any machine that wasn't running systemd.
Security through obscurity is extremely effective.
>>
>>107191264
I thought most of it is targeted at busybox based chinky home wifi router firmware featuring binary blobs tied to some ancient kernel version
>>
>>107191203
I want my init system to init shit and nothing more, thanks.
>>
File: catsmoking.gif (3.86 MB, 320x320)
3.86 MB
3.86 MB GIF
I use doas instead of sudo and runit instead of systemd and it just works. if it is more secure its probably only because of security through obscurity i just like them because they're a little faster.
i am considering moving away from elogind to seatd + turnstiled but it isn't playing well with my laptop its a work in progress
>>
>>107191203
the real damage of systemd has already been done, so that no one even knows what userland was like before poetteringware
>>
>>107191203
you can switch from it if it turns out to be vulnerable without your entire system breaking around it.
so much shit depends on systemd (and other freedesktop shit; its a big attack vector.). I can only imagine the trouble of changing init systems on a systemd system (might not be that bad, I don't really know, but I can't imagine its trivial either)
that to me is the key reason I use Artix over Arch, just for the sake of choice. you've got options, which any discerning person needs - security's not good? bad performance? just don't like it? just swap it out. that's the beauty of modularity. so it to me is a pure security positive not using it.
freedesktop gives me the ick all around. they really seem to have a stranglehold on the ecosystem. I would typically avoid stuff like that.
>>
>>107192613
Same, I wish easyeditor would be added to the void repo
>>
>>107191203
there are zero (0) security benefits. this is a security nightmare with a massive attack surface.
>>
>>107192639
>install variant of linux that gives you an option to not use systemd
wow. that was fucking complicated.
>>
>>107191203
hating on it seems to be a channer/neet/le hacker meme. i yet to find a serious/productive tech literate guy who hates it, max they will complain its bloated.
i grow up of that meme too, systemD is bloated (which means its usefull) but it works.
>>
>>107193003
>runs js to evaluate permissions
what causes this?
also, no sv once equivalent, so much for “all usecases”
>>
>>107193003
>i grow up of that
Okay, you got me Rakesh, the only reason I have not to use systemD is because you do.
>>
^^^^^
lmao at the loosers sething at based systemD.
>>
File: 1647539689105.jpg (71 KB, 615x320)
71 KB
71 KB JPG
>>107192639
fdo was the first open source liason bureaucracy and the prototype for the poetteringware revolootion. for example dbus was full of mistakes but everyone wanted off corba/dcop even though corba had added a lot to gnome 1. basically these poettering midwits would go on to gather consensus from stakeholders, build absolute dogshit, collapse the larger ecosystem, but come out of it as look at me i led this tech. the next phase of poettering to is sunset the entire ecosystem destroyed and lead the next thing. the coc sucking was an insult, but poettering destroys infrastructure
>>
>>107192972
when is the rust rewrite coming
>>
>>107192318
systemd isn't just an init
>>
>>107195039
EXACTLY
X
A
C
T
L
X and moar
>>
>>107195039
That's basically the problem. If it was just an init, probably no one would care.
>>
I never used systemd so I can't compare the two. My system (PCIe3 ssd,gentoo, s6) takes 3-4 seconds from uefi finish to login
>>
>>107191203
systemd services can run their own packet filter that the user would have no knowledge of and aren't being controlled by the main firewall.
>>
File: sadim.png (96 KB, 377x486)
96 KB
96 KB PNG
>>107191209
>>107191367
>>107194162

Why are you gay for Sadim?
>>
>>107191203
Systemd has a lot of c.v.e.'s and and the practices are condusive to that, but I don't think any more than the other Freedesktop suite of software like Polkit and stuff.
The funny thing is that they're all about Wayland because it's so “secure” while the software they design is basically very easy to accidentally bake privilege escalation into.

Basically, systemd and polkit run as root and then take requests from normal users and “check” whether they have these privileges and then executes things as root or not. This is hard to get right and easy to get wrong though if one get it right there is no issue but they got it wrong many times.

As in, user services on systemd are ran by the root pid1 for instance. On say runit, if you want to run services as a user you just the same runsvdir program as a user, to have privilege escalation then there would have to be some kind of kernel bug.

Also, Lennart just prioritizes adding new features over code auditing.
>>
>>107195711
>Polkit
I don't use that garbage either. I have custom scripts that take care of cryptsetuping/mounting external drives.

> runit
Superb program.
>>
File: slack-penguin-bw.gif (3 KB, 258x303)
3 KB
3 KB GIF
I don't know SHIT about FUCK myself. I'm not a coder and can barely operate a computer at all. But what I DO know is that BOB DOBBS has not instructed Patrick Volkerding to put systemd into SLACKWARE so I just trust that because I trust BOB and "The Man" because I am not smart enough to know things on my own and find it best to be under no illusions otherwise.
>>
>>107192639
>so much shit depends on systemd (and other freedesktop shit; its a big attack vector.). I can only imagine the trouble of changing init systems on a systemd system
right. previously there were a few programs doing every thing and they all had standard interfaces, so you would learn those interfaces and understand the system. now theres only the black box systemd. whereas the kernel and x server were a big black boxes too but with standard interfaces with documentation stretching back to the beginnings of computing
>>
>>107195711
it would be easy for a simple root process with its own x namespace to popp upp a uac prompt, and everyone would understand what was going on. but thats impossible now with gayland
>>
File: wednesdayAlready.png (674 KB, 585x830)
674 KB
674 KB PNG
>>107191264
It will be targeting the ability to execute elf. Just like wine enables win malware on linux
It won't be "targeting" a DE as a DE isn't responsible for executing anything.

"Old malware doesn't work" on win11 is a myth based on win98 to winxp incompatibilities. Winxp malware will work on win11, as long as you disable defender.

You probably mean vulnerabilities.
>>
>>107191203
You're asking the wrong question. It's not "why shouldn't I use systemd", it's "why should I use systemd?"

That is what Linux is about, freedom of choice. A program should convince you to use it by offering something you want, whether it's useful features, user friendliness, or even a nice design. If a program instead demands that you justify a choice NOT to use it, that should immediately raise your suspicions.

Can I explain why you shouldn't use systemd? Maybe, but I shouldn't have to. I use OpenRC because it works, it's simple and does exactly what it is supposed to, nothing more. I would gain nothing from switching to systemd, therefore I won't.
>>
>>107195983
Linux appealing to subGenius people dosen't surprise me
>>
File: BOB DOBBS.gif (1012 KB, 500x655)
1012 KB
1012 KB GIF
>>107198210
It was GNU+LINUX that too me to BOB, not the other way around.
>>
>>107191203
My system does not change except for plugging in headphones and usb drives. I actually do not need dynamic anything except for that. Even OpenRC or other "systems" are bloat. This computer should be able to boot up FULLY deterministic, with hardwired devices coming up in the same order every time. It should in theory absolutely be able to boot with the same services starting at the same freaking cycle.

All "init" systems (but especially those that are also service, device, network and whatever managers) are bloat and conceptually shitty.
>>
>>107194162
>based systemD

lines of code:
systemd 1.3 millions (in 2020)
sinit - 91 lines

>OS
OpenBSD 2.9 million lines of code
>>
>>107191241
fpbp
>>
>>107197071
And that too would have to be coded securely of course. It exists by the way, thigs like kdesu which are basically sudo but with a graphical front end.

I mean this kind of stuff is obviously necsessary to some degree. Sudo and doas exist for a reason but they heavily limit their scope because they're so sensitive. systemd does this and then puts everything into the same privileged process that does this and it's so easy to get it wrong and there have consequently been so many privilege escalations or denial of service attacks found. Yes, it's perfectly secure if you get it right, but programmers aren't supermen.

And these Freedesktop people with one hand preach "security" with Wayland while all their designs are incredibly insecure, so it's just sanctimonious. They constantly sacrifice security for convenience, which is fine I guess if you want to make that tradeof, but then please don't go around disabling all sorts of useful functionality because "muh it's theoretically insecure" when you champion the merits of things like Polkit, dbus and system.

Standard shit in Free Software development anyway. Almost all the devs are retarded tribalists with massive dual standards and inconsistent opinions everywhere. The fundamental issue is how those developers are selected. There's something to be said about the fact that a code monkey at Microsoft just does it for the money and does not feel any real allegiance to Microsoft and would switch to another company if that one paid him more. These people feel intense allegiance to their project because that's how they got in initially: they felt so much allegiance they were willing to do it for free initially and then got picked up for a paid position so they're insane tribalists.
>>
File: file.png (27 KB, 467x66)
27 KB
27 KB PNG
>>107191203
I moved to artix-openrc from arch a week ago and I've been enjoying it a lot so far
I really prefer it's way of handling services and it feels much snappier and faster than systemd
Plus none of the other bloat and cruft that comes along with systemd.
>>
>>107195983
"BOB"*
>>
>>107201938
Yes someone told me about that in another thread, too, so I'm glad to know about it. There's way more things I don't know than do know but that made it one less that I don't and one more that I do. I'm glad you told me because if the other person wouldn't have already told me then I would still need to know.
>>
>>107199509
WRECKED

bloated piece of crap
>>
>>107201923
I don't run a service manager.
My only daemons are dhcpcd, cron, the getties, and some btrfs-dedupping daemons, none of which have any real dependencies.

My boot scripts just start them and I pkill and restart them when I need to.

Do your services have actual dependencies? Turns out you boot pretty quickly this way.
>>
changing my shit for no reason should be legally regarded as discrimination against handicapped people since it's extremely distressing to people suffering from autism

Poettering needs to be dragged into a Sonic fan convention and judged by a jury of autistic people for his crimes and hanged.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.