5 ms·
libsystem is such a bizarre abstraction covering far too much surface area. The name alone is a code smell. Why is the same library used for both internal servi
by noplacelikehome 3y ago
libsystem is such a bizarre abstraction covering far too much surface area. The name alone is a code smell. Why is the same library used for both internal service management and for services implementing on-demand launches and notifications?
- tomohawk 3y agoThat is the systemd way, and what many of us have pointed out for years as a major risk of the approach.
- klysm 3y agoI have never seen anybody point to it as a security risk before this happened. Would be happy to see a reference of somebody saying that prior to the xz event
- angiosperm 3y agoReport is that shortly before the hole was reported, a PR had been posted requesting to remove the dependency on xz.
- noplacelikehome 3y agoThis reads as though your objection is to the scope of systemd rather than its implementation detail, which isn’t where my objection lies. I have nothing against the service management stack also addressing common principles like logging and on-demand starts a la inetd, but the notion that applications should link against a component of the service manager which is also used by the service manager boggles my tiny mind.
- andrewshadura 3y agolibsystemd is not being used by systemd itself.
- exabrial 3y agoI like parts of systemd very much: units and their sandboxing/isolation/chroot of processes. Many other parts are terrible beyond measure: journald for example. I think the concept of on-demand processes managed by the end manager is a good idea, but systemd is strong arming the services into accepting its philosophy.
- oftenwrong 3y agoWhat's wrong with journald? I do not know much about it, aside from having to use journalctl to view logs occasionally.
- bartekpacia 3y agoLogs being stored in binary is the main problem, I think.
- tuna74 3y agoYou can of course copy them into whatever format you want, systemd has support for syslog style export.
- frankharv 3y agoVersus the logical dmesg|grep {what you are looking for} or tail -n 30 /var/log/messages.
- justsomehnguy 3y agoTell me you never tried journalctl | grep {term} without telling anything. Also you are probably never worked with a localised distros. Go try your luck at least on a non-Latin one.
- Vilian 3y agoyou can just run journalctl -g {term} too lol
- hulitu 3y ago> Why is the same library used for both internal service management and for services implementing on-demand launches and notifications? Poettering was a Microsoft fan. I guess he designed SystemD like svchost.
- Vilian 3y agoand the fact that it worked and still working means that he was right, also systemd was already fixing the huge dependecies for a while, this only accelerated the process