Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment Re:Systemd, pass II (Score 1) 187 187

I do observe the controversy around it, and the image of it and its project, painted by its opponents (some of whom have enough creds that it's unlikely that they're talking through their hats), indicates that the claimed issues are likely to be real problems, and this may be a tipping point for Linux adoption and user choice among distributions or OSes.

So you're saying Linux Torvalds has not enough creds so it's likely that he's talking through his hat, and you're making a fallacy by talking about Linux adoption which has nothing to do with this controversy. This controversy makes no sense for most Linux users who don't even understand what "init" is about.

I did my first Linux drivers (a PROM burner and a Selectric-with-selonoids printer) on my personal Altos ACS 68000 running System III, wrote a driver for a block-structured tape drive for AUX - working from my own decompilation of their SCSI disk driver (since the sources weren't available to me initially), ported and augmented a mainframe RAID controller from SvR3 to SvR4, and so on, for nearly three decades, through hacking DeviceTree on my current project. I don't think C has many problems left for me, nor does moving to yet another UNIX environment - especially to one that is still organized in the old, familiar, fashion. B-)

The C standard has moved since these decades, so I wouldn't say sth like that unless I was still heavily programming today.
And having problems with an init which is a very simple OS component, shows that moving to yet another UNIX environment would not be so easy for you.
Besides, Linux is not a Unix environment, it's Unix-like, but Linux is as close to Unix as systemd is close to sysvinit. It's precisely because systemd is made for Linux that it is not natively compatible with other Unix systems like the BSD.

As for trying to learn how systemd works, that's not the proper question. Instead, I ask what is so great about it that I should spend the time to do so, distracting me from my other work, and how doing this would meet my goals (especially the undertand-the-security-issues goal), as compared to moving to a well-supported, time-proven, high-reliability, security-conscious alternative (which is also under a license that is less of a sell to the PHBs when building it into a shippable product.)

You should do your homework in any case, but it doesn't seem like your job makes you involved in sysadmin problems, so it's understandable you clearly don't know what systemd is or does.
Which is a blessing, because that means you didn't modify initscripts which were all working perfectly for you, and so migrating to systemd will be a breeze.
And you will be able to continue not caring about your init.
What is so great about systemd has been explained time and time again, it's a very easy information to find, so people still asking these questions are obvious time wasters, aka trolls.

Unfortunately, I don't get to make that choice myself. It's made by the distribution maintainers. My choice is to accept it, open the can of worms and redo the work of entire teams (and hope their software updates don't break things faster than I fix them), or pick another distribution or OS.

Again, why should I put myself on such a treadmill of unending extra work? If I could trust the maintainers to mostly make the right choices I could go along - with no more than an audit and perhaps an occasional tweak. But if they were making what I consider the right choices, I wouldn't expect to see such a debacle.

Your problem is right there! You know less than the people proficient with this matter, so you trusted them. And yet, now you say you know more than them and don't trust them anymore, even though it's obvious you don't know anything about what you're talking about, still asking where to find information. But no, you decided you are now more proficient than maintainers just because.
It's no wonder what you say don't make sense.

No, it's not. The job of an operating system is to KEEP them from becoming an interlocking mass, while letting them become an interacting system to only the extent appropriate. It isolates them in their own boxes, protects them from each other, and facilitates their access to resources and ONLY their LEGITIMATE interaction wherever appropriate and/or necessary. The job is to Keep It Simple while letting it work.

It's funny, because by your own definition, sysvinit was always a big failure at its task. Which is also the conclusion of everyone I know that actually used it and know how it works. Which is why people want to get rid of it for decades. And Linux was the best environment to do that because it's not Unix. And yet, Solaris did it before.
It's a good thing you came to the same conclusion as other proponents of systemd. Initscripts are nothing more than an interlocking mess of scripts with no knowledge of context or state. sysvinit didn't protect shell scripts from each other, it didn't even protect them from the environment.
systemd is actually doing all that. Actually, your comments about systemd and sysvinit are like you reversed these two words.

Comment Re: Thanks Linus! (Score 1) 187 187

Unfortunately, for my needs, simplicity and understandability are far more important than a fast boot and feature-rich management of the runtime environment. I need to KNOW that things are being handled properly and securely. That's become far more important since Snowden showed us, not that the spooks were getting into our computers (which we'd already figured was happening), but how DEEPLY and EFFECTIVELY their technology and personnel are able to do so.

So systemd is good news for you, as it removes the frightening security mess that shell initscripts were by configuration files that are not executables.
Trojan could be hidden anywhere with sysvinit, especially with links everywhere, it was just impossible to monitor. Security is one of the reason I stopped using sysvinit more than a decade ago on my servers and desktops.

I need to KNOW that things are being handled properly and securely. That's become far more important since Snowden showed us, not that the spooks were getting into our computers (which we'd already figured was happening), but how DEEPLY and EFFECTIVELY their technology and personnel are able to do so.

It always was important, Snowden just opened more eyes, but lots of people already knew, some still have their eyes closed though.

If the improved functionality is at the cost of burying the configuration and logging in non-human-readable form and entangling diverse processes into an interlocking mass under a complex and ever growing manager, the shark has been jumped.

That was the sysvinit situation, even one of the big problem of initscripts, fortunately systemd corrects this. Now all the truely active configuration is easily readable as is logging, which is readily available, not scattered across 3 or 4 different files.

Though Linux has been becoming (MUCH!) more usable with time, its configuration has been buried progressively more deeply under more and more "convenient and simplifying", but non-transparent, configuration management tools. Systemd is the continuation of the trend. But it is also a quantum leap, rather than another thin slice off the salami. So it has apparently created the "Shelling Point", where a lot of frogs simultaneously figure out that NOW is the time to jump out of the pot.

So that is the nonsense that is going through the head of non-technical people unable to understand technical concepts. It looks like insane thoughts for something like systemd that is actually very simple to explain what it does to non-technical people, but not so simple to code.
You'd better not use buzzword you hear in movies, they don't understand that they're saying nonsense either. For example "non-transparent, configuration management tools", this doesn't make any sense. systemd is not even on the same level as these, it's part of the core of the OS.

It's been a great ride. It had the potential to be even greater. But I think this is where it took the wrong turn and it's time for me to get serious about switching.

There's good reason to switch to NetBSD at work, on the product. (The code supporting the secret sauce is on the user side of the API and is Posix compatible, so it should be no big problem.) Porting my laptop, home servers, and desktops to OpenBSD now looks like it's worth the effort - and less effort than trying to learn, and keep abreast of, the internals of systemd.

systemd detractors don't make any sense : switching to another completely different kernel and OS is somehow easier than learning a new init system commands.
I don't remember people saying such nonsense when Red Hat appeared with chkconfig or service, or when Ubuntu launched Upstart. And I can guarantee it's easier to learn a new init system than switching OS. Also, I don't understand why someone would advertise that he gave up because of his inability to grasp new technology and instead took the harder route because he doesn't understand what he's doing. It seems like sometimes everyone who switches to a BSD feels the need to advertise it.

Call me if somebody comes up with a way to obtain the key benefits of systemd in a simple and transparent manner, rather than creating an opaque mass reminiscent of Tron's Master Control Program. (Unfortunately, the downsides of systemd's approach seem to be built into its fundamental structure, so I don't expect it to evolve into something suitable, even if it's forked.)

Nobody will call you, you made your choice, try to live without being babysitted. Actually, people have obtained the key benefits of systemd for years by just adopting it, giving bug reports and helping improve it. A very simple and transparent manner to do it is to get it on a new and fresh system.
People who have problems with systemd are people that are migrating systems to it, which requires you know your systems well, and how a Linux OS works, from the plumbing and up.

Comment Re:Lennart Poettering is cancer on the face of Lin (Score 1) 347 347

systemd's position as PID 1 on Linux systems creates an enormous SPOF given the complexity of the code. The only sane position systemd developers can take is "we're not ready, please don't use this even as a test in your released distributions".

So that everyone can see the level of BS of this user : "Linux's position as a kernel on Linux systems creates an enormous SPOF given the complexity of the code. The only sane position Linux developers can take is "we're not ready, please don't use this even as a test in your released distributions".
This is the level of discussion, it's pathetic actually.

For all practical purposes, the rapid and unseemly adoption of systemd means that many enterprises running distributions that now rely upon systemd have to make the decision to not trust their distribution any more if they consider their systems mission critical. This is going to make people move to FreeBSD, Oracle, Windows, non-systemd distributions, microservice/microkernels, etc in rapid fashion. It is going to literally kill Linux for the people who have not yet figured out how to deal with the loss of machines (the majority of the enterprise world). And that may be a good thing, in the sense that Linux has in many ways become indistinguishable and directionless in the sea of operating system options. It tries to be far too many things to far too many people.

The problem for you shills of proprietary OS vendors and appliances, is that Linux actually succeeds in being many things to far too many people (in your eyes).
You'll have to do better than that: while you shills cry here, Linux succeeds, and with systemd, is available in even more products than before.
You know the stupid Cloud rage going on right now, systemd allows Linux systems to be rapidly deployed there.
Yes, you shills have no purpose in this matter actually, you've already lost.

Lennart [...] likes to think he is a genius and we simply don't understand his vision, but for a great many people, his vision is the antithesis of what we like about Linux and Unix. Systemd developers don't understand the arguments of simplicity, composability, and small programs that do one thing well.

I guess the problem is that systemd is heavily dependent on Linux, whose "developers don't understand the arguments of simplicity, composability, and small programs that do one thing well", to quote you. These developers (Linux kernel and systemd) only understand the arguments of programs that just work, are robust, adaptable, coherent, fast and efficient, easy to use, difficult to break, the most secure possible.

The truth is the fault doesn't rely totally upon Lennart and his team: Some of the blame can also be assigned to Linus for poor stewardship, but Linus has a set of complex motives and organizations that influence him. Linus should have killed this stuff much earlier.

I think in a few years, we'll realize what a mistake we made in giving Mr. Poettering any chance of credibility in operating system software development.
I hope it comes sooner rather than later.

So you came to the same conclusion as myself. Except that I think Linux, Lennart and co are far more intelligent than you are, and I just happen to agree with them on technical ground with my knowledge of the field. Even my experience of 15+ years of building special purpose Linux OS from scratch agree with systemd and Linux OS, and even with GNU most of the time, believe it or not.

Comment Re:Systemd detractors are like climate change deni (Score 2, Informative) 347 347

Actually, it seems quite the opposite. We have the systemd crowd claiming that it's simpler even when there is a whole new level of complexity in systemd they don't even know about (hint, look for the systemd craziness in /lib). Like the climate change deniers, they believe that since they haven't personally seen a problem in their simple and vanilla system that there isn't a problem at all.

There is no "systemd crowd". There are systemd users that find it easier to use than previous solutions which have bugs which won't ever be fixed like Upstart.
systemd is actually far less complex than using Upstart + countless tools and daemons with their configurations scattered all other the place.
I don't see the crazyness you talk about in /lib/systemd or /usr/lib/systemd. I don't use every systemd utilities, but I caved in for a lot of them and threw away xinetd, my custom FS mount scripts, my custom network scripts...
And my simple and vanilla systems, with their LVM on software RAID, FS on SAN and NAS, ... which were a pain to tune so that they bootup correctly every time, were a breeze to migrate to systemd. So yes I don't see a problem with my vanilla systems that even distributions didn't know how to setup 15 years ago, and some still can't today.

Comment Re:Everybody good has moved to the BSDs. (Score 1) 347 347

The reason that "nobody put up a fight" is because every intelligent Linux user has seen systemd for the disaster that it is, and they've moved to FreeBSD, PC-BSD, OpenBSD, NetBSD or DragonFly BSD months ago. The only Linux users left are the ones who'd be just as happy using Windows, which is pretty much what they get when using a modern GNU/Systemd/Linux distro.

So I'm a unintelligent Linux user that is happoy using Windows to you.
You should revise your hypothesis, as you're plain wrong in my case: I just can't stand using Windows, the latest one I've used is Win7 though, and I can't stand using it as it doesn't work correctly. I can assure you none of the Linux I use/make/administer are like Windows, I actually understand how they work far more than any Windows I ever used, and they don't crash like Windows.

Comment Re:But... (Score 1) 347 347

because some software expects it and doesn't run without it.
shit software, but software anyways.

that's whats bad about it, really. it's just not a startup replacement but one that aims to turn developers into developing software that can't work without it,, without trouble.

why would startup utility provide user authentication? to conquer everything of course.

You're right of course. Fortunately, the startup utility systemd (PID 1) doesn't provide user authentication, so you and I can sleep well at night while using systemd.
Some people will tell you that PAM is no better, but that's what most distribution use these days. But if you want and are knowledgeable enough, you can make a system without PAM for user authentication too.

Comment Re:But... (Score 1) 347 347

The better question is why bother supporting two sets of packages and scripts that accomplish precisely the same thing. Pick one and go with it. Given the support for systemd (by people who matter, not trolls), it seems the logical choice.

It's a good thing that they bother if they have the workforce, which they seem to have.
There's no problem with that, gentoo is doing the same thing.
As long as they are also going with systemd so that when the burden of initscripts is unbearable they're not stuck with an even bigger moutain to climb, it will go well. It will still be really painful for initscripts users though.
For now, the chasm isn't so big, it will really be huge when kdbus enters a Linux kernel release, even in experimental.

Comment Re:I like how this got marked troll (Score 0) 347 347

It's a fact that the fix for corrupt logs, which systemd will often corrupt if you power-cycle your system, is to delete them and throw them away. https://lwn.net/Articles/621453/ https://lists.fedoraproject.org/pipermail/devel/2013-July/185702.html It's a fact that systemd will only sometimes recover any part of its bullshit binary logs, and only any part after any error. So if journald truncates a file because it shits itself, which it has been known to do, then you lose the whole log.

Your facts are plain lies, any sysadmin can see that. systemd does not corrupt logs when you power-cycle your system either, the fact of power cycling your system is actually what corrupts your file-system, and that's not even always the case.
Stop using "data=writeback" on your ext4 FS, take the performance hit and start using "data=ordered" instead of spreading lies, perhaps your FS will leave you alone then.
Up to this morning, I used the journal to debug an embedded system (raspberry pi) that would not boot, for which I don't have a console nor ssh access. I just shut it down electrically, then get the SD card, then read the journal file from another system. Guess what: the entire file is readable every single time (I've done it a lot to debug boot problems) with journalctl, with even the kernel boot messages as thanks to systemd, I get really everything in the log.

Comment Re:The pain isn't in the switch (Score 3, Insightful) 347 347

I have contended with corrputed files plenty. If they are plain text, it's highly unlikely that a glitch leaves it such that a human can't piece together what is left. If it relies heavily upon common features of binary formats (compression, alignment to very particular addresses, section headers), it's quite easily unrecoverable. Basically the exact things that make them attractive (performance, efficiency, analysis) make them lose all meaning pretty quickly if part is missing or something.

But that's the problem: people who constantly rage against systemd and its binary logfiles are not AT ALL interested in knowing if they can read it, they never tried, they never looked at explanations of how it works or anything.
The fact is that you can actually use "strings" (the shell command) against your journal file and get A LOT of text logs with a lot more information than in a standard log file. Of course you lose all the semantic like the integrity of the text you're reading.
Which is because journald won't even compress small logs because it would take too much space. Only big log lines or blobs are compressed usually.
All this talk about systemd binary logs being unreadable is just plain lies and BS from detractors.
Of course, if you read your log with journalctl, it will get you all the extra benefits.

Comment Re:A year later (Score 1) 300 300

Nice inversion. The emotional appeals come from the pro-systemd people, valid technical arguments on that side are nowhere to be found.

Anyway, systemd won, and I can now enjoy seeing all the incompetent fools that were against systemd be proven as truely incompetent fools as time goes by and systemd just chugs along without the mythical problems they were talking about but never explained (as they don't exist).

Comment Re:A year later (Score 1) 300 300

You mean like RH prior to RHEL 7? Or how about Slackware? Gentoo? Ubuntu LTS? Plenty of distros exist[ed] without systemd and didn't suck. What Red Hat and the systemd crowd doesn't want to here is that most users that care do not want systemd. Most users have no opinion one way or another. Most that do care were perfectly content with the old system and saw much bigger problems in the Linux world that fighting over replacing init takes time away from. If we really needed a new init system, then why not adopt launchd, SMF (which systemd wishes it was), or upstart, and focus on issues that actually matter? Instead, Linux is losing long time supporters and is fracturing itself.

But you're wrong plain and simple.
sysvinit and its shell scripts was one of the reasons I decided to make my own distro from upstream sources 15+ years ago.
I saw already that these things were security nightmares added to the fact that they were buggy and impossible to fix in the cases where design flaws were involved.
To this day, they are full of kludges and nonsense, and proprietary software vendors are no better than a newbie sysadmin as to their knowledge of init scripts.
Everything I've seen was full of bugs or made for the most simple case.
I think that's why LVM was so badly supported in most distro, except in Red Hat ones, as RH employees develop LVM2.
And I say that because I mastered init scripts, I corrected countless ones on distros. But I could never do anything about its design flaws, and had to just shake my head when I saw sysadmins launching them directly when the scripts weren't cleaning their environment correctly (which they can't do properly anyway) and they got different bad results, like believing a daemon was launched because the script said so, but the daemon wasn't launched at all.
People that say init scripts were working correctly, I just can't take them seriously, init scripts never worked correctly in the first place, unless you knew what you were doing and mastered everything about a session and its environment, and lots of other things.

I'm no genius to have seen all the flaws in sysvinit, lots of people saw them and tackled the problem, and I often used their solution, I've went years with simpleinit-msb (after using simpleinit), which I had to support (patch) myself when it was abandoned until it was too hard and when I went searching for a better one, I first tried Upstart, which was a PITA, then systemd appeared and I never looked back.
None of the init solutions I've tried along the years gained traction. Even systemd at first, the inertia was too strong. I thought it was sad, but at least I didn't have to deal with sysvinit crap at home.

Comment Re:A year later (Score 1) 300 300

That tired old lie again...

Making a distro is not something a single person can do. And if you were not intent on spreading lies, you would acknowledge that as it is rather obvious.

You're plain wrong. If you count LFS as a distro, then I have made a distro as a single person, as I made my own more than a decade ago and that's the one I use at home since then. It's used for all the family to use, several computers in the house, on my embedded ones, on my MythTV one, on my firewalls, ...
The only big difference is that I don't maintain it for other people.
This is where most of the hard, boring and tedious work is, and I don't want to do that, especially when I see how distro makers are treated here or elsewhere.
Lots of people asked me why I don't release my OS as a distro. This is the reason, and I can add the fact that it surely would be duplicate with one from other people who are knowledgeable enough to do exactly the same thing that I'm doing.

Comment Re:Red Hat will crush Linux competitors (Score 1, Troll) 300 300

Red Hat is operating right out of Microsoft's playbook.

Remember when Microsoft was buddy-buddy with Apple, and IBM?

Once Linux is completely dependent on Red Hat controlled technologies, Red Hat will always be two steps ahead of the competition, it will be seriously difficult for Linux users to use anything except Red Hat.

What happens when Red Hat decides there is no reason for more than one package management solution? Red Hat will say that users demanded one standardized package management, and systemd will only work if Red Hat's solution is installed. Wait for it.

You should learn what Free Software is, because right now you look like an idiot.
The GPL prevents the kind of control you're talking about, and systemd is licensed under the GPL.
Plus systemd contains a PID 1 daemon so what you say doesn't make any sense.

Comment Re:The SystemD marketing rolls on... (Score 1) 300 300

Theres an old saying, which Im going to modify for my own purposes.

Those who can, make distros. Those who cant, whine endlessly about what the distros are doing.

I make my own distribution using Linux From Scratch (LFS) as the basis. Yet I do not think SystemD is a worthy replacement for SysVinit. No log file should ever be binary. Period. Full stop.

I'm doing that too, all my systems are made from scratch with an automated tool based on nALFS that I maintain alone.
I use systemd since before it was even officially released and have never looked back since. I abandoned shitty sysvinit 15+ years ago on my systems and never looked back.
You don't even understand what the journal is doing, I won't debate this nonsense while on all my servers, I have the journal plus text log files via rsyslog.
If you can't even do that and yet you claim to use LFS, I bet you didn't understand one thing of what you were doing, which defeats the purpose of using LFS.

Comment Re:Why the surprise? (Score 1) 177 177

But linux use on the desktop is growing? ...
I mean if we want to include android it's one of the most popular OSes in the world.

Android is not Linux, nor is Android a desktop OS of any kind. Yes, Android probably is one of the most popular OSes in the world, but we're talking about Linux on the desktop here, which is an entirely different animal. The kernel is the only thing they have in common.

It is hard to say whether it's growing or not. You say it's growing, hairyfeet says it's shrinking, who's right? What I do know is true is that desktop PC sales are shrinking, thanks to mobile devices and to people hanging onto their hardware longer.

Except that Android is Linux on the desktop, Android is used as a "desktop" on lots of tablets actually.
You didn't know it, but the kernel is Linux, so Android is actually Linux, it's not GNU/Linux though.
You may not like these facts but I know lots of people have problems with reality, that's life.

A programming language is low level when its programs require attention to the irrelevant.