From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet? -> what was wron with SysVInit?
Date: Tue, 25 Dec 2012 08:14:41 -0500 [thread overview]
Message-ID: <CA+czFiA25=0+90bX3zJFKH-Wb2yGp0yOwKQow5z0qy+u4zE_uQ@mail.gmail.com> (raw)
In-Reply-To: <CADPrc80d4ArycTCg8uNTExUp6zoky1x3sNEgrR8j9XxrmOJiMw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5446 bytes --]
On Dec 25, 2012 3:04 AM, "Canek Peláez Valdés" <caneko@gmail.com> wrote:
>
> On Tue, Dec 25, 2012 at 1:38 AM, G.Wolfe Woodbury <redwolfe@gmail.com>
wrote:
> [ snip ]
> > From what has been happening with the systemd stuff, I do not see what
> > advantages it really offers over the SysV scheme and its successors like
> > OpenRC. Someone enlighten me please?
>
> I wrote the following some months ago; I think nothing much has
> changed since then (I added a couple of comments):
>
> Take this with a grain (or a kilo) of salt, since I'm obviously
> biased, but IMHO this are systemd advantages over OpenRC:
>
> * Really fast boot. OpenRC takes at least double the time that systemd
> does when booting, easily verifiable. In my laptop systemd is twice as
> fast as OpenRC; in my desktop is three times faster. (With a solid
> state hard drive, my laptop now boots even faster).
>
> * Really parallel service startup: OpenRC has never been reliable on
> parallel service startup; its documentation says it explicitly. Some
> will tell you that for them "it works", but just like the guys who
> have a separate /usr and refuse to use an initramfs, they just haven't
> been bitten by the inherent problems of it (just ask kernel developer
> Greg Kroah-Hartman). The Gentoo devs recognize that OpenRC is just
> broken with parallel service startup.
>
> * Really simple service unit files: The service unit files are really
> small, really simple, really easy to understand/modify. Compare the 9
> lines of sshd.service:
>
> $ cat /etc/systemd/system/sshd.service
> [Unit]
> Description=SSH Secure Shell Service
> After=syslog.target
>
> [Service]
> ExecStart=/usr/sbin/sshd -D
>
> [Install]
> WantedBy=multi-user.target
>
> with the 84 of /etc/init.d/sshd (80 without comments).
>
> * Really good documentation: systemd has one of the best
> documentations I have ever seen in *any* project. Everything (except
> really new, experimental features) is documented, with manual pages
> explaining everything. And besides, there are blog posts by Lennart
> explaining in a more informal way how to do neat tricks with systemd.
>
> * Really good in-site customization: The service unit files are
> trivially overrided with custom ones for specific installations,
> without needing to touch the ones installed by systemd or a program.
> With OpenRC, if I modify a /etc/init.d file, chances are I need to
> check out my next installation so I can see how the new file differs
> from the old one, and adapt the changes to my customized version.
>
> * All the goodies from Control Groups: You can use kernel cgroups to
> monitor/control several properties of your daemons, out of the box,
> almost no admin effort involved.
>
> * It tries to unify Linux behaviour among distros (some can argue that
> this is a bad thing): Using systemd, the same
> configurations/techniques work the same in every distribution. No more
> need to learn /etc/conf.d, /etc/sysconfig, /etc/default hacks by
> different distros.
>
> * Finally, and what I think is the most fundamental difference between
> systemd and almost any other init system: The service unit files in
> systemd are *declarative*; you tell the daemon *what* to do, not *how*
> to do it. If the service files are shell scripts (like in
> OpenRC/SysV), everything can spiral out of control really easily. And
> it usually does (again, look at sshd; and that one is actully nicely
> written, there are all kind of monsters out there abusing the power
> that shell gives you).
>
> These are the ones off the top of my head; but what I like the most
> about systemd is that it just works, and that it makes a lot of sense
> (at least to me).
>
> Most of systemd features can be implemented in OpenRC, although the
> speed difference will never be eliminated if OpenRC keeps using shell
> files; however, Luca Barbato said that using reentrant busybox the
> speed difference is greatly reduced (I haven't confirmed this, since I
> haven't even installed OpenRC in months).
>
> Now, this set of (IMO) advantages of systemd over OpenRC pile up over
> the advantages of OpenRC over SysV: the most important one (I believe)
> is that OpenRC has dependencies, so a service starts only when another
> has already started. AFAIK, SysV has lacked this since always.
>
> I don't think I have ever heard anyone saying that we should keep
> using SysV; like a lot of Unix legacies, it should just die. OpenRC is
> much better, but it still uses a Turing-complete language (and a
> really slow one) to simply tell services when to start and when to
> stop, and it doesn't reliably keep track of what services are really
> still running (anyone who has ever used the "zap" command in OpenRC
> knows this).
>
> systemd of course has dependencies, a reliable tracking of service
> status (thanks in part to the use of cgroups), and its service files
> can't enter in an infinite loop.
>
> Hope it helps.
>
> Regards.
> --
> Canek Peláez Valdés
> Posgrado en Ciencia e Ingeniería de la Computación
> Universidad Nacional Autónoma de México
>
Thank you. I think that may well be the cleanest set of favorable arguments
I've seen for systemd.
Now, question: could I not create a "/usr" service and make things
dependent on /usr come after it's been mounted? That seems the single, core
missing piece.
[-- Attachment #2: Type: text/html, Size: 6417 bytes --]
next prev parent reply other threads:[~2012-12-25 13:16 UTC|newest]
Thread overview: 252+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-14 12:19 [gentoo-user] Anyone switched to eudev yet? Dale
2012-12-14 13:26 ` [gentoo-user] " Nikos Chantziaras
2012-12-14 13:41 ` Dale
2012-12-14 14:04 ` Bruce Hill
2012-12-14 14:25 ` Dale
2012-12-14 15:39 ` Bruce Hill
2012-12-14 16:20 ` Tanstaafl
2012-12-14 17:34 ` Bruce Hill
2012-12-14 19:02 ` Tanstaafl
2012-12-14 16:23 ` Alan McKinnon
2012-12-14 16:32 ` Mark Knecht
2012-12-14 16:33 ` Michael Mol
2012-12-14 17:06 ` Dale
2012-12-14 16:52 ` Dale
2012-12-14 17:44 ` Bruce Hill
2012-12-14 20:49 ` Dale
2012-12-14 15:01 ` [gentoo-user] " Mark Knecht
2012-12-14 15:48 ` Dale
2012-12-14 16:07 ` Mark Knecht
2012-12-14 16:29 ` Dale
2012-12-14 16:53 ` Mark Knecht
2012-12-14 17:14 ` Dale
2012-12-14 21:34 ` Kevin Chadwick
2012-12-15 10:18 ` Volker Armin Hemmann
2012-12-15 17:43 ` Kevin Chadwick
2012-12-16 12:51 ` Volker Armin Hemmann
2012-12-16 21:19 ` [gentoo-user] " Nikos Chantziaras
2012-12-16 21:30 ` Nuno J. Silva
2012-12-16 22:14 ` Volker Armin Hemmann
2012-12-16 22:25 ` Nikos Chantziaras
2012-12-15 8:16 ` Nuno J. Silva
2012-12-16 15:10 ` Alan McKinnon
2012-12-16 18:49 ` Bruce Hill
2012-12-16 20:32 ` Nuno J. Silva
2012-12-16 20:51 ` Dale
2012-12-17 0:26 ` Kevin Chadwick
2012-12-17 5:44 ` Dale
2012-12-17 5:57 ` Michael Orlitzky
2012-12-17 6:09 ` Dale
2012-12-17 6:24 ` Michael Orlitzky
2012-12-17 6:44 ` Dale
2012-12-17 11:33 ` Kevin Chadwick
[not found] ` <CAA2qdGWkfmiQVAKb76wq57scQ-T5p2U7HE4VdN8BnTX0oZHS1g@mail.gmail.com>
2012-12-17 5:54 ` Pandu Poluan
2012-12-17 7:38 ` Alan McKinnon
2012-12-17 7:33 ` Alan McKinnon
2012-12-17 7:29 ` Alan McKinnon
2012-12-17 8:02 ` Mark David Dumlao
2012-12-17 8:46 ` Alan McKinnon
2012-12-18 11:44 ` Mark David Dumlao
2012-12-18 12:55 ` Alan McKinnon
2012-12-18 13:34 ` [Bulk] " Kevin Chadwick
2012-12-18 22:02 ` Marc Joliet
2012-12-19 18:48 ` Volker Armin Hemmann
2012-12-19 21:42 ` Walter Dnes
2012-12-18 14:08 ` Michael Mol
2012-12-18 14:33 ` Alan McKinnon
2012-12-18 22:55 ` Michael Mol
2012-12-18 23:07 ` Neil Bothwick
2012-12-19 3:05 ` Michael Mol
2012-12-19 9:30 ` Alan McKinnon
2012-12-19 9:38 ` Neil Bothwick
2012-12-19 10:14 ` Neil Bothwick
2012-12-19 9:26 ` Alan McKinnon
2012-12-19 15:03 ` Michael Mol
2012-12-23 10:22 ` Nuno J. Silva
2012-12-23 16:20 ` Alan McKinnon
2012-12-23 17:03 ` Nuno J. Silva
2012-12-23 17:20 ` Alan Mackenzie
2012-12-23 17:44 ` Nuno J. Silva
2012-12-23 17:53 ` Michael Mol
2012-12-23 18:06 ` Nuno J. Silva
2012-12-23 20:39 ` Neil Bothwick
2012-12-24 1:27 ` Walter Dnes
2012-12-24 8:06 ` Mark David Dumlao
2012-12-24 10:58 ` Alan McKinnon
2012-12-24 15:14 ` Kevin Chadwick
2012-12-24 15:52 ` Dale
2012-12-24 23:09 ` William Kenworthy
2012-12-25 20:39 ` Neil Bothwick
2012-12-25 21:05 ` Dale
2012-12-26 21:35 ` Kevin Chadwick
2012-12-27 23:46 ` Alan McKinnon
2012-12-25 11:33 ` Neil Bothwick
2012-12-24 15:10 ` [Bulk] " Kevin Chadwick
2012-12-24 15:20 ` Kevin Chadwick
2012-12-27 19:43 ` Volker Armin Hemmann
2012-12-27 19:59 ` Neil Bothwick
2012-12-27 20:07 ` Michael Mol
2012-12-27 20:14 ` Nuno J. Silva
2012-12-24 6:55 ` Alan McKinnon
2012-12-24 12:58 ` Dale
2012-12-24 13:21 ` Nuno J. Silva
2012-12-24 13:58 ` Dale
2012-12-24 15:06 ` Nuno J. Silva
2012-12-24 15:27 ` Michael Mol
2012-12-24 15:56 ` Nuno J. Silva
2012-12-24 16:00 ` Michael Mol
2012-12-24 16:11 ` Dale
2012-12-24 16:14 ` Dale
2012-12-24 16:34 ` Michael Mol
2012-12-24 17:02 ` Dale
2012-12-24 15:43 ` Dale
2012-12-24 16:29 ` Bruce Hill
2012-12-24 17:00 ` Pandu Poluan
2012-12-25 12:10 ` Nuno J. Silva
2012-12-25 12:46 ` Bruce Hill
2012-12-25 13:22 ` Nuno J. Silva
2012-12-25 16:40 ` Dale
2012-12-25 17:17 ` Nuno J. Silva
2012-12-25 17:53 ` Dale
2012-12-25 18:54 ` Nuno J. Silva
2012-12-25 22:49 ` Dale
2012-12-25 22:54 ` Paul Colquhoun
2012-12-25 23:12 ` Dale
2012-12-26 11:55 ` Neil Bothwick
2012-12-26 14:19 ` pk
2012-12-24 16:25 ` Mark David Dumlao
2012-12-24 16:41 ` Bruce Hill
2012-12-24 17:05 ` Dale
2012-12-24 17:15 ` Bruce Hill
2012-12-24 18:58 ` Mark David Dumlao
2012-12-25 1:54 ` Dale
2012-12-26 15:56 ` Mark David Dumlao
2012-12-24 18:48 ` Alan McKinnon
2012-12-24 20:00 ` Dale
2012-12-24 20:15 ` Michael Mol
2012-12-24 21:23 ` Mark Knecht
2012-12-24 22:36 ` Dale
2012-12-24 23:17 ` Bruce Hill
2012-12-25 0:34 ` Mark Knecht
2012-12-25 2:00 ` Bruce Hill
2012-12-25 2:33 ` Dale
2012-12-25 21:15 ` Neil Bothwick
2012-12-25 21:42 ` Dale
2012-12-25 22:07 ` Neil Bothwick
2012-12-24 23:04 ` Bruce Hill
2012-12-25 0:29 ` »Q«
2012-12-25 0:54 ` Mark Knecht
2012-12-25 1:30 ` Dale
2012-12-25 2:13 ` Bruce Hill
2012-12-25 16:51 ` Todd Goodman
2012-12-25 23:26 ` Bruce Hill
2012-12-26 11:40 ` Neil Bothwick
2012-12-26 14:24 ` Todd Goodman
2012-12-26 17:03 ` Bruce Hill
2012-12-26 17:22 ` Mark Knecht
2012-12-26 20:34 ` Dale
2012-12-26 21:00 ` Mark Knecht
2012-12-25 2:03 ` Bruce Hill
2012-12-25 2:38 ` Dale
2012-12-25 12:58 ` Bruce Hill
2012-12-25 16:01 ` Dale
2012-12-26 16:01 ` Mark David Dumlao
2012-12-26 20:42 ` Dale
2012-12-27 3:23 ` Mark David Dumlao
2012-12-27 16:13 ` Dale
2012-12-27 16:24 ` Mark Knecht
2012-12-27 17:46 ` Mark David Dumlao
2012-12-27 18:15 ` Dale
2012-12-27 18:31 ` Mark David Dumlao
2012-12-27 18:41 ` Michael Mol
2012-12-27 19:02 ` Mark Knecht
2012-12-27 22:29 ` Dale
2012-12-29 0:43 ` Neil Bothwick
2012-12-27 16:28 ` [Bulk] " Kevin Chadwick
2012-12-27 18:22 ` Mark David Dumlao
2012-12-27 18:40 ` Michael Mol
2012-12-27 20:16 ` Mark David Dumlao
2012-12-27 20:59 ` Michael Mol
2012-12-27 22:37 ` Mark David Dumlao
2012-12-28 4:20 ` Michael Mol
2012-12-28 14:10 ` Kevin Chadwick
2012-12-28 14:21 ` Michael Mol
2012-12-26 21:31 ` Kevin Chadwick
2012-12-25 21:19 ` Neil Bothwick
2012-12-25 22:00 ` Mark Knecht
2012-12-25 22:13 ` Neil Bothwick
2012-12-25 22:20 ` Mark Knecht
2012-12-25 23:04 ` Dale
2012-12-25 23:10 ` Mark Knecht
2012-12-25 23:56 ` Dale
2012-12-24 21:43 ` Mark David Dumlao
2012-12-24 22:23 ` Michael Mol
2012-12-24 23:31 ` Bruce Hill
2012-12-24 23:58 ` Dale
2012-12-25 0:44 ` Michael Mol
2012-12-24 22:52 ` Dale
2012-12-24 22:11 ` Daniel Wagener
2012-12-25 3:56 ` Pandu Poluan
2012-12-25 7:38 ` [gentoo-user] Re: Anyone switched to eudev yet? -> what was wron with SysVInit? G.Wolfe Woodbury
2012-12-25 8:01 ` Canek Peláez Valdés
2012-12-25 11:14 ` G.Wolfe Woodbury
2012-12-25 13:14 ` Michael Mol [this message]
2012-12-25 13:35 ` Nuno J. Silva
2012-12-25 18:01 ` Canek Peláez Valdés
2012-12-27 0:45 ` Pandu Poluan
2012-12-27 1:14 ` Canek Peláez Valdés
2012-12-27 1:26 ` Canek Peláez Valdés
2012-12-27 16:00 ` pk
2012-12-27 23:24 ` Canek Peláez Valdés
2012-12-28 18:15 ` pk
2012-12-28 18:55 ` Michael Orlitzky
2012-12-28 19:01 ` Canek Peláez Valdés
2012-12-28 22:40 ` pk
2012-12-29 1:05 ` Canek Peláez Valdés
2012-12-28 1:06 ` Volker Armin Hemmann
2012-12-28 1:24 ` Bruce Hill
2012-12-25 13:56 ` Joshua Murphy
2012-12-25 18:14 ` Canek Peláez Valdés
2012-12-26 22:22 ` Kevin Chadwick
2012-12-26 22:19 ` Kevin Chadwick
2012-12-26 23:01 ` Canek Peláez Valdés
2012-12-26 23:51 ` Michael Mol
2012-12-27 0:57 ` Canek Peláez Valdés
2012-12-27 16:29 ` Kevin Chadwick
2012-12-27 23:38 ` Canek Peláez Valdés
2012-12-28 18:53 ` Kevin Chadwick
2012-12-28 19:14 ` Canek Peláez Valdés
2012-12-28 20:17 ` Pandu Poluan
2012-12-28 20:36 ` Canek Peláez Valdés
2012-12-29 3:48 ` Mark David Dumlao
2012-12-28 23:23 ` Kevin Chadwick
2012-12-29 1:06 ` Canek Peláez Valdés
2012-12-27 0:27 ` Kevin Chadwick
2012-12-25 13:02 ` [gentoo-user] Re: Anyone switched to eudev yet? Bruce Hill
2012-12-25 13:18 ` Michael Mol
2012-12-25 15:01 ` Pandu Poluan
2012-12-25 23:31 ` Bruce Hill
2012-12-26 0:19 ` Pandu Poluan
2012-12-26 2:16 ` Michael Mol
2012-12-26 3:24 ` Canek Peláez Valdés
2012-12-26 17:13 ` Bruce Hill
2012-12-26 18:47 ` Canek Peláez Valdés
2012-12-27 23:07 ` Alan McKinnon
2013-01-04 23:22 ` Mike Edenfield
2013-01-05 2:41 ` [Bulk] " Kevin Chadwick
2012-12-27 19:41 ` Volker Armin Hemmann
2012-12-19 18:42 ` Volker Armin Hemmann
2012-12-19 21:53 ` Alan McKinnon
2012-12-19 22:45 ` Kevin Chadwick
2012-12-20 3:45 ` Mark David Dumlao
2012-12-20 16:47 ` Volker Armin Hemmann
2012-12-20 20:59 ` Kevin Chadwick
2012-12-23 10:26 ` Nuno J. Silva
2012-12-20 21:01 ` Kevin Chadwick
2012-12-20 21:46 ` Mark David Dumlao
2012-12-21 0:09 ` Kevin Chadwick
2012-12-21 0:45 ` Kevin Chadwick
2012-12-21 8:28 ` Mark David Dumlao
2012-12-15 10:16 ` [gentoo-user] " pk
2012-12-14 16:17 ` Bruce Hill
2012-12-14 16:31 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+czFiA25=0+90bX3zJFKH-Wb2yGp0yOwKQow5z0qy+u4zE_uQ@mail.gmail.com' \
--to=mikemol@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox