News for hackers. Stuff that matters.
Re:The bad side of systemd: two recent systemd failures by broodbucket on Friday December 12, 2014 @09:35AM (#8740164)
Within all the noise about systemd I think posts like this are quite beneficial. Instead of discussing politics or throwing out buzzwords, it presents a specific technical shortcoming. Positive or negative, these are the types of things that people should be reading about in relation to systemd.

The problem is that people are deciding whether or not they like systemd based on "do you like Lennart" or "do you like The UNIX Philosophy", because that's what people are making noise about.

Re:The bad side of systemd: two recent systemd failures by Mister_Snuggles on Friday December 12, 2014 @09:40AM (#8740189)
As I said in another comment, I really wish it went into more detail on the actual problem.

The problems with journalctl are usability ones, which doesn't make them any less of a problem, but doesn't point to an underlying technical failure either.

The problems with systemd are basically stated as "a Fedora upgrade causes systemd to go bad." Is this a systemd problem or a Fedora problem?

Re:The bad side of systemd: two recent systemd failures by digi_owl on Friday December 12, 2014 @10:04AM (#8740333)
Given that Fedora and systemd has been developing in lockstep over the last few years, one would think they worked well together...
Re:The bad side of systemd: two recent systemd failures by Mister_Snuggles on Friday December 12, 2014 @10:11AM (#8740381)
I'd hope that any distribution would be packaged to work well with it's init system, regardless of which init system that is. After all, the whole point of a distribution is to have a core set of software[0] that works together reasonably well.

[0] With the number of different packages in a modern Linux, I don't expect everything in a distributions repository to work perfectly, but core stuff (like the stuff that gets you from a cold boot to a login prompt, etc) should be rock solid.

Re:The bad side of systemd: two recent systemd failures by tankenmate on Friday December 12, 2014 @09:55AM (#8740285)
Some anti-fragility on the part of both Fedora and systemd would help here. Maybe a statically compiled init would be a start?
Re:The bad side of systemd: two recent systemd failures by vezzy-fnord on Friday December 12, 2014 @10:04AM (#8740334)
systemd does not support static linking due to its use of NSS. See: http://lists.freedesktop.org/archives/systemd-devel/2014-Mar...
Re:The bad side of systemd: two recent systemd failures by ultramancool on Friday December 12, 2014 @10:23AM (#8740467)
> Only the most trivial libraries actually support it.

... what kind of nonsense is that? Almost every library supports static linking to a basic degree at least. Heck, I statically link giant things like Qt and Boost every day at work.

Re:The bad side of systemd: two recent systemd failures by vodik on Friday December 12, 2014 @12:45PM (#8741524)
Well the core of the issue here is you can't really staticly link against a library that depends on dlopen/dlsym (nss system is built around this).

I mean, you could, but now your staticly linked binary still depends on other dlsym'd code. So whats the point?

(Not trying to make an argument that this is good or bad behaviour)

Re:The bad side of systemd: two recent systemd failures by ultramancool on Friday December 12, 2014 @04:02PM (#8742665)
I understand, but the question then becomes why your library depends on dlopen and why you don't offer an alternative static method as Qt's "plugins" do. Doesn't seem like good design on the part of the NSS devs to me, and probably a poor choice of library on the part of the systemd devs to me. But maybe I'm missing something.
Re:The bad side of systemd: two recent systemd failures by the_why_of_y on Saturday December 13, 2014 @05:33AM (#8744828)
The library that depends on dlopen is glibc.
Re:The bad side of systemd: two recent systemd failures by ultramancool on Monday December 15, 2014 @09:52AM (#8752215)
You can statically link glibc, so I'm pretty sure that's not right...
Re:The bad side of systemd: two recent systemd failures by Mister_Snuggles on Friday December 12, 2014 @11:28AM (#8740953)
I can see systemd as a whole not supporting static linking. But systemd is a collection of many different binaries that each do their thing, so would it be possible for systemd (the pid 1 executable) to be statically linked while the other supporting executables are dynamically linked?
Re:The bad side of systemd: two recent systemd failures by cesarb on Friday December 12, 2014 @11:46AM (#8741086)
The systemd developers try to avoid using NSS on PID 1 (for very good reasons), so NSS wouldn't be a problem for static linking PID 1.

* See for instance https://bugzilla.redhat.com/show_bug.cgi?id=915912#c18

Re:The bad side of systemd: two recent systemd failures by Mister_Snuggles on Friday December 12, 2014 @04:29PM (#8742808)
Sounds like it would just need some changes to their build setup to allow the PID 1 piece to be compiled statically, which doesn't seem too bad.

Of course, this may not even solve the root cause of the problem this article talks about. It would make PID 1 a little more resillient though.

Re:The bad side of systemd: two recent systemd failures by ansible on Friday December 12, 2014 @10:36AM (#8740571)
systemd does not support static linking due to its use of NSS.

Well, that is a surprise to me. And something of a concern.

Re:The bad side of systemd: two recent systemd failures by cma on Friday December 12, 2014 @01:09PM (#8741698)
Anti-fragility isn't the same as robustness. It should rarely be used as a term.
Re:The bad side of systemd: two recent systemd failures by bkeroack on Saturday December 13, 2014 @01:02AM (#8744357)
I'm not even sure how any software could be described (accurately) as anti-fragile. Robust, yes. But anti-fragility indicates that performance improves with stressors or catastrophic/unexpected events.
Re:The bad side of systemd: two recent systemd failures by noselasd on Saturday December 13, 2014 @08:33PM (#8747153)
I don't really have a good or bad opinion about systemd, to me the init system and things around it are just pieces that needs to work.

The points discussed here are serious, should be filed as bug reports, and should be acted on by the developers. But the article also just sounds like systemd bashing, software has bugs and poor thought out solutions - which can be fixed or improved - it's just code.

I could probably have written a similar article about many, many Fedora (and Debian) upgrades over the course of a decade or so about core components such as distro upgrades making the init system crashing, failing to start services, glibc upgrades screwing up servers, grub upgrades calling for a 2 hour car drive to fix and so on. But I didn't, I either filed a bug report, fixed the code, or was just too plain busy getting things back to working.

Re:The bad side of systemd: two recent systemd failures by felixgallo on Friday December 12, 2014 @11:04AM (#8740796)
those are completely valid criteria. What's wrong with wanting your system to follow the closest thing to a known axiom in operational computer science that has ever existed?