public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] openrc->systemd command comparison
Date: Wed, 01 Apr 2015 10:57:33 +0200	[thread overview]
Message-ID: <551BB2FD.4070702@googlemail.com> (raw)
In-Reply-To: <CADPrc81OxkG11Wfm2LVkJNmv0t0KR+kiyEskui=DOBm4LD2Pcg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]

Am 01.04.2015 um 10:04 schrieb Canek Peláez Valdés:
> On Wed, Apr 1, 2015 at 1:55 AM, Marc Joliet <marcec@gmx.de
> <mailto:marcec@gmx.de>> wrote:
> >
> > Am Tue, 31 Mar 2015 20:05:50 -0600
> > schrieb Canek Peláez Valdés <caneko@gmail.com
> <mailto:caneko@gmail.com>>:
> >
> > [...]
> > > With systemd you don't need this, since it can track the real
> state of its
> > > services thanks to cgroups. And kill *really* kills all the processes
> > > associated to a service, something that OpenRC, by design, cannot do.
> > [...]
> >
> > I wonder if that's accurate.  I know that OpenRC also uses cgroups
> for grouping
> > services, but how much does it actually exploit them?
>
> According to [1]:
>
> """
> # If you have cgroups turned on in your kernel, this switch controls
> # whether or not a group for each controller is mounted under
> # /sys/fs/cgroup.
> [...]
> # Set this to YES if yu want all of the processes in a service's cgroup
> # killed when the service is stopped or restarted.
> # This should not be set globally because it kills all of the service's
> # child processes, and most of the time this is undesirable. Please set
> # it in /etc/conf.d/<service>.
> # To perform this cleanup manually for a stopped service, you can
> # execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
> # rc-service <service> cgroup_cleanup.
> # rc_cgroup_cleanup="NO"
> """
>
> So it's available if you have cgroups turned on, and then you need to
> set it up globally (which is not recommended), or by service. That
> wasn't available when I stopped using OpenRC; but then again, that was
> almost five years ago.
>
> Is nice to see OpenRC catching up to systemd.
>
> Regards.
>
> [1] https://github.com/OpenRC/openrc/blob/master/etc/rc.conf.Linux
> --
> Canek Peláez Valdés
> Profesor de asignatura, Facultad de Ciencias
> Universidad Nacional Autónoma de México

so somebody showed you that you were spouting crap and all you are
saying it 'that is nice'.

Well done.


Btw, if you need a 'cheat sheet' for INIT the whole thing is broken
beyond repair.

[-- Attachment #2: Type: text/html, Size: 3758 bytes --]

  parent reply	other threads:[~2015-04-01  8:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17  1:47 [gentoo-user] openrc->systemd command comparison Daniel Frey
2015-03-17  1:58 ` Canek Peláez Valdés
2015-03-17 13:56   ` Bob Wya
2015-03-17 14:41     ` Daniel Frey
2015-03-17 17:20       ` Rich Freeman
2015-03-17 17:38         ` Marc Joliet
2015-04-01  1:53         ` Daniel Frey
2015-04-01  2:05           ` Canek Peláez Valdés
2015-04-01  2:19             ` Daniel Frey
2015-04-01  7:55             ` Marc Joliet
2015-04-01  8:04               ` Canek Peláez Valdés
2015-04-01  8:43                 ` Peter Humphrey
2015-04-01  8:53                   ` Marc Joliet
2015-04-01  9:29                     ` Peter Humphrey
2015-04-01 17:12                       ` Marc Joliet
2015-04-02  9:48                         ` Peter Humphrey
2015-04-02 16:19                           ` Marc Joliet
2015-04-03  0:10                             ` Peter Humphrey
2015-04-01  8:57                 ` Volker Armin Hemmann [this message]
2015-04-01  9:18                   ` Neil Bothwick
2015-04-01  9:22                     ` Canek Peláez Valdés
2015-04-01  9:40                       ` Volker Armin Hemmann
2015-04-01 14:28                 ` Rich Freeman
2015-04-01 17:14                   ` Canek Peláez Valdés
2015-04-01  9:21           ` Neil Bothwick
2015-04-01 15:15             ` Daniel Frey
2015-04-01 15:19             ` Daniel Frey
2015-04-01 16:26               ` Neil Bothwick
2015-04-01 17:13                 ` Daniel Frey
2015-04-02 20:52                   ` Neil Bothwick

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=551BB2FD.4070702@googlemail.com \
    --to=volkerarmin@googlemail.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