Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Systemd bulletin, 2015

Home 2020 2019 2018 2017 2016 2015

For the list of top articles see Recommended Links section


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Dec 12, 2015] How to install and configure ZFS on Linux using Debian Jessie 8.1

www.howtoforge.com
ZFS is a combined filesystem and logical volume manager. The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the filesystem and volume management concept, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.

ZFS was originally implemented as open-source software, licensed under the Common Development and Distribution License (CDDL).

When we talking about the ZFS filesystem, we can highlight the following key concepts:

For a full overview and description of all available features see this detailed wikipedia article.

In this tutorial, I will guide you step by step through the installation of the ZFS filesystem on Debian 8.1 (Jessie). I will show you how to create and configure pool's using raid0 (stripe), raid1 (Mirror) and RAID-Z (Raid with parity) and explain how to configure a file system with ZFS.

Based on the information from the website www.zfsonlinux.org, ZFS is only supported on the AMD64 and Intel 64 Bit architecture (amd64). Let's get started with the setup. ... ... ...

The ZFS file system is a revolutionary new file system that fundamentally changes the way file systems are administered on Unix-like operating systems. ZFS provides features and benefits that were not found in any other file system available today. ZFS is robust, scalable, and easy to administer.

[Sep 02, 2015] Is systemd as bad as boycott systemd is trying to make it

October 26, 2014 | LinuxBSDos.com
Win2NIX, on October 26, 2014 at 11:04 pm

I migrated fully to NIX after 10-15 years as a Win admin and got tired of having control "hidden". Worked with ESX and used the console and loved the freedom. The trend I am noticing with the systemd debate is VERY similar to what has happened with M$. Keep It Simple Stupid is something Nix should be doing, having things modular and not depending on something else makes life easier. If one thing breaks it's not taking everything else with it. Further, if this is all done in binary and not easily read THIS IS NOT GOOD. I hated M$ making me download other crap to diagnose their BSODs if you like having your system flipping out and not saving your data then I guess systemd would be for you given it's direction. This is also akin to making your browser part of your OS and having it intertwine with it. (Bad Voodoo) I'm using Mint and looking for a possible way to decouple from systemd. I just don't see this as a good thing and it reminds me too much of M$ tactics. Now is the time to deviate from systemd and keep a more modular approach then watch and see if systemd starts to be an issue, which at this point if it keeps taking over more management it's only a matter of time. I also wonder if the M$ embracing open source has anything to do with this, it certainly smells of large corporation thinking or lack there of. I like improving things, but this does not appear to be an improvement rather a bomb waiting to go off. On these points this is a bad idea, binary not an easy way to gain insight and correct issues and adding multiple processes to control with more being added. I was able to patch heartbleed within 15 minutes after finding out about it. In the M$/corp world good luck hope it's this month.

Ummm..., on September 4, 2014 at 7:55 pm

I will admit right off, that I am not a linux designer or maintainer. I got started with linux about 20 years ago. People state that the old init system was fragile. Maybe it was, again…not building linux from scratch I wouldn't know. I don't recall ever having any issues though.

Whether right or wrong, from my (very) limited understanding, the systemd process is driven by binary files, which are not really meant to be edited or looked at by hand. So if something catastrophic happens (which granted hasn't happened yet)…how would I fix it or know what to fix? Go to my distro's forum and hope someone can fix it/release a patch soon?

Anyway, if one of the earlier commenters is correct, and there is no specific plan for systemd (which frankly is a scary thought)…how much more of the system will it continue to take over? And at what point does too much become too much?

I'm all for progress, but I think the Keep It Simple Stupid approach, which may not be "exciting" stuff to develop, it still the best approach.

"why did the people responsible for the development of the major Linux distributions accept it as a replacement for old init system?"

I can't speak for the initial decision, but at this point, I would suspect that inertia is keeping it in place. I highly doubt that any of the major linux desktop systems that must current users depend on would even function without systemd…at least not without a lot of major programming changes to make it happen. If someone did take that route, then all of those custom changes then need to be maintained.

(Simplistically thinking) Why can't things be more pluggable/portable? Distro X uses a systemd plugin for their init, and distro Y chooses to build against something else? Granted systemd is most likely now too big for that, but one can dream I suppose.

AC, on September 4, 2014 at 2:16 pm

Yes. Systemd is a trojan.

xx, on September 4, 2014 at 1:17 pm

Systemd is a perfect system for rootkits, and NSA backdoors.
Once it will be complete it will hide necessary processes even from root, it will filter unnecessary events from log, and it will do much much more.

But it seems, that only minority care about that.

Dimitri Minaev, on September 4, 2014 at 11:59 am

IMHO, the downside of systems as a project is that its parts lack a defined stable interface. This means that you cannot replace one part with a different one, creating your own stack of tools. When you configure your desktop system, you can combine any display manager with any window manager with any panel or file manager. Can you replace networkd with another tool transparently? If yes, can you be sure that your tool will keep working after the next systemd upgrade?

T Davis, on September 4, 2014 at 11:20 am

The reason Debian (and therefore Ubuntu) adopted SystemD is that the appointed Debian tech team is now devided equally between Ubuntu devs (which were Debian devs before Ubuntu came along) and Redhat employees. Look at the voting emails and 3 months of arguments.

The biggest issue is really not one of SystemD infiltration, but more of Redhat taking over every aspect of the Linux development process. Time and again, I have seen Canonical steer in their own direction, not because they want too go rogue, but because the upstreams for the main projects (Gnome, Wayland, Pulse Audio, now SystemD and possibly OpenStack, and even the kernel to some extent) are almost exclusively owned by Redhat, and only wish to make forward progress at their own pace (wayland has had almost twice the development time and resources as mir for example).

The REAL issue here is; who has the Linux community in their best interests? Do some real investigation and write a story on that.

Ericg, on September 3, 2014 at 7:12 pm
Except you, the author, has fallen into the same trap everyone else does… Confusing Systemd (the project) with systemd (the binary). Systemd, the project, is like Apache, its an umbrella term for a lot of other things. Systemd, logind, networkd, and other utilities.

Systemd, the binary, handles service management in pid1, that includes socket and explicit activation. Other tasks it passes off to non-pid 1 processes. For example: session management isn't handled through systemd pid 1, its handled through logind.

Readahead is handled through a service file for systemd, just like other daemons.

syslog functionality isn't handled in pid1, its handled in journald which is a separate process.

hostname, locale, and time registation are all handled through explicit utilities: hostnamectl, localectl, and timedatectl, which are done as separate processes.

Network configuration got added in networkd. What is networkd? The most minimal network userland you can have. Its for people who don't want to write by-hand config files, but for whom NetworkManager is way overkill. Is it pid 1? Nope.

Yes, systemd started off as "just an init replacement." It grew into more things. But don't assume that "systemd" (the binary) is the same as "systemd" (the project). Most things that are added to systemd in recent times AREN'T pid 1 like boycottsystemd claims, they're just small utilities that got added under the systemd umbrella project.

Peter, on September 4, 2014 at 4:42 am
Ericg, thats the problem
systemmd has become a whole integrated stack
init.d while not easy to use for starters, was at least within the idea of simple units which can be mixed and matched to get the results the user wants – note user wants – not developer wants

a Linux user, on September 4, 2014 at 5:23 am

hostname, locale, and time registation are all handled through explicit utilities: hostnamectl, localectl, and timedatectl, which are done as separate processes.

Missing the point.

People talk as though prior to systemd such tasks were beyond Linux, didn't work, always crashed, were a nightmare to use or manage and that is not the case.

The only difference I see between my Linux machine now and my Linux machine of a few years ago is that it now boots faster. And that's it. And whilst that's nice, it's so meaningless as to be painful to behold the enthusiasm that some display, as though all they did all day long was sit and reboot their machines with a stop watch in one hand.

The main problem with systemd is this – if there are ulterior motives at work here (and by definition they will be hidden at present) then by the time we find that out it will be too late.
And the other problem is that it takes a special kind of arrogance to sneer at 20+ years of development by some seriously smart people and claim that you, as a mere child, can do better. I do wonder how far systemd would have got had it not had Red Hat's weight behind it. I do realise that improvement sometimes means kicking out old 'tried and trusted' methods. But it's the way its happening with systemd that rings alarm bells – too many sneering, nasty bullies trashing anyone who disagrees (just like anyone who thinks Corporations should pay proper taxes is sneered at, or anyone who thinks Putin is not as bad as he is made out to be gets sneered at – sneering is the new way of silencing genuine debate, so when I come across it in Linuxland, alarm bells beging to ring).

Linux is about granular power and control, not convenience.

J. Orejarena, on September 4, 2014 at 9:38 am
"The main problem with systemd is this – if there are ulterior motives at work here (and by definition they will be hidden at present) then by the time we find that out it will be too late."

Just read http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html (without the blank space before ".net") to find the ulterior motives.

[Aug 30, 2015] This article [with the critique of systemd] is more full of bullshit than a bull stable .... with shit in it

Notable quotes:
"... the comments from Microsoft fans/paid-for-shills in other forums. They tend to attack anyone not accepting things imposed on them. ..."
Aug 30, 2015 | blog.erratasec.com
Stefan Anica said...
This article is more full of bullshit than a bull stable .... with shit in it.

Don il said...

BTW, comments such as next:

"This article is more full of bullshit than a bull stable .... with shit in it."

bring to my mind all the comments from Microsoft fans/paid-for-shills in other forums. They tend to attack anyone not accepting things imposed on them.

[Apr 15, 2015] Colourful ! systemd vs sysVinit Linux Cheatsheet

Does not prints well in Adobe reader. But is usable as image.

[Apr 15, 2015] Without Systemd

Without Systemd Wiki

Other useful sites

GNU/Linux distributions

[Apr 15, 2015] Is Modern Linux Becoming Too Complex

One man's variety is another man's hopelessly confusing goddamn mess.

Feb 11, 2015 | Slashdot

An anonymous reader writes: Debian developer John Goerzen asks whether Linux has become so complex that it has lost some of its defining characteristics. "I used to be able to say Linux was clean, logical, well put-together, and organized. I can't really say this anymore. Users and groups are not really determinitive for permissions, now that we have things like polkit running around. (Yes, by the way, I am a member of plugdev.) Error messages are unhelpful (WHY was I not authorized?) and logs are nowhere to be found. Traditionally, one could twiddle who could mount devices via /etc/fstab lines and perhaps some sudo rules. Granted, you had to know where to look, but when you did, it was simple; only two pieces to fit together. I've even spent time figuring out where to look and STILL have no idea what to do."

Lodragandraoidh (639696) on Wednesday February 11, 2015 @11:21AM (#49029667)

Re:So roll your own. (Score:5, Insightful)

I think you're missing the point. Linux is the kernel - and it is very stable, and while it has modern extensions, it still keeps the POSIX interfaces consistent to allow inter-operation as desired. The issue here is not that forks and new versions of Linux distros are an aberration, but how the major distributions have changed and the article is a symptom of those changes towards homogeneity.

The Linux kernel is by definition identically complex on any distro using a given version of the kernel (the variances created by compilation switches notwithstanding). The real variance is in the distros - and I don't think variety is a bad thing, particularly in this day and age when we are having to focus more and more on security, and small applications on different types of devices - from small ARM processor systems, to virtual cluster systems in data centers.

Variety creates a strong ecosystem that is more resilient to security exploitation as a whole; variety is needed now more than ever given the security threats we are seeing. If you look at the history of Linux distributions over time - you'll see that from the very beginning it was a vibrant field with many distros - some that bombed out - some that were forked and then died, and forks and forks of forks that continued on - keeping the parts that seemed to work for those users.

Today - I think people perceive what is happening with the major distros as a reduction in choice (if Redhat is essentially identical to Debian, Ubuntu, et al - why bother having different distros?) - a bottleneck in variability; from a security perspective, I think people are worried that a monoculture is emerging that will present a very large and crystallized attack surface after the honeymoon period is over.

If people don't like what is available, if they are concerned about the security implications, then they or their friends need to do something about it. Fork an existing distro, roll your own distro, or if you are really clever - build your own operating system from scratch to provide an answer, and hopefully something better/different in the long run. Progress isn't a bad thing; sitting around doing nothing and complaining about it is.

NotDrWho (3543773) on Wednesday February 11, 2015 @11:28AM (#49029739)

Re: So roll your own. (Score:5, Funny)

One man's variety is another man's hopelessly confusing goddamn mess.

Anonymous Coward on Wednesday February 11, 2015 @09:31AM (#49028605)

Re: Yes (Score:4, Insightful)

Systemd has been the most divisive force in the Linux community lately, and perhaps ever. It has been foisted upon many unwilling victims. It has torn apart the Debian community. It has forced many long-time Linux users to the BSDs, just so they can get systems that boot properly.

Systemd has harmed the overall Linux community more than anything else has. Microsoft and SCO, for example, couldn't have dreamed of harming Linux as much as systemd has managed to do, and in such a short amount of time, too.

Re:
Amen. It's sad, but a single person has managed to kill the momentum of GNU/Linux as an operating system. Microsoft should give the guy a medal.

People are loath to publish new projects because keeping them running with systemd and all its dependencies in all possible permutations is a full time job. The whole "do one thing only and do it well" concept has been flushed down the drain.

I know that I am not the only sysadmin who refuses to install Red Hat Enterprise Linux 7, but install new systems with RHE

gmack (197796) <[email protected] minus caffeine> on Wednesday February 11, 2015 @11:55AM (#49030073) Homepage Journal

Score:4, Informative)

Who modded this up?

SystemD has put in jeopardy the entire presence of Linux in the server room:

1: AFIAK, as there have been zero mention of this, SystemD appears to have had -zero- formal code testing, auditing, or other assurance that it is stable. It was foisted on people in RHEL 7 and downstreams with no ability to transition to it.

Formal code testing is pretty much what Redhat brings to the table.

2: It breaks applications that use the init.d mechanism to start with. This is very bad, since some legacy applications can not be upgraded. Contrast that to AIX where in some cases, programs written back in 1991 will run without issue on AIX 7.1. Similar with Solaris.

At worst it breaks their startup scripts, and since they are shell scripts they are easy to fix.

3: SystemD is one large code blob with zero internal separation... and it listens on the network with root permissions. It does not even drop perms which virtually every other utility does. Combine this with the fact that this has seen no testing... and this puts every production system on the Internet at risk of a remote root hole. It will be -decades- before SystemD becomes a solid program. Even programs like sendmail went through many bug fixes where security was a big problem... and sendmail has multiple daemons to separate privs, unlike SystemD.

Do you really understand the architecture of either SystemD or sendmail? Sendmail was a single binary written in a time before anyone cared about security. I don't recall sendmail being a bundle programs but then it's been a decade since I stopped using it precisely because of it's poor security track record. Contrary to your FUD, Systemd runs things as separate daemons with each component using the least amount of privileges needed to do it's job and on top of that many of the network services (ntp, dhcpd) that people complain about are completely optional addons and quite frankly, since they seem designed around the single purpose of Linux containers, I have not installed them. This is a basic FAQ entry on the systemd web site so I really don't get how you didn't know this.

4: SystemD cannot be worked around. The bash hole, I used busybox to fix. If SystemD breaks, since it encompasses everything including the bootloader, it can't be replaced. At best, the system would need major butchery to work. In the enterprise, this isn't going to happen, and the Linux box will be "upgraded" to a Windows or Solaris box.

Unlikely, it is a minority of malcontents who are upset about SystemD who have created an echo chamber of half truths and outright lies. Anyone who needs to get work done will not even notice the transition.

5: SystemD replaces many utilities that have stood 20+ years of testing, and takes a step back in security by the monolithic userland and untested code. Even AIX with its ODM has at least seen certification under FIPS, Common Criteria, and other items.

Again you use the word "monolitic without having a shred of knowledge about how SystemD works.The previous init system despite all of it's testing was a huge mess. There is a reason there were multiple projects that came before SystemD that tried to clean up the horrific mess that was the previous init.

6: SystemD has no real purpose, other than ego. The collective response justifying its existence is, "because we say so. Fuck you and use it." Well, this is no way to treat enterprise customers. Enterprise customers can easily move to Solaris if push comes to shove, and Solaris has a very good record of security, without major code added without actual testing being done, and a way to be compatible. I can turn Solaris 11's root role into a user, for example.

Solaris has already transitioned to it's own equivalent daemon that does roughly what SystemD does.

As for SystemD: It allows booting on more complicated hardware. Debian switched because they were losing market share on larger systems that the current init system only handles under extreme protest. As a side affect of the primary problem it was meant to solve, it happens to be faster which is great for desktops and uses a lot less memory which is good for embedded systems.

So, all and all, SystemD is the worst thing that has happened with Linux, its reputation, and potentially, its future in 10 years, since the ACTA treaty was put to rest. SystemD is not production ready, and potentially can put every single box in jeopardy of a remote root hole.

Riight.. Meanwhile in the real world, none of my desktops or servers have any SystemD related network services running so no root hole here.

Dragonslicer (991472) on Wednesday February 11, 2015 @12:26PM (#49030407)

Score:5, Insightful)

3: SystemD is one large code blob with zero internal separation... and it listens on the network with root permissions. It does not even drop perms which virtually every other utility does. Combine this with the fact that this has seen no testing... and this puts every production system on the Internet at risk of a remote root hole. It will be -decades- before SystemD becomes a solid program.

Even programs like sendmail went through many bug fixes where security was a big problem... and sendmail has multiple daemons to separate privs, unlike SystemD.

Because of course it's been years since anyone found any security holes in well-tested software like Bash or OpenSSL.

Anonymous Coward on Wednesday February 11, 2015 @08:24AM (#49028117)

Score:5, Interesting)

I was reading through the article's comments and saw this thread of discussion [complete.org]. Well, it's hard to call it a thread of discussion because John apparently put an end to it right away.

The first comment in that thread is totally right though. It is systemd and Gnome 3 that are causing so many of these problems with Linux today. I don't use Debian, but I do use another distro that switched to systemd, and it is in fact the problem here. My workstation doesn't work anywhere as well as it did a couple of years ago, before systemd got installed. So when somebody blames systemd for these kinds of problems, that person is totally correct. I don't get why John would censor the discussion like that. I also don't get why he'd label somebody who points out the real problem as being a 'troll'.

John needs to admit that the real problem here is not the people who are against systemd. These people are actually the ones who are right, and who have the solution to John's problems!

The comment I linked to says 'Systemd needs to be removed from Debian immediately.', and that's totally right. But I think we need to expand it to 'Systemd needs to be removed from all Linux distros immediately.'

If we want Linux to be usable again, systemd does need to go. It's just as simple as that. Censoring any and all discussion of the real problem here, systemd, sure isn't going to get these problems resolved any quicker!

Re:Why does John shut down all systemd talk? (Score:5, Insightful)

Ubuntu To Officially Switch To systemd Next Monday

As to rsyslog, you really are utterly stupid: Failing disks or filesystems are detected rightfully by the kernel, nothing else has any business doing so. Different from systemd "logging", rsyslog will not make the log problem worse by using a binary format and a broken flush strategy...
Don't forget that SystemD also has integrated into it, boot manager (not INIT, think GRUB), DHCPD, DHCP, an actual NAT, Firewall interfacing, keyboard culture, time settings, USB notification. etc etc. At one point, if your logging didn't work, it broke your keyboard so you could not terminal in. Don't you love it when two unrelated services with no logical dependencies can some how affect each other?
I am not especially well versed in the systemd vs sysinit issues. However, it is my understanding from reading other posts and articles on the issue is that those who are complaining about systemd are concerned unhappy with the non-linuxy way systemd approaches system process management.
What I mean by that, is traditionally the Linux "Philosophy" regarding the OS system and tools is that it should be made up of a collection of small stand alone software pieces that each do one small job and do it well. One system for initializing processes on bootup. One for scheduling jobs after boot-up. One for maintaining logs, ecetera. It is also my understanding that SystemD is taking the approach of wrapping up quite a number of those software pieces into one tool/process. The SystemD promoters believe the integration will make it the management of processes more efficient and cohesive. Those opposed believe it will make a monolithic process manager that in the long run will take more effort to maintain and offer less flexibility.

The speed of boottime is a dick-size contest at best. As soon as boot times are below 1 minute, it isn't relevant anymore. The process of typing login and password takes longer.

March 06, 2015 | slashdot.org
jones_supa writes: Ubuntu is going live with systemd, reports Martin Pitt in the ubuntu-devel-announce mailing list. Next Monday, Vivid (15.04) will be switched to boot with systemd instead of UpStart. The change concerns desktop, server, and all other current flavors. Technically, this will flip around the preferred dependency of init to systemd-sysv | upstart in package management, which will affect new installs, but not upgrades. Upgrades will be switched by adding systemd-sysv to ubuntu-standard's dependencies. If you want, you can manually do the change already, but it's advisable to do an one-time boot first. Right now it is important that if you run into any trouble, file a proper bug report in Launchpad (ubuntu-bug systemd). If after some weeks it is found that there are too many or too big regressions, Ubuntu can still revert back to UpStart.

Re:ABOUT FUCKING TIME! (Score:5, Informative)
by phantomfive (622387) on Friday March 06, 2015 @01:36PM (#49198751) Journal

I cannot believe that two known incompetent hacks with bad personalities can screw over a whole large tech-savvy community all by themselves.

I don't think it's that bad, they don't have to convince the entire 'tech-savvy community,' they only need to convince a very small subset of that community, the people who are writing init scripts for distros. And that subset is very small.

Systemd knows that very well. They've worked very hard to make init-script writers happy, and have been very responsive in making changes. If you look through the Debian mailing lists, you can see this......there's no need to blame the NSA or others. They're just following a useful principle: find the ones who have power to do what you want, then make them as happy as possible. The systemd people have done that.

Re:Watching systemd evolve (Score:5, Informative)
by kolbe (320366) on Friday March 06, 2015 @11:31AM (#49197249) Homepage

But but Fedora has been using it for years without issue! Oh wait, that's because no Admin in their right mind would use Fedora as a server. But but it is stable and secure. Oh wait, your high load servers keep corrupting the journald and journalctl can't read portions of it without trying to replace the who journal with a new one. But but you can install rsyslog to fix that! Yeah, because we ALL like having to beta test an unproven product in a production environment only to be forced in resorting to something else that actually works as intended.

I'm caring less about systemd and more about how shortsighted they were when they forced everyone to use journald. The fact that I have to configure rsyslog to have a working log that does not constantly get corrupted and restart a new log, erasing the old one is annoying and shows just how unproven this entire systemd implementation truly is.

Re:Watching systemd evolve (Score:4, Informative)
by devent (1627873) on Friday March 06, 2015 @12:18PM (#49197777) Homepage

Fedora is a testing ground for Red Hat Linux, you know, the predominant server distribution. Red Hat Enterprise Linux have systemd starting with version 7.0 and Ubuntu just joins the ranks of every other enterprise Linux distribution to use systemd, like SUSE Linux Enterprise Server and Mageia. So, you are ignorant of the facts to call systemd an "unproven product".

Re:

There are quire a few people and organizations that are avoiding the downgrade to RHEL 7.0 like the plague and with good reason. Most of these have given it a shot and have good reasons.

Re:
"your high load servers keep corrupting the journald " corrupting a daemon?

Re:

Indeed. This is crap-ware in the finest tradition of old Windows releases. Unfortunately, parts of the Linux-community seem to have forgotten why good Linux software is stable, secure and mature.

Peter H.S. (38077) on Friday March 06, 2015 @01:27PM (#49198605) Homepage

Re:Watching systemd evolve (Score:5, Informative)

Don't get your panties in bunch just because you discover that the journal is "corrupted"; usually it is just trivial stuff like a malformed timestamp or a field value that isn't valid in a single log entry. journald actually test and validate incoming log messages and report errors as it finds them. Even then, you can often read the log entry, but of course, the invalid field value will be missing.

The reason why people discover "corrupted" journal log files is because systemd's journal have integrity checks, unlike syslog who doesn't and where the admin therefore never will know if there are spurious or invalid log entries unless he happens to stumble upon them by chance.

Seriously, if you really care about each and every log entry, you should never have been using syslog anyway; it simply silently drops messages under load, and both local and remote logging are inherently unreliable. Yeah, I know Rainer have made a signal-safe syslog library, but does anybody actually use it?

There are simply too many Linux newbies who seems to be unaware of decade long struggle to improve the many, many problems with syslog. The "rsyslog" team have fought heroically, but often in vain, to try to fix many of the problems.

Syslog, like cron and SysVinit are among the several pieces of Linux infrastructure that can't be changed or radically improved. Because if you change your syslog/cron/SysVinit implementation, it would be incompatible with syslog/cron/SysVinit, so no one would use it, because user space programs doesn't support it etc. A circular dependency that prevent all progress. The systemd project have finally broken Linux free from that quagmire, so now we can actually have Linux infrastructure developed in the same pace as the kernel and user space programs and daemons.

systemd's journal is, warts and all, a massive improvement over the what existed before.

kolbe (320366) on Friday March 06, 2015 @12:18PM (#49197781) Homepage

Re:Watching systemd evolve (Score:5, Informative)
Here is one of many:

https://bugs.freedesktop.org/s... [freedesktop.org]

The TL;DR resolution: journalctl --fsck after rotation or pump it into a traditional syslog

Lennart Poettering's comments about it:

"our strategy to rotate-on-corruption is the safest thing we can do, as we make sure that the internal corruption is frozen in time, and not attempted to be "fixed" by a tool, that might end up making things worse"

gweihir (88907) on Friday March 06, 2015 @12:59PM (#49198245)

Watching systemd evolve (Score:5, Insightful)

Nice. This person does not even understand what logs are for and why it is critical to make sure they get to disk uncorrupted if possible at all. A decent system will achieve that as long as the disk is still up. systemd apparently does not even try to.

Fascinating. You have not the least clue what you are talking about. Obviously nobody with the least bit of clue would expect logs to be cleanly written on failing disks, hence this is not even a subject for discussion.

As to rsyslog, you really are utterly stupid: Failing disks or filesystems are detected rightfully by the kernel, nothing else has any business doing so. Different from systemd "logging", rsyslog will not make the log problem worse by using a binary format and a broken flush strategy...

unrtst (777550) on Friday March 06, 2015 @01:51PM (#49198935)

Re:Watching systemd evolve (Score:5, Informative)
The bug report linked by kolbe (https://bugs.freedesktop.org/show_bug.cgi?id=64116) is, IMO, a very good read to give a quick glimpse of the fine lines between the two camps (pro-systemd; anti-systemd).

Poettering's first reply/answer was simple, "Yupp, journal corruptions result in rotation, and when reading we try to make the best of it. they are nothing we really need to fix hence."

That embodies the "here's a bug; our answer is to say it's a feature and not a bug; NOFIX" that some people feel.

He then follows it up with a much longer reply because, "Since this bugyilla report is apparently sometimes linked these days as an example how we wouldn't fix a major bug in systemd". I'm not quoting out of context - that's the first sentence of his reply. Regardless of the motivation to his reply, the reply was much more thorough and he seems to truly want to help others understand. IE. I think it shows some of the good side there.

However, I'm still anti camp, and I'm not there because bugs like this are not directly fixed. I'm anti because of the underlying assumptions that are needed in order for his reasoning to be justified. In this case, that reasoning only works if one assumes the need for a binary log whose format includes re-writable parts at the front of the file, and whose corruption results in an non-repairable state. However, if the format is such that, after corruption, it's difficult or impossible to fix, why are they using that format?

FWIW, that specific bug report was, "How does one fix journal corruptions?". In that context,his answer is completely sufficient - you don't. The next question seems obvious to me though - how do we avoid that in the future? Currently, it seems that the systemd solution is to make the log reader more intelligent so that it can handle the corruption, like an FSCK, and read as much as it can.

Personally, I'm really hoping that uselessd matures and becomes commonplace and easy to drop in. It's not ideal, but it seems that systemd is going to be everywhere through the Linux community, and there's no good way to avoid that at this time. Uselessd would at least allow someone to use alternative init systems while still being able to use modern applications and environments without crippling them. Regardless of ones opinions on systemd and other init systems, the ability to swap out a subsystem is something that we should all be able to recognize as valuable.

Re:

How do you feel about Theo?

I think there must be some deep psychological understanding you can come to based on people's reactions to Linus, RMS, Theo, and Poettering, but I have no idea what. All four of them are massively arrogant, though three have earned it and deserve some respect, but only one is a douche bag.

Bug report (Score:2, Funny)

The bug is systemd.

Anonymous Coward on Friday March 06, 2015 @11:32AM (#49197251)

Re: What is systemd exactly? (Score:4, Interesting)

Don't forget that SystemD also has integrated into it, boot manager (not INIT, think GRUB), DHCPD, DHCP, an actual NAT, Firewall interfacing, keyboard culture, time settings, USB notification. etc etc. At one point, if your logging didn't work, it broke your keyboard so you could not terminal in. Don't you love it when two unrelated services with no logical dependencies can some how affect each other?

Re:

Can you define "SystemD also has integrated into it"? Because that what you have listed are independent daemons that offer functionality and are not "integrated" into systemd. The only "integration" you have is the common name prefix "systemd-" like "systemd-tty-ask-password" to avoid name conflicts.

"At one point, if your logging didn't work, it broke your keyboard so you could not terminal in. Don't you love it when two unrelated services with no logical dependencies can some how affect each other?"

Anonymous Coward on Friday March 06, 2015 @11:40AM (#49197361)

Re:What is systemd exactly? (Score:5, Informative)

I am not especially well versed in the systemd vs sysinit issues. However, it is my understanding from reading other posts and articles on the issue is that those who are complaining about systemd are concerned unhappy with the non-linuxy way systemd approaches system process management.

What I mean by that, is traditionally the Linux "Philosophy" regarding the OS system and tools is that it should be made up of a collection of small stand alone software pieces that each do one small job and do it well. One system for initializing processes on bootup. One for scheduling jobs after boot-up. One for maintaining logs, ecetera. It is also my understanding that SystemD is taking the approach of wrapping up quite a number of those software pieces into one tool/process. The SystemD promoters believe the integration will make it the management of processes more efficient and cohesive. Those opposed believe it will make a monolithic process manager that in the long run will take more effort to maintain and offer less flexibility.

That is my understanding looking in from the outside.

blue9steel (2758287) on Friday March 06, 2015 @11:40AM (#49197363)

What is systemd exactly? (Score:5, Informative)

The init system handles the initial startup of a linux os. It's been acknowledged for some time that it has some limitations, especially in terms of threading and dependency management but for the server world that's usually not that big a deal since the primary users are technical specialists who are comfortable mucking around with that sort of thing.

For desktops and mobile devices though those are more serious concerns because they impact user experience and many users don't have the skills to modify things themselves. Systemd is a replacement for init.

PROS: It has faster boot time and more sophisticated dependency management

CONS: It's new (which means lots of people who understand the current system will have to relearn how things work), it's harder to directly customize (requires a higher level of skill to modify), it's a more monolithic design (which violates the linux design principle of do one thing and do it well), it uses binary log files (which violates the linux principle of everything is a text file) and it's taken on a larger number of roles than many feel is appropriate for a single subsystem.

In short, it's probably an improvement for desktop & mobile users who mostly don't care and it's a pretty big inconvenience and possible downgrade for systems administrators who manage servers.

Re:

I'd say in short, it sounds like a terrible idea. If it takes something that people already have issues dealing with because it's too complicated, and makes it more complicated and non-standard to boot, what's the benefit? And binary log files? I must be missing something here. Haven't run a "new" Linux server in a year, so haven't really dealt with nor read anything on systemd at all, other than to know there's a large contingent of folks that don't like it, have lots of reasons for hating it, and the "pro
Re:

The speed of boottime is a dick-size contest at best. As soon as boot times are below 1 minute, it isn't relevant anymore. The process of typing login and password takes longer.

And if boottime is a serious issue, don't shut down at all. You can put the machine to sleep and go on with what you were doing the next day.

The ONLY moment I reboot is when I need to (e.g. new kernel). Otherwise I use suspend or hybernate.

I even use it instead of a screensaver.

So yes, faster boottimes, but how much faster? How much

tlhIngan (30335) <slashdot@wo[ ]net ['rf.' in gap]> on Friday March 06, 2015 @12:30PM (#49197935)

Re:What is systemd exactly? (Score:5, Informative)

The init system handles the initial startup of a linux os. It's been acknowledged for some time that it has some limitations, especially in terms of threading and dependency management but for the server world that's usually not that big a deal since the primary users are technical specialists who are comfortable mucking around with that sort of thing. For desktops and mobile devices though those are more serious concerns because they impact user experience and many users don't have the skills to modify things themselves. Systemd is a replacement for init.

Kinda sorta. You missed the fact that init itself is also a process manager. In that it's responsible for starting and stopping processes based on runlevels. (Yes, init can start and stop processes on runlevels)

There's a nasty hack called SysVInit that adds a bunch of shell scripts to init in order to try to replicate the functionality of init. This is done because instead of fixing init's fundamental flaw, people decided to hack a workaround and create a lamer version of a process manager and its hacks. The flaw? Init relies on /etc/inittab for all its process management information needs. One file makes it extremely non-trivial to add and remove services from it programmatically.

It's why we have to deal with daemons that monitor other daemons that restart daemons should they quit (something init does quite well - even handling cases where a daemon restarts too quickly by pausing it so it doesn't hog system resources).

And on another note, we have userspace versions of init that manage user processes on login. The desktop/mobile use cases often have per-user applications that startup and run in the background for the user, and need to be managed on a per-user basis.

So in the end, we end up with the system master process manager, init, a set of hacks and shell scripts to try to emulate it (SysVInit), and one for individual users who wish to have personal services run. Because it's more unix-y to hack three different tools that do almost the same thing, but each with their own limitations and idiosyncrasies rather than one tool to do the job well.

ledow (319597) on Friday March 06, 2015 @11:59AM (#49197567) Homepage

Re:What is systemd exactly? (Score:4, Interesting)

Collate all the thousands of customised, random and disparate init scripts that start up the system (what services to run, in what order, when to mount the filesystem, how to do so, what flags to use, how to tie it all in so you boot properly every time, etc.) into a handful of huge binaries that do some clever magic to do roughly the same job (maybe quicker, maybe more reliably, maybe not - there's evidence both ways depending on the usage case in question).

The problem is that a lot of the behind-the-scenes tinkering and established-over-decades code in scripts is going out of the window and one huge set of binaries are trying to replace it WHILE also stepping in to replace an awful lot of other pseudo-related systems. Systemd is tying into everything from initial boot to how to configure your soundcard.

On the one hand, you have Windows etc. who've always done it this way - you can't play with the boot process there at all and the closest you can get is playing with Automatic / Delayed Start / Manual on a service, or RunOnce lists. On the other hand you have generations of UNIX admins who are recoiling in horror at the idea of having lots of unaccountable, undebuggable binaries doing these jobs where scripts have always played their part.

It's against the "one tool does one job, and does it well" philosophy, and quite scary that so much of your system working is reliant on systemd behaving as expected.

I can't be the only person who's been glad when a kernel has completely failed to do anything useful because of a broken system and just dropped you to a root bash shell to let you fix it.

On the "I want my desktop to just work" side, they're generally cheering for systemd. On the "I want my desktop to do what I say and let me choose what happens at all stages" side, they're generally against it.

More importantly, in my opinion, is quite how much critical code is now under the control of one project that always seems to want to do things "differently", and how much that's going to tie our systems into a future "do it the systemd way or don't do it at all" scenario.

It doesn't help that personalities on both sides fan the flames in the heated debate.


jbernardo (1014507) on Friday March 06, 2015 @12:52PM (#49198163)

Why systemd took over (Score:5, Interesting)

There are several main reason why systemd has overrun some of the best known distros. On of the biggest is simple. Gnome depends on it, and soon KDE will too. Distro maintainers either bend over for systemd, or will spend a lot of time patching and trying to get these two desktops working on GNU/Linux.

Then, you have two types of distro maintainers. Volunteers, and paid developers. Volunteers are guys like you and me, with limited time to help, doing things on spare time. Paid developers usually are RedHat or Canonical employees (we also had Novell employees when they destroyed SuSE), and the first seem to be more and with more money to spend on pushing RedHat technologies. Unpaid volunteers can't even compete with the deluge of code and the sponsored conferences and presentations. Any alternative or dissenting voice is either bought or pressured to give up.

Finally, some claim that systemd solves a lot of things that didn't work, and that if you don't know what these are then you are an idiot, as obviously Linux has never worked well in the last 20 years.

But what do I know, I've been told enough times that I am heretic (hater in doubleplusgood newspeak) for daring to criticise systemd.

CurryCamel (2265886) on Friday March 06, 2015 @01:03PM (#49198297) Journal

Re:What is systemd exactly? (Score:5, Interesting)

That baffles me too.

But I guess your have your 'minority' and 'majority's mixed. A more powerful minority - the distro makers - make this decision (and they seem terribly non-vocal, I'm still hoping someone would explain in simple terms why systemd is a good thing. No, cutting down the cold boot time from the ~20s it is with init is not a terribly good reason in my book).

I don't like systemd, but I am not that vocal about it. I don't know it closely enough to comment. My experience with systemd is as follows:

The point is, I cannot blame systemd for this. I should RTFM. As soon as I find it. And have time for it.

Reading bash scripts is much easier.

vux984 (928602) on Friday March 06, 2015 @12:28PM (#49197895)

Re: What is systemd exactly? (Score:5, Insightful)

what exactly is systemd and why do we keep hearing so much about it?

Part of the problem is that its poorly defined. It's touted as a replacement for the init system. (The system that manages other services. So for a windows user it's core functions as the services host process -- its where you can start and stop services, determine which startup at system startup. Stop them. See which are running. Restart crashed services, etc. It does startup in parallel so it's faster than the traditional init system.

But doesn't just replace init, it relplaces cron (the task scheduling system -- "scheduled backups and such" not "cpu thread scheduling"; it replaces the event logging system, it replaces the login system...

The unix philospophy is for components to be small and do one thing well and to to let users build a system out of the different pieces they want. systemd is big and tightly integrated and more of an all-or-nothing and that rubs a lot of people the wrong way.

And the main valid criticisms of are (IMHO)

  1. Binary logging -- the advantages of the systemd logging system are apparent, but there are disadvantages too; users should have choice.
  2. It potentially creates a layer between kernel and the rest of the system that becomes entrenched and irreplaceable. As applications going forward will develop dependencies on the rich services of systemd it will become impossible to replace systemd with anything else, except maybe a fork of systemd. (This rubs a lot of people the wrong way.)
  3. the rich service layer and tight integration stifles innovation; for example assuming systemd has traction someone can't make a "better cron" now, because that functionality is part of systemd. They can't make a better init-only system because applications will be relying on all the other services of systemd.
  4. it gets between the rest of the system and the kernel, and in many cases you have to work through systemd and can't just go to the kernel. This has its good points, but also its problems and further entrenches systemd.

Perhaps GNU/Linux systems with systemd should properly be called GNU/systemd/Linux systems to emphasize the point.

I don't personally hate systemd; I recognize a lot of thing it does are good for large parts of the linux user base. But I do agree with the 'haters'; that its not modular enough and that leads to several valid complaints.

I doesn't help that the egos involved on all sides are large and uncompromising.

PPH (736903) on Friday March 06, 2015 @12:16PM (#49197747)

Re:What is systemd exactly? (Score:5, Interesting)

then you need to know that "sudo service apache2 restart" is now "sudo systemctl restart apache2" (probably) and that is about all you need to know.

But the System V "apache2" is a shell script. On my minimalist laptop, its about 300 lines long. On an actual production server, I imagine the admins have added quite a bit of additional status checking, cleanup and initialization smarts to this script and it is several times as long.

Back when systemd was first proposed, one of its goals was to "speed up" booting by eliminating init scripts. Each which consumed some resources starting its own bash instance. It was actually a bunch of people unfamiliar with modern o/s operation who were getting butthurt over the fact that a freshly booted *NIX system had "consumed" several thousand process IDs. Seriously. I split my sides over this argument, having run many systems that have 'wrapped around' PID numbers several times.

Now, all of this shell script pre-processing is gone*. Systemd seeks to 'clean up' the boot process by launching executables directly. And this is what many sysadmins are upset about. They will have to find a new home for all the startup processing that they have tuned. And that will break stuff until the conversion is done.

*Or the service developers will just arrange to have systemd run their old System V scripts. Which puts us right back to where we started.

Re: What is systemd exactly?

Note that sysv init only does anything useful for 3 use cases:
-booting the system
-shutting down the system
-changing run levels (which both of tje above are considered to be)

On most machines these days, no one changes run levels more than once or twice a month.

Note that sysv init does absolutely nothing for stopping/starting or restarting services without changing run levels. All of this is done by scripts (that are compatible with sysv init) which are unique for every family of distros, and mainly source lo

wisnoskij (1206448) on Friday March 06, 2015 @11:37AM (#49197329) Homepage

I never really understood either side, far above my head. But I have used Ubuntu a few times and followed their major changes over the last decade. If there is one thing I do understand is that if Ubuntu is switching to it it must be a trendy piece of crap, far from ready for prime time.

bmajik (96670) <[email protected]> on Friday March 06, 2015 @12:23PM (#49197847) Homepage Journal

themes and skins? (Score:5, Funny)

I won't use systemd until it is themeable, or at least skinnable.

Also, where are all the good screenshots showing cool systemd setups?

Maltheus (248271) on Friday March 06, 2015 @12:47PM (#49198125)

Gentoo FTW (Score:3, Insightful)

Ubuntu is geared more toward people who don't care much about managing the boot details. So I think it might make sense for them. I chose my distro based on how much control it gave me. And luckily, they still seem committed to OpenRC. When it comes to booting, keep it simple!

gweihir (88907) on Friday March 06, 2015 @03:12PM (#49199821)

Re:Floating (Score:4, Informative)

Init is still good for many applications (and completely satisfactory for server use). If somebody tries to prevent me from using it or to make that hard, then these people become an enemy. The systemd crowd qualifies.

serviscope_minor (664417) on Friday March 06, 2015 @12:21PM (#49197827) Journal

Dumped for BSD (Score:4, Insightful)

Linux has become an utterly chaotic mess that isn't fun anymore because most of my time is spent relearning the bullshit that comes with software designed by consensus

Actually Linux always was an utterly chaotic mess and that's precisely what made it so fun. It's the waves of Windows envy followed by waves of Mac envy which have sucked the fun out of it.

Still it's all relative and I'd rather use Linux than one of the more commercial offerings by a very long way.

Anonymous Coward on Friday March 06, 2015 @12:38PM (#49198033)

Re:Question from a non-Linux user (Score:4, Insightful)

The SystemD crowd are windows devs who hate 8 so much, they finally decided to get into linux. Sadly, they want linux to work like windows, so they foist their shit into it. It does make boot times faster: something sysadmins usually don't give a shit about since you don't reboot servers. Red Hat wants systemD because it will let them abstract linux (the kernel) away to the point where they can control it instead of "the community". In addition, several genuinely nice tools, UUID for disks, are being folded into SystemD so, in order to get those tools, you *must* also use SystemD. Essentially it's being bundle in with other services.

Sadly, SystemD is not well tested enough for most people running linux on a server to trust it especially since the guy who wrote it wrote PulseAudio and people are still having issues related to that piece of shit.

Pros:
* Boots fast

Cons:

* When it breaks, you're fucked
* Obsoletes 20-30 years of accepted best practices and knowledge of how to use linux tools
* No real new features
* Is network connected and running as superuser
* Is unaudited
* Is virtually untested
* Was written by a raging moron
* Is completely unneeded by a large section of people who have run linux for a long time

Essentially, it's the Windows 8 of the *nix world

Systemd Harbinger of the Linux apocalypse By Paul Venezia

Aug 18, 2014 | InfoWorld

While systemd has succeeded in its original goals, it's not stopping there. systemd is becoming the Svchost of Linux -- which I don't think most Linux folks want. You see, systemd is growing, like wildfire, well outside the bounds of enhancing the Linux boot experience. systemd wants to control most, if not all, of the fundamental functional aspects of a Linux system -- from authentication to mounting shares to network configuration to syslog to cron. It wants to do so as essentially a monolithic entity that obscures what's happening behind the scenes.

No matter which side of the argument you're on, this monolithic approach is in violation of the rules of Unix, specifically the rule stating it's best to have small tools that do one job perfectly rather than one large tool that is mediocre at performing many jobs. Prior to this, all the functions subsumed by systemd were accomplished by assembling small tools in such a way that they performed the desired function. These same tools could be used within a variety of other scripts to perform myriad tasks -- there was no singular way to do anything, which allowed for extreme freedom to address and fix problems. It also allowed for poor implementations of some functions, simply because they were poorly assembled. You can't have both, after all.

... ... ...

My take is that systemd is a good idea poorly implemented, developed by people with enormous egos who firmly believe they can do no wrong. As it stands now, both systemd and the developers responsible for it need to change. In the open source world, change is a constant and sometimes violent process, and upheavals around issues such as systemd aren't necessarily bad. That said, these battles cannot be drawn out forever without causing irreparable harm -- and any element as integral to the stability and functionality of Linux as systemd has even less time than most.

>[Nov 28, 2014] Debian Forked Over Systemd
November 28, 2014 | linux.slashdot.org
Soulskill
jaromil writes: The so called "Veteran Unix Admin" collective has announced that the fork of Debian will proceed as a result of the recent systemd controversy. The reasons put forward are not just technical; included is a letter of endorsement by Debian Developer Roger Leigh mentioning that "people rely on Debian for their jobs and businesses, their research and their hobbies. It's not a playground for such radical experimentation." The fork is called "Devuan," pronounced "DevOne." The official website has more information.

Ynot_82 (1023749) on Friday November 28, 2014 @03:31PM (#48480815)

Wow... (Score:4, Insightful)

...a fork of Debian,
Such a thing is unheard of in Debian's 20-odd year history.
I wonder what the impact of this fork will be on Debian-proper.

walterbyrd (182728) on Friday November 28, 2014 @03:36PM (#48480847)

Re:Wow... (Score:4, Interesting)

I think it's fair to say that this fork is far more significant.

I certainly wish them luck, but I am concerned that they may not be able to get the resources needed to successfully compete against the Redhat/Debian agenda.

swillden (191260) <[email protected]> on Friday November 28, 2014 @05:04PM (#48481403) Homepage Journal

Re:Wow... (Score:4, Interesting)

I think it's fair to say that this fork is far more significant.

I think this fork will be fairly insignificant, and, further, that it will increasingly run into problems as desktops and other packages depend more and more on systemd components (that trend was one of the major factors in the Debian decision to adopt it).

I actually wish the Devuan guys all the best; I'd love to see another solid server-focused distro (server focus may help them avoid the issues with DEs). But I'm really glad to hear about this fork because the systemd debate has been a huge distraction to Debian. Hopefully this will finally put it to bed as all of the systemd opponents leave Debian for Devuan. I think that will be a net win for Debian because most of the vocal opponents don't contribute much code anyway.

Personally, the more I learn about systemd, the more I like the ideas behind it, and both code and documentation seem to be of high quality (documentation in particular is much better than is typical of open source projects). I'll be sticking with Debian.

linuxrocks123 (905424) on Friday November 28, 2014 @06:45PM (#48482031) Homepage Journal

Re:Wow... (Score:2)

I think this fork will be fairly insignificant, and, further, that it will increasingly run into problems as desktops and other packages depend more and more on systemd components (that trend was one of the major factors in the Debian decision to adopt it).

Right! Lord knows open source software is known for its hard dependencies on system-specific interfaces, and for its contempt for cross-platform standards such as POSIX.

I mean, if you're on Windows, you're totally SOL [cygwin.org] if you want to use anything from Linux-land. Likewise, Mac users [finkproject.org] are totally f*ed if they want to make use of their OS's Unix roots to run Linux-oriented software.

Oh, and BSD users who want to run anything outside the system core? Out of luck. [freebsd.org] No one's going to bother taking all that Linux-specific code, which never pays attention to POSIX and uses syscall() into the Linux kernel everywhere, for such a fringe distro!

I guess we'll just stay in the world we are now, where everything on SourceForge is hooked directly into the Linux kernel, and the de-jure standards like POSIX and de-facto ones like GLIB are used as toilet paper for the Linux devs' asses.

Everyone knows almost all OSS software only runs on Linux right now anyway. Now it'll just be more of the same, but with SystemD dependencies built in, too! ...

Hmm, I think the LSD has worn off now. Ok, I have another opinion:

OSS software tends to follow portability best practices, where hard dependencies are eschewed when possible. A few corrupt, blinkered projects such as GNOME might decide to build in hard dependencies to SystemD. Most other software won't, because they'd lose portability to every platform other than Linux with SystemD. And most OSS software cares about that.

HAND.

dbc (135354) on Friday November 28, 2014 @05:18PM (#48481483)

Re:Wow... (Score:5, Insightful)

You comment is well put. A distro that is "Debian without systemd dependencies" has a very large built-in audience right out of the gate.

And that audience is technically sophisticated, with the ability to contribute. Regardless of whether or not you consider that audience a herd of Luddites (which I do not) it has both critical mass and sufficient know-how and motivation to give Devuan a fast ramp, which is the key to survival in today's crowded distro world.

quantaman (517394) on Friday November 28, 2014 @06:18PM (#48481847)

Re:Wow... (Score:2)

Of all Linux distributions, Debian was *the* first choice for running servers, but since they decided to force systemd down users throats they have lost a lot of credibility in the BOFH world.

A sysadmins first concern is reliability of its systems and this was also Debian's for a very long time. Clearly the adoption of systemd is not going in this direction. It seems to me that Devuan people understood that and want to take the now deserted land of server oriented distros. Of course the meaning for Debian is they will now have a hard time to compete with the whole lot of very good desktop distributions if they don't want to lose most of their users.

Then why aren't you hearing anything from the Red Hat customer base? If anyone wants reliability it's the enterprise which is Red Hat's entire market. The fact that nothing is coming from that side tells me that this is about something else entirely where people are more concerned about the political process and symbolism than the technical merits.

Maybe there is a big demand for a very stripped down low feature server distro, but I suspect this isn't going do become a big player.

raxx7 (205260) on Friday November 28, 2014 @06:12PM (#48481809) Homepage

Re:All right, allow me to expose my ignorance (Score:5, Informative)

systemd is, first, a new init system for Linux, to replace sysv init.

Additionally, it brings a host of companion daemons: logging (journald), a session manager (logind) and a bunch of others.

systemd and it's companions offer a host of functionality and a number of software pieces are becoming to depend on it, to the point you "can't" run a fully functional Gnome3 without using systemd as init (it needs the session management functionally of logind, for example).
The major distributions have adopted systemd as default init system: Fedora, RHEL, SuSE, Debian and Arch. Ubuntu hasn't changed yet but they have announced they will follow Debian in the future.

There is a number of people who dislike it for many reasons, which are hard to summarize because many of the people dislike it for false reasons and only some actually make valid and constructive critiques.

Eg, many people claim it's monolithic. In fact, it's made of ~100 daemons and applications and the init process isn't that big. Much much smaller than the Linux kernel itself, which a big monolithic kernel.

Many people dislike being "forced" to use because the major distributions are adopting it and major projects like Gnome are becoming dependent (with KDE talking about it too).

I use "" in "can't" and "forced" because it's not strictly true. While a lot of people whine and hate in slashdot, a small number of people have been putting their code where their mouth is and working on alternatives.

Eg, there's a systemd-shim package in Debian which actually allows you to run Gnome3 very nicely without using systemd as init, by providing the necessary systemd features.

hum (Score:5, Insightful)

Endymion (12816) <<slashdot.org> <at> <thoughtnoise.net>> on Friday November 28, 2014 @04:57PM (#48481353) Homepage Journal

Ahh, the usual misrepresentation of why we oppose systemd that always shows up. Calling us haters while trying to reframe the discussion away from the real issues isn't convincing - it just adds evidence that systemd gains position by propagand and politics instead of design and implementation quality. No, you are not going to scare us away form linux. Some may retreat to FreeBSD, which is fine (it's a good OS). The rest of us are going to stay with linux, even if it large parts of linux leave and become part of the systemd monoculture. We've been here before, after all, over a decade ago.

The varied technical issues with systemd are bad enough, but they have already been discussed, and are a central reason why the sysadmins ae forking Debian. Many systemd advocates try and steer discussions back to these technical issues - while denying that systemd doesn't actually work for everybody - to avoids talking about the fundamental design problems and philosophical changes that systemd forces on Linux.

While it is currently popular to "move fast and break things", those of us with more experience understand the value in not breaking everything. None of this means that those that are better served by systemd should stop using it! We're only angry about the attempts to force a monoculture by breaking compatibility for political reasons, when there as no technical need. You know, like Microsoft does with their "not invented here" attitude.

Still, those are philosophical issues about the software itself. That is not the primary problem some of us have with systemd, which is not about technical problems, but is instead an attack on our preferred method of licensing. The systemd takeover is an attempt to separate Linux and many userspace tools from the GPL, so that software can be used under the LGPL terms instead.

What is the big difference between GPL and LGPL? Linkage. Linking to a GPL library requires you to follow certain requirements if you link against it, while the LGPL specifically allows taht usage. (k)dbus provides the workaround, by replacing what would be a normal function call into a library with a "IPC". It's slower, but so what, computers are way faster than needed. In the end, while you can still choose to release your code as GPL, if you have to use an IPC mechanism to do anything useful the license requirements that will actually apply ends up being being more like the LGPL. For a better explanation, see this post by stevel [gentoo.org] in the Gentoo forums.

Well, if I wanted to release under the LGPL, I would. What I'm not going to do is undermine my choice of license just because a bunch of embedded developers (and others) want to use what were traditionally GPL projects without having to be bound by the copyleft requirements. If this was proprietary software, you would call that kind of behavior "stealing" or "piracy".

So don't bother with claims about "faster desktops" or "easier programming". When your solution also bundles a forced monoculture ("unifying the difference between distributions") and contains a loophole around the licence some of us chose it is simply not an option for those of us that place "freedom" as the most important feature. /how much does JTRIG (or their equivalent) pay for these propaganda attempts, anyway? //It's a waste of money regardless, given how transparent these comments are ///some of this post is reused from a post I made on HN

Uecker (1842596) on Friday November 28, 2014 @06:50PM (#48482059)

Re:hum (Score:2)

Interesting. I have to say I am also worried about software freedom, but not so much because of licensing.

I am worried because loosly coupled systems based on well defined interfaces are replaced by deeply integrated systems.

This means that you cannot easily replace one part you do not like with another anymore. This is not only bad engineering, it also limits your freedom in a very real sense. This is the real problem with systemd - and not only with systemd

[Nov 21, 2014] Debian Votes Against Mandating Non-systemd Compatibility

Posted by Soulskill on Wednesday November 19, 2014 @08:16AM
from the there-will-be-peace-in-our-time dept.

paskie writes:

Voting on a Debian General Resolution that would require packagers to maintain support even for systems not running systemd ended tonight with the resolution failing to gather enough support.

This means that some Debian packages could require users to run systemd on their systems in theory - however, in practice Debian still works fine without systemd (even with e.g. GNOME) and this will certainly stay the case at least for the next stable release Jessie.

However, the controversial general resolution proposed late in the development cycle opened many wounds in the community, prompting some prominent developers to resign or leave altogether, stirring strong emotions - not due to adoption of systemd per se, but because of the emotional burn-out and shortcomings in the decision processes apparent in the wake of the systemd controversy.

Nevertheless, work on the next stable release is well underway and some developers are already trying to mend the community and soothe the wounds.

Tollef Fog Heen

tfheen Sun, 16 Nov 2014 - Resigning as a Debian systemd maintainer

Apparently, people care when you, as privileged person (white, male, long-time Debian Developer) throw in the towel because the amount of crap thrown your way just becomes too much. I guess that's good, both because it gives me a soap box for a short while, but also because if enough people talk about how poisonous the well that Debian is has become, we can fix it.

This morning, I resigned as a member of the systemd maintainer team. I then proceeded to leave the relevant IRC channels and announced this on twitter. The responses I've gotten have been almost all been heartwarming. People have generally been offering hugs, saying thanks for the work put into systemd in Debian and so on. I've greatly appreciated those (and I've been getting those before I resigned too, so this isn't just a response to that). I feel bad about leaving the rest of the team, they're a great bunch: competent, caring, funny, wonderful people. On the other hand, at some point I had to draw a line and say "no further".

Debian and its various maintainer teams are a bunch of tribes (with possibly Debian itself being a supertribe). Unlike many other situations, you can be part of multiple tribes. I'm still a member of the DSA tribe for instance. Leaving pkg-systemd means leaving one of my tribes. That hurts. It hurts even more because it feels like a forced exit rather than because I've lost interest or been distracted by other shiny things for long enough that you don't really feel like part of a tribe. That happened with me with debian-installer. It was my baby for a while (with a then quite small team), then a bunch of real life thing interfered and other people picked it up and ran with it and made it greater and more fantastic than before. I kinda lost touch, and while it's still dear to me, I no longer identify as part of the debian-boot tribe.

Now, how did I, standing stout and tall, get forced out of my tribe? I've been a DD for almost 14 years, I should be able to weather any storm, shouldn't I? It turns out that no, the mountain does get worn down by the rain. It's not a single hurtful comment here and there. There's a constant drum about this all being some sort of conspiracy and there are sometimes flares where people wish people involved in systemd would be run over by a bus or just accusations of incompetence.

Our code of conduct says, "assume good faith". If you ever find yourself not doing that, step back, breathe. See if there's a reasonable explanation for why somebody is saying something or behaving in a way that doesn't make sense to you. It might be as simple as your native tongue being English and their being something else.

If you do genuinely disagree with somebody (something which is entirely fine), try not to escalate, even if the stakes are high. Examples from the last year include talking about this as a war and talking about "increasingly bitter rear-guard battles". By using and accepting this terminology, we, as a project, poison ourselves. Sam Hartman puts this better than me:

I'm hoping that we can all take a few minutes to gain empathy for those who disagree with us. Then I'm hoping we can use that understanding to reassure them that they are valued and respected and their concerns considered even when we end up strongly disagreeing with them or valuing different things.

I'd be lying if I said I didn't ever feel the urge to demonise my opponents in discussions. That they're worse, as people, than I am. However, it is imperative to never give in to this, since doing that will diminish us as humans and make the entire project poorer. Civil disagreements with reasonable discussions lead to better technical outcomes, happier humans and a healthier projects.

[Oct 31, 2014 ] Meet systemd, the controversial project taking over a Linux distro near you by Chris Hoffman

Oct 31, 2014 | pcworld.com

Systemd is one of the most controversial projects in Linux-land right now. How controversial? So controversial that Lennart Poettering, one of systemd's developers, even claims that horrible people have been pooling Bitcoins to hire a hitman on him. On a more reasonable level, there's a Boycott systemd website that argues for a boycott of this software on various technical merits.

All this backlash is a reaction to systemd's success. It has been-or is being-adopted by Linux distributions from Fedora and OpenSuSE to Ubuntu, Debian, and even Arch Linux. GNOME is becoming more dependent on it over time-one of Debian's stated reasons for switching back to GNOME was because of its systemd integration. It's everywhere.

So what's all the hub-bub-and the fierce backlash-about? Let's look a bit closer at this raging battle.

Systemd is a new init system

At its core, systemd is a replacement for the old SysV init system. The init system is the software that initializes your system. When you boot up, init is responsible for loading the appropriate drivers, activating your network connection, launching various system services, and finally bringing up the graphical login screen where you log in. SysV init is an old system that basically just runs scripts located under /etc/init.d.

At its core, systemd is a modern replacement for the old and crufty SysV init. It can also launch services in response to events; for example, when you plug in a USB printer, it could launch the printing service in response to the device being plugged in. When it receives a connection on a specific network port, it could launch a network service configured to listen on that port and pass the connection along.

For more technical information about SysV init vs. systemd, read Jorgen Schäfer's "Why systemd?"

But systemd is more than that

Even systemd's detractors largely agree that SysV is old and needs to be replaced. But critics correctly note that systemd is in fact more than that. It's a large project containing many other bits of functionality. It's a software suite, not just an init system.

... ... ...

Chris Hoffman is a tech geek who's been writing about everything technology-related for years. When he's not writing about gadgets and software, he's probably using them in his spare time.

[Sep. 02, 2014 ] Systemd Controversy Not Going Away Quietly by Susan Linton

Sep. 02, 2014 | ostatic.com

stuxIf you thought the systemd argument was settled, I'm not sure you'd be correct. Paul Venezia is back on the case today saying folks are continuing to blog, thread, mailing list, and forum about their problems with systemd. Katherine Noyes noted the trend in her Blog Safari today as well. Her first example says Linux is being turned into "OS X or even Windows."

Paul Venezia said today that although the systemd controversy seems to be settled, "the exceedingly loud protests on message boards, forums, and the posts I wrote over the past two weeks would indicate otherwise." systemd has been a part of popular distros for a couple of years now and users complained to deaf ears about the lack of control and usable logs. But Venezia says it's still "not too late to speak out." He noticed some saying that "BSD is looking better and better." But he hit upon the wide-reaching trend that's been disturbing most old-school Linux users:

A larger trend toward users who appear to believe that reading manuals and learning OS internals is bad, and we should plaster over all of that mumbo-jumbo with a nice, sleek -- and completely opaque -- management layer. This "learning is hard" mentality is very damaging for Linux as a service platform.

Venezia is primarily concerned with the server side of Linux, but many desktop users would have never left Windows if Linux had just been a different horse of the same color. He says developers are trying to "reinvent Windows" and concludes, "It's not pretty."

Katherine Noyes set out on a similar course recently and found not just server users having issues with systemd. She said one blogger says he feels "stuck" and he doesn't like feeling "stuck" with Linux. That was the whole point of moving to Linux for many of us. Another said, "I really like the idea of text file configurations, of simple tools that do one thing well and can be combined. And binary blobs? Seriously?" Another blogger Noyes quotes said, "Ultimately it throws away everything that worked and offers very little in return." He added, "When something goes wrong, it is far harder to troubleshoot."

[Mar 24, 2012] Monday's security updates

March 19, 2012 | LWN.net

Mandriva has updated systemd (removal of arbitrary system files) and firefox (multiple vulnerabilities).

openSUSE has updated systemd (removal of arbitrary system files).

[Mar 11, 2012] Petition Lennart Poettering Stop writing useless programs - systemd, Journal Change.org

Why This Is Important

1. We have already working and well-tested solutions
2. These solutions have all advanced features: e.g. network support, which missing in your programs
3. Features you want - you can implement by extending sysinit, syslog, etc.

Eugene Yunak

please, STOP. you are killing Linux

Andrew Rabusov:

Binary syslog is absolutely evil.

Yury Bokhonkovich:

I do not like idea of binary logs at all.

Wolfgang Draxinger:

All your software is centered around glib, GNOME, various *Kits (which don't work, properly). Your software locks Linux systems into a certain system model, forcing policy over method, which goes against the Unix (and Linux) principle of method over policy. Each program should implement only a very small, managable set of feature, whereas your projects are usually bloated with functionality, just to cover the cases it may be put into you thought of (missing the one corner case somebody else requires, but your stuff doesn't cover). If somebody points out problems in your programs design or implementation, you're deaf for critics and instead of provide clear reasoning you argue with self proclaimed dogmas. FYI: I'm now running my Linux systems without DBus, without ConsoleKit, without PolicyKit, without PulseAudio and without systemd, and ever since I got rid of the *Kits and GNOME insanity at the core all the pain in using them I had in recent years went away.

Vladimir Pokvalitov :

Lennart, your crappy systemd killed the possibility to have a separate /usr volume. A binary log can't be processed by classic text-processing Unix utilities. Your works kill the Unix-way, so please stop your harmful activity.

Thorsten Glaser:

PulseAudio may be nice, but with systemd and other unportable software you're harming the whole Open Source ecosystem by limiting things to Linux/x86 only, which itself, in the long term, will be (too) limited. Your /usr move is even WORSE than what the Hurd people do, AND breaks traditional Unix assumptions (the current model with /bin may not be the best, but it works in more cases than your Linux/x86 stuff – think of Debian/m68k which boots withOUT an initrd).

So please STFU.

Marc Espie:

Just because you can mark your territory in Linux land by pissing all over existing code doesn't mean it's a good idea. We already have DJB as the wacky uncle who does thing differently. How about you start writing useful code that solves actual programs instead of trying to reinvent Unix your way.

You're not Ritchie, you're not Thomson, you're not Linus either. Stop pretending you're a genius and start acting like one.

Paul Filo:

Lennart steals my ".local" domain with avahi.

[Dec 12, 2011] init - What are the pros-cons of Upstart and systemd

Stack Exchange

Saw systemd mentioned on Arch General ML today. So read up on it. The H Online as ever is a great source for Linux Technology and is where I found my place to start researching Systemd as SysV Init and Upstart alternative. However the H Online article (in this case) isn't a very useful read, the real use behind it is it gives links to the useful reads.

The real answer is in the announcement of systemd. Which gives some crucial points of what's wrong with SysV initd, and what new systems need to do

It's major plan to do this seems to be to start services only as they're needed, and to start a socket for that service, so that the service that needs it can connect to the created socket long before the daemon is fully online. Apparently a socket will retain a small amount of buffered data meaning that no data will be lost during the lag, it will be handled as soon as the daemon is online.

Another part of the plan seems to be to not serialize filesystems, but instead mount those on demand as well, that way you're not waiting on your /home/, etc (not to be confused with /etc) to mount, and/or fsck when you could be starting daemons as / and /var/ etc, are already mounted. It said it was going to use autofs to this end.

It also has the goal of creating .desktop style init descriptors as a replacement for scripts. This will prevent tons of slow sh processes and even more forks of processes from things like sed and grep that are often used in shell scripts.

They also plan not to start some services until they are asked for, and perhaps even shut them off if they are no longer needed, bluetooth module, and daemon are only needed when you're using a bluetooth device for example. Another example given is the ssh daemon. This is the kind of thing that inetd is capable of. Personally I'm not sure I like this, as it might mean latency when I do need them, and in the case of ssh I think it means a possible security vulnerability, if my inetd were compromised the whole system would be. However, I've been informed that using this to breach this system is infeasible and that if I want to I can disable this feature per service and in other ways.

Another feature is apparently going to be the capability to start based on time events, either at a regularly scheduled interval or at a certain time. This is similar to what crond and atd do now. Though I was told it will not support user "cron". Personally this sounds like the most pointless thing. I think this was written/thought up by people who don't work in multiuser environments, there isn't much purpose to user cron if you're the only user on the system, other than not running as root. I work on multiuser systems daily, and the rule is always run user scripts as the user. But maybe I don't have the foresight they do, and it will in no way make it so that I can't run crond or atd, so it doesn't hurt anyone but the developers I suppose.

The big disadvantage of systemd is that some daemons will have to be modified in order to take full advantage of it. They'll work now, but they'd work better if they were written specifically for its socket model.

It seems for the most part the systemd's peoples problem with upstart is the event system, and that they believe it to not make sense or be unnecessary. Perhaps their words put it best.

Or to put it simpler: the fact that the user just started D-Bus is in no way an indication that NetworkManager should be started too (but this is what Upstart would do). It's right the other way round: when the user asks for NetworkManager, that is definitely an indication that D-Bus should be started too (which is certainly what most users would expect, right?).
A good init system should start only what is needed, and that on-demand. Either lazily or parallelized and in advance. However it should not start more than necessary, particularly not everything installed that could use that service.

As I've already said this is discussed much more comprehensively in the announcement of systemd.

enaut
Well one thing most of you forgot is the organisation of processes in cgroups. [this requires the kernel to have the cgroup stuff enabled -- NNB]

So if Systemd started a thing it will put this thing in its own cgroup and there is no (unpriviledged) mean for the process to escape that cgroup. This has several things as consequence:

  • An Administator of a big System with many users has efficient new ways to identify malicious users/processes.
  • The the priorities for Cpu-sheduling can be determined better as done by the "Wonder autocgroup patch".

[Dec 11, 2011] A Saturated Grey

Posted by Horst H. von Brand at Tue May 3 21:28:32 2011
@Y.Nemo: Benefit is that systemd is much more transparent, and easier to tweak (yes, "we all read shell scripts", but just look at the difference in having to read and understand 986 lines of shell to start up crond (854 in /etc/rc.d/init.d/functions, 132 in /etc/rc.d/init.d/crond proper) vs 11 lines in /lib/systemd/system/sshd.service (plus 19 in /lib/systemd/ssytem/syslog.target, which is referenced by the above, for the terminally paranoid).

And tweaking anything in some of the init scripts is something I've learned to never do, and that the hard way. Most of the intricacies in the functions is just abstracted away and handled by systemd itself, really handles dependencies (not just "(try to) start/stop stuff in this magically divined order on runlevel change" and leaves you helpless when starting/stopping stuff by hand) plus it groups the processes into groups for managing automatically among other goodies.

It's vastly less complex to manage and can do things SysVinit can't even dream of, but also very different from what you (or I, for that matter) have ingrained.

Posted by Chris Cox at Wed May 4 00:46:25 2011
There are clearly pros and cons between sysvinit and newbies like upstart and systemd.

To me this isn't different from tar-balls vs. rpm vs. dpkg.

Is systemd a full on replacement of sysvinit ? Clearly no... but arguably yes if it allows fallback to sysvinit scripts. It's different. I view it like KDE4 vs. KDE3. Not a direct replacement of form and function, but rather something different.

The pains... the pain of change, especially something that branches out a bit from the scope of what sysvinit covered is that ISVs will have to update their installation documentation. Some things will become easier and some things will be more difficult.

systemd tries to solve a lot of age old problems... but you know, since they are "age old" people are used to working around those problems or have dealt with them long ago even with sysvinit.

There are advantages to arbitrary shell based scripting systems.... and it does afford the experienced end user the opportunity to "hack" a server back to health. While there are nice hooks for systemd, I do believe there will be unexpected quirks due to the added feature complexity. There's a REASON why openSUSE 11.4 does NOT use systemd by default... you can read their page about the items that FALL OUT (no easy answer) when switching to systemd.

So... YMMV. I think for simple things, systemd will work just fine. For software unknown to systemd, there could be problems.... but maybe not... just requires more effort to figure out how to implement the pieces missing/ignored/altered inside of systemd.

For those needing the additional features of systemd (with regards to service protection, reliability, etc.)... of course, systemd brings a LOT of good stuff to the table. The question is: How big of a problem was/is that? Or have we just been "dealing" with sysvinit and accepted its limitations? Are we truly happy with sysvinit? Or does it really frustrate us? IMHO, there's NOT a lot of sysvinit frustration out there. So... finding the TRUE benefits of systemd and SELLING everyone is the key. Showing people how the whole world will become much, much, much better with systemd. Right now... I'm not seeing it.

Make the sale. Decreased startup times... yes... we know that item... need more talking points, you know.. REAL life scenarios. We can say, "it'll restart your services"... but frankly, my servers never go down.... and I don't think I'm alone. In fact, if a service does crash out, do we REALLY want it to restart? Need to show a tangible REAL and wide spread benefit.... perhaps something that everyone will WANT/NEED that sysvinit simply CANNOT do... and then maybe you can make the sale.

Otherwise, we're replacing something well understood with something new just because we wanted to do that.

Posted by oiaohm at Wed May 4 08:54:37 2011
Fall out in OpenSuse 11.4 is really not having transition interface processing working. Not failures in systemd itself. Big one is chkconfig status for active service not matching systemd status for active service. Transition issue. Not unsolvable. http://en.opensuse.org/openSUSE:Systemd_status Yes I have been through the page.

Really most of the time people I find calling for system v to init remain. Don't understand how many failures it is causing and how much its pissing off ISV's.

The dbus item that is complained about a lot I look forward to as a ISV.

Currently each distribution does there own tweaks on the system v init system to try to fix up limitations and issues it has. So as a ISV if I need to change a global setting simple as turning a service on. Ok what directory do I need to put that in. /etc/rc2.d or is that /etc/rc3.d or is that /etc/rc4.d or is that /etc/rc5.d Ok bugger do the lot. Now what services should be before the service I need to run. Bugger again. because I got to know a magic number. That is not the same between distributions. That magic number says where in the boot my stuff starts. So now I ship with everything including httpd server so I know I have everything starting the right way for me. But now we have issues.

Basically for a ISV system v init is complete trash. The little bit of overhead to support systemd I really don't care about. Systemd I simple run if my thing trys to access something that is not started yet it sorts it out.

Really why does each distribution have to have its own management system for init with its own unque naming and bents. Systemd will bring more commonality than us ISV's have ever had. So maybe at long last we can use the host distribution provided httpd servers and other items instead of our own copies.

A project after this should be to make ISV live simple between distributions. I have a php with mysql/postgresql website I want to run on a Linux distribution. If everything is nice this should be a walk in park. To get the php in the webserver get the database loaded and setup. Currently its a complete trip through hell with variations for different distributions so it works. Some of those variations is in the system v init system. dbus does make it simpler for a installer to find out if a service is installed and if it is running. Because dbus if its not their my installer does not die.

Configuration of services option is another major area that needs a proper common solution to make ISV developers live simpler.

Shell script hacking is something ISV's don't want happening either. Since its makes more files that have to be checked for errors and can get screwed up by updates. Its been a really good thing systemd does splitting executable and control data. Doing this in shell script is kinda impossible.

Allowing system v init scripts is about allowing transitional.

One of the big things is that systemd here as a ISV will give me some secuirty options that are generic independent to what LSM distribution is using. Cgroup interfaces as a ISV I could not depend on being able to alter as a ISV either.

Basically system v init needs a 40 foot hole dug and all records if its existence burnt and put in the hole filled in and no clue to its existence left. Something that works for ISV without distribution knolledge putting in its place. systemd at this stage ticks what use ISV's want.

And if distributions can when doing systemd please get your heads together can come up with common service naming. So appache is not appache on one distribution appache2 on another httpd on another. What are you trying todo here. Be confusing so ISV have to have complex processing scripts to generically install from a LSB rpm.

NunnaBizness at Tue Jul 19 09:46:00 2011

Quoting Lennart's own words from this blog as of 19-July-2011 (just in case he edits it to cover his tracks):

"Technical arguments matter. Not FUD."

Lennart, your tables look like FUD produced by any major commercial software company. Oh, I forgot. You work for one don't you?

I poke at you because you have not provided the technical arguments to support your claims yet you demand it of others entering comments here.

How many claims do you make in these tables about systemd? 50? 100? More? Whatever it is I would like, no DEMAND, that you follow your own words and provide technical arguments for every claim you make about systemd where it is given a "yes".

To argue back without providing proof only shows that you are a hypocrite with an ego larger than the entire universe.

systemd – a Replacement for init etc

Posted on May 16, 2010 by etbe
  1. Emil says:

    May 16, 2010 at 6:53 pm SMF is incredibly slow, especially on first boot. This makes debugging/building a jumpstart config really painful. It's also a mishmash of XML, SQLite, and crazy in-database snapshots of prior configurations which just rub me wrong as a UNIX minimalist. (this may be a failing on my part rather than SMF's)

    For the record, I'm a huge fan of Luke Mewburn's rc.d design, which is what FreeBSD has used since 5.x (imported from NetBSD?)

  2. gebi says:

    May 17, 2010 at 10:49 am

    SMF imports all manifests on first boot, so this takes some time, yes.

    For me SMF is the only usable init system today with nicely integrated config management and forward/backward dependencies.

    Especially the state of current init systems on linux is a joke, though not a really good one (not counting systemd here)!

  3. Adam Watkins says:

    May 17, 2010 at 8:47 pm

    It seems odd not to mention launchd in this article, as Lennart does in introducing systemd. It's certainly an interesting comparison point with SMF, but as Lennart notes, it's perhaps insufficiently flexible and backwards compatible for use in Linux distributions.

  4. etbe says:

    May 17, 2010 at 10:18 pm

    Emil: Complexity really isn't what you want in the most important process on your system!

    Adam: Anyone who follows the link to the systemd post will see the references to launchd. Personally I don't like Apples, don't want to use them, and as their code isn't under the GPL it's of little interest to me. Systemd is the Linux program inspired by launchd and is the one for us to consider. If I had mentioned launchd then I would have had to mention the Solaris thing, etc. This is one of my shorter posts, I'm just covering the basic issue with a focus on Linux specific stuff and more importantly stuff that I will end up personally working on.

    But please feel free to write a detailed post about launchd on your own blog and put the link in a comment here. I'm sure that some readers will be interested. If you don't have a blog then I might publish a guest post you write about this topic – NB I'm not going to promise anything at this time, I'd have to see what you write first.

  5. Lennart says:

    May 17, 2010 at 11:55 pm

    Yes, systemd currently does not fiddle with SELinux at all. However we are very interested to add support for it (after all I am a RH guy), including in the initrd-less mode that Debian currently uses. In fact I'd appreciate a patch adding Debian-style SELinux support via some selinux-setup.c code in systemd, given that my own SELinux-fu right now is rather limited. This should be similar to how we already have infrastructure that sets up other basic facilities during bootup from within systemd, such as hostname, loopback, api mounts. (tbh though I wished we could do without the self-execution that is in the sysvinit patch Debian uses. Not sure though if that is possible in SELinux).

  6. Baptiste says:

    May 18, 2010 at 8:05 pm

    Do you win anything by mixing inetd into init? Otherwise, what's the benefit compared to simply using inetd to reduce the number of daemons to launch?

  7. etbe says:

    June 28, 2010 at 9:09 pm

    http://marc.info/?l=selinux&m=127688991821846&w=1

    systemd has been discussed on the SE Linux list. It seems that systemd will be used in Fedora soon.

    It seems that I won't need to do any coding for this either, they already have a design and some sample code.

2011-09-24 21:20:08

Re: systemd: Yet Another Init Replacement

ataraxia wrote:
- When I want to modify a (normal) service unit, I copy it to /etc/systemd/system/multi-user.target.wants/ instead of just symlinking, and change the contents. Why can't I do the same with socket units by copying them to /etc/systemd/system/sockets.target.wants/? If I do that, systemd continues to use the version under /lib/systemd/system/ instead of my modified file (even after reboot). I have to actually rename the socket unit (and the associated service unit) for the contents to be respected.

I figured out what causes this strange behavior. Rather than placing my modified (and brand new) units in /etc/systemd/system/, and then linking them into multi-user.target.wants (or another appropriate target), I was creating those unit files directly under the *.target.wants directories. This seems to set up an unpredictable situation, such that which version of the unit systemd loads depends on why it was loaded: if it was only enabled because that target wanted it, my version was used, but if some earlier dependency needed it first, the original was loaded, and mine ignored.

The solution, of course, is not to do that. systemd, as with most software, works much better when it's used properly.

#983 2011-10-01 23:29:33

check

Re: systemd: Yet Another Init Replacement

Since gnome 3.2 i not get a fallback mode when i start with systemd, now my question: How can i start lighttpd from booting?

Offline

#984 2011-10-01 23:47:45

WorMzy

Re: systemd: Yet Another Init Replacement

I don't use it, but I don't see how systemd would prevent you from having a fallback mode for gnome 3.2. Maybe they removed it?

As for lighthttpd, you'll need to create a .service file for it.

I'm rather lazy, so I just whipped up this one:

 [Unit]
Description=Lighttpd web server

[Service]
Type=forking
ExecStart=/etc/rc.d/lighttpd start
ExecStop=/etc/rc.d/lighttpd stop
ExecReload=/etc/rc.d/lighttpd reload
Restart=always

[Install]
WantedBy=multi-user.target 

It seems to do the trick. Just save it to /etc/systemd/system, and then "systemctl enable" it.

Systemd seems to be severely lacking in web-related service files, I must say. Unfortunately, I don't know who should be held responsible for that. The systemd devs should be focusing on developing systemd, but the mysql/httpd/lightttpd devs should be focusing on their respective projects too. Maybe systemd isn't big enough for these groups to consider making systemd service/socket/etc files?

Last edited by WorMzy (2011-10-01 23:48:03)


Sakura:-
Mobo: nVidia nForce 680i SLI // Processor: Intel Core2Duo 3.16GHz E8500 // GFX: nVidia GeForce 8800 GTX // RAM: 4GB (2x 2GB) Corsair DDR2 (@ 800MHz) // Storage: 3x 1TB Samsung SATAII (7200rpm), 1x 250GB Generic SATAII

Response to "Why systemd" " jcm's blog

So I read Lennart's blog post entitled Why systemd?. In it, he makes a number of comparisons between systemd and the two other Linux init systems that are still in widespread use (this being the third init system some distributions have adopted within the last few years). Overall, he makes a good argument that systemd has many nice and exciting features, and I'm sure they are of interest to various people who want their init system to be SYSV on steroids. Here are some of them:

These are all things I don't want built into my init system. To me, there are many good reasons that they have been traditionally handled using simple, easy to edit and modify scripts, and that's where I personally feel they should belong. In my mind, some don't even make sense to build directly into the init system itself, such as automounting and the like (that belongs in autofs and friends). There's more, but the main point I want to make here is that when you come up with a list of comparisons, that list should not really be an inverted list of features of the replacement (which obviously may not be in what is being replaced). A better comparison would be user experience. If I'm an admin, all of the new features are nice, but do I need to change my workflow for the new tool? And at the end of the day, what am I winning overall in terms of experience?

I'm not one of those who actually wanted YAIS (Yet Another Init System). No offence particularly to systemd, but I preferred good old fashioned sysvinit. It worked for longer time than many people have been using Linux (or UNIX), it was well understood, and well documented. It was far from perfect, but it got system services started. I can't remember ever yelling at SYSV init and saying "wow, if only you weren't so crappy, if only you started every service when I connected to it". In fact, it was a mature tool that did everything I needed it to. It took a little longer to boot my system than it might, but then like most real users, I use suspend and other features that mean I boot from scratch infrequently, or I run servers where I really don't care at all. I wouldn't have cared if it took 10 minutes to boot my laptop, or an hour to boot my server…well, I exaggerate, but you get the point. And inetd? Or xinetd? Automount? Good enough for my uses as separate tools.

Jon.

This entry was posted on Friday, April 29th, 2011 at 1:37 am and is filed under Fedora, General. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

7 Responses to "Response to "Why systemd?""

  1. jrdls says:

    2011/04/30 at 1:50 am

    I think you should read the rest of lennart's blog posts. He raises valid points about what's wrong within sysvinit (for instance it doesn't kill services the right way) and he has written I believe 5 blog posts relevant for sysadmins.

  2. Lennart says:

    2011/04/30 at 10:01 am

    Oh man.

    I am sure you are happy to learn that 8 of the items you list are not done in PID 1, but just in small services shipped along with systemd.

    I like your wise comments on systemd, without actually having had a close look. That's uninformed FUDing.

    "simple, easy to edit" scripts? Really? You must be running a different Fedora or RHEL than I am running.

  3. Michael says:

    2011/04/30 at 11:43 am

    Well, while sysv work fine since a long time, so would we say about Windows. On a engineering point of view, replacing initscript by something simpler to administer ( systemd unit are cleaner and easier to read/write ) is a big advantage. I remember yelling at the initscripts system because it was so much composed of cut and paste everywhere, because people had varying degree of understanding of the shell scripting, etc. I also often found that having to kill process by hand was rather unsatisfying and fragile.

    Maybe systemd do too much. But I think there is a logical reason to unify the boot process like systemd does.

  4. Bender says:

    2011/04/30 at 3:53 pm

    Oh yes, we can't blame sysv very much because it doesn't do much at all, all we can blame is a badly written script. But the best part in systemd is that it makes it possible to standardize all distros which in many cases modify their scripts etc.

    As is the case with hal, systemd uses all best stuff linux has, there is no point in being generic and crappy but work everywhere. Systemd might ease a lot of administration leaving more for proper coding

  5. oiaohm says:

    2011/04/30 at 11:16 pm

    Everyone want to forget the init process itself is a block of C code even with system V. It is in charge of shutting the system down. That init command you run to change run levels under system V sends a message to process 1 on the system. dbus is just a different way and more friendly way todo IPC messages. Interfacing by dbus nothing different really.

    "Modular C coded early boot services included." Did you not read this.
    Systemd main source codes include the features todo Mount handling down. But big but these are independent modules. So can be replaced or removed.

    Merging in of inetd kinda came a requirement due to how systemd operates.

    xinetd/inetd was the first Socket-based Activation system. systemd is the next generation with many improvements so every service can take advantage of xinetd/inetd activation on demand idea even if they are not designed to be xinetd/inetd compatible with systemd. This is why xinetd/inetd cannot mix with systemd. They both will want to be monitoring the same things.

    mount handling also falls into mount based Activation. Service has started up it goes to use a partition that is not mounted yet. So systemd suspends it until that is mounted.

    The deeper you dig systemd is an Activation based system. Something completely different in a lot of ways to sys v init system. It is basically impossible todo a full activation based system inside the system v model. Also none of the YAIS (Yet Another Init System) ever has been a fully activation based system. Systemd closest living relation is launchd from OS X. Launchd is only partly in the direction of Activation based system.

    Activation based system is not an Init system really either. Activation based systems keep on working away after the system has started up.

    Encrypted hard disk handling (LUKS) is a good example of this in systemd it handles encrypted harddrives on startup also if you plug them in while the system is running. If harddrive requires password drive may wait until have the machine is booted and dbus sends a message asking for password.

    Also due to it being an activation based system not a init based system. It does house keeping on temp directories and the like.

    Biggest change is cgroup wrapping of every service so you know what started what. Doing this also would have required a complete rewrite of the shell scripts.

    Of course I am not going to say for one moment there are not areas in systemd that cannot be refined. Like possibly making units for mount handling and so on run as independent processes so more tolerant to failures.

    Systemd is the first of its kind of system on Linux other than xinetd and inetd. This is important to remember every other init system that has ever been on linux is a rework of the sys v design one way or another. So perfectly fair to call the others YAIS. If systemd is yet another something. Its Yet Another Inetd. Just inetd on serious booster drugs so it can boot the complete system just compatible services. Yes systemd behavior is more like a inetd than a system v init.

    A revamp of this size is a chance to fix a lot of historic mistakes and make a few new ones.

  6. foo says:

    2011/05/01 at 7:21 am

    sysvinit is unreliable in the case of services depending on each other. You have to manually reorder stuff, or automatically reorder stuff based on dependencies encoded in LSB headers. Automatically reordering stuff is hard, especially on custom setups. With systemd that goes away and the kernel does it automatically. Much nicer than sysvinit.

    Server boot time matters too.

    With sysvinit you lose packets when restarting services, not so with systemd.

  7. Tomasz says:

    2011/05/02 at 5:50 pm

    Changing the workflow isn't necessary a bad thing. Sure, it can be an annoyance. But often specific workflow is a result of working around limtations and bad design decisions in tools. Learning new workflow can let you utilize the power of new tool. Only after you acknowledge that some canonical things can be done different and better you appreciate the new design.

Continued

Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Oldies But Goodies

[Oct 15, 2018] Systemd as doord interface for cars ;-) by Nico Schottelius

[Oct 14, 2018] In essence, Red Hat is attempting to out-MS MS by polluting and warping Linux needlessly but surely

[Oct 12, 2018] To change the systemd log level change the ' LogLevel ' parameter in /etc/systemd/system.conf

[Jan 29, 2019] RHEL7 is a fine OS, the only thing it s missing is a really good init system.

Sites



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March, 05, 2020