Re: [gentoo-user] openrc->systemd command comparison

2015-04-02 Thread Peter Humphrey
On Thursday 02 April 2015 18:19:47 Marc Joliet wrote: > % grep PORTAGE /etc/kernels/* > /etc/kernels/kernel-config-3.19.2-gentoo:CONFIG_GENTOO_LINUX_PORTAGE=y > /etc/kernels/kernel-config-3.19.3-gentoo:CONFIG_GENTOO_LINUX_PORTAGE=y # ls -l /etc/kernels /bin/ls: cannot access /etc/kernels: No such

Re: [gentoo-user] openrc->systemd command comparison

2015-04-02 Thread Neil Bothwick
On Wed, 01 Apr 2015 10:13:38 -0700, Daniel Frey wrote: > > That's where I was thinking of. It's not there right now, are edits > > moderated? > I just hit Ctrl+F5 and it's visible for me. (I'm logged in to the wiki > though.) > > https://wiki.gentoo.org/wiki/Systemd#See_Also > > I just logged o

Re: [gentoo-user] openrc->systemd command comparison

2015-04-02 Thread Marc Joliet
Am Thu, 02 Apr 2015 10:48:13 +0100 schrieb Peter Humphrey : > On Wednesday 01 April 2015 19:12:14 Marc Joliet wrote: > > Am Wed, 01 Apr 2015 10:29:15 +0100 > > > > schrieb Peter Humphrey : > > > On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > > > > Am Wed, 01 Apr 2015 09:43:21 +0100 > >

Re: [gentoo-user] openrc->systemd command comparison

2015-04-02 Thread Peter Humphrey
On Wednesday 01 April 2015 19:12:14 Marc Joliet wrote: > Am Wed, 01 Apr 2015 10:29:15 +0100 > > schrieb Peter Humphrey : > > On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > > > Am Wed, 01 Apr 2015 09:43:21 +0100 > > [...] > > > > Apparently it's (partially) due to CONFIG_GENTOO_LINUX_PO

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Canek Peláez Valdés
On Wed, Apr 1, 2015 at 8:28 AM, Rich Freeman wrote: > > On Wed, Apr 1, 2015 at 4:04 AM, Canek Peláez Valdés wrote: > > > # 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

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Daniel Frey
On 04/01/2015 09:26 AM, Neil Bothwick wrote: > On Wed, 01 Apr 2015 08:19:18 -0700, Daniel Frey wrote: >> I've added it to the "See Also" section at the end of the Systemd page. >> I didn't know where else to put it. > > That's where I was thinking of. It's not there right now, are edits > moderate

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Marc Joliet
Am Wed, 01 Apr 2015 10:29:15 +0100 schrieb Peter Humphrey : > On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > > Am Wed, 01 Apr 2015 09:43:21 +0100 > > [...] > > Apparently it's (partially) due to CONFIG_GENTOO_LINUX_PORTAGE (not > > CONFIG_GENTOO_LINUX_INIT_SCRIPT as I originally thought

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Neil Bothwick
On Wed, 01 Apr 2015 08:19:18 -0700, Daniel Frey wrote: > > Nice! Apart from the zap thing that Canek has already covered, I > > think it could be useful. Could you add a link to it to the main > > systemd page. > > I've added it to the "See Also" section at the end of the Systemd page. > I didn

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Daniel Frey
On 04/01/2015 02:21 AM, Neil Bothwick wrote: > Nice! Apart from the zap thing that Canek has already covered, I think it > could be useful. Could you add a link to it to the main systemd page. I've added it to the "See Also" section at the end of the Systemd page. I didn't know where else to put i

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Daniel Frey
On 04/01/2015 02:21 AM, Neil Bothwick wrote: > On Tue, 31 Mar 2015 18:53:39 -0700, Daniel Frey wrote: > >> Anyway, I've finally gotten around to putting together a short >> cheatsheet @ https://wiki.gentoo.org/wiki/OpenRC_to_Systemd_Cheatsheet . > > Nice! Apart from the zap thing that Canek has a

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Rich Freeman
On Wed, Apr 1, 2015 at 4:04 AM, Canek Peláez Valdés wrote: > # 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 >

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 11:22 schrieb Canek Peláez Valdés: > On Wed, Apr 1, 2015 at 3:18 AM, Neil Bothwick > wrote: > > > > On Wed, 01 Apr 2015 10:57:33 +0200, Volker Armin Hemmann wrote: > > > > > Btw, if you need a 'cheat sheet' for INIT the whole thing is broken > > > beyond

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Peter Humphrey
On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > Am Wed, 01 Apr 2015 09:43:21 +0100 > > schrieb Peter Humphrey : > > On Wednesday 01 April 2015 02:04:05 Canek Peláez Valdés wrote: > > > """ > > > # If you have cgroups turned on in your kernel, this switch controls > > > # whether or not a

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Canek Peláez Valdés
On Wed, Apr 1, 2015 at 3:18 AM, Neil Bothwick wrote: > > On Wed, 01 Apr 2015 10:57:33 +0200, Volker Armin Hemmann wrote: > > > Btw, if you need a 'cheat sheet' for INIT the whole thing is broken > > beyond repair. > > You don't *need* it, it's just a convenience when switching from one > syntax to

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Neil Bothwick
On Tue, 31 Mar 2015 18:53:39 -0700, Daniel Frey wrote: > Anyway, I've finally gotten around to putting together a short > cheatsheet @ https://wiki.gentoo.org/wiki/OpenRC_to_Systemd_Cheatsheet . Nice! Apart from the zap thing that Canek has already covered, I think it could be useful. Could you a

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Neil Bothwick
On Wed, 01 Apr 2015 10:57:33 +0200, Volker Armin Hemmann wrote: > Btw, if you need a 'cheat sheet' for INIT the whole thing is broken > beyond repair. You don't *need* it, it's just a convenience when switching from one syntax to the other. The order of the switch doesn't matter, the notes would

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Volker Armin Hemmann
Am 01.04.2015 um 10:04 schrieb Canek Peláez Valdés: > On Wed, Apr 1, 2015 at 1:55 AM, Marc Joliet > wrote: > > > > Am Tue, 31 Mar 2015 20:05:50 -0600 > > schrieb Canek Peláez Valdés >: > > > > [...] > > > With systemd you don't need this, since it ca

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Marc Joliet
Am Wed, 01 Apr 2015 09:43:21 +0100 schrieb Peter Humphrey : > On Wednesday 01 April 2015 02:04:05 Canek Peláez Valdés wrote: > > > """ > > # 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. >

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Peter Humphrey
On Wednesday 01 April 2015 02:04:05 Canek Peláez Valdés wrote: > """ > # 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

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Canek Peláez Valdés
On Wed, Apr 1, 2015 at 1:55 AM, Marc Joliet wrote: > > Am Tue, 31 Mar 2015 20:05:50 -0600 > schrieb Canek Peláez Valdés : > > [...] > > 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 > > associate

Re: [gentoo-user] openrc->systemd command comparison

2015-04-01 Thread Marc Joliet
Am Tue, 31 Mar 2015 20:05:50 -0600 schrieb Canek Peláez Valdés : [...] > 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. [...]

Re: [gentoo-user] openrc->systemd command comparison

2015-03-31 Thread Daniel Frey
On 03/31/2015 07:05 PM, Canek Peláez Valdés wrote: > Thanks for doing this, I think it will help all the people switching to > systemd from OpenRC in Gentoo. > > However, I think the zap command is a little misleading, even with the > note stating that is no "exactly" the same. Duly noted, I've r

Re: [gentoo-user] openrc->systemd command comparison

2015-03-31 Thread Canek Peláez Valdés
On Mar 31, 2015 7:55 PM, "Daniel Frey" wrote: > > On 03/17/2015 10:20 AM, Rich Freeman wrote: > > The cheat sheets are useful for reference, but I'd strongly encourage > > anybody using systemd to get a decent understanding of the > > fundamentals. > > Oh, certainly - but going in completely blind

Re: [gentoo-user] openrc->systemd command comparison

2015-03-31 Thread Daniel Frey
On 03/17/2015 10:20 AM, Rich Freeman wrote: > The cheat sheets are useful for reference, but I'd strongly encourage > anybody using systemd to get a decent understanding of the > fundamentals. Oh, certainly - but going in completely blind and being stuck for 15 minutes trying to do a simple task s

Re: [gentoo-user] openrc->systemd command comparison

2015-03-17 Thread Marc Joliet
Am Tue, 17 Mar 2015 13:20:45 -0400 schrieb Rich Freeman : > On Tue, Mar 17, 2015 at 10:41 AM, Daniel Frey wrote: > > On 03/17/2015 06:56 AM, Bob Wya wrote: > >> I've not seen any that are OpenRC specific... But this one is pretty > >> decent for SysVInit vs. systemd... > >> http://linoxide.com/li

Re: [gentoo-user] openrc->systemd command comparison

2015-03-17 Thread Rich Freeman
On Tue, Mar 17, 2015 at 10:41 AM, Daniel Frey wrote: > On 03/17/2015 06:56 AM, Bob Wya wrote: >> I've not seen any that are OpenRC specific... But this one is pretty >> decent for SysVInit vs. systemd... >> http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/ > > Yeah I found one simi

Re: [gentoo-user] openrc->systemd command comparison

2015-03-17 Thread Daniel Frey
On 03/17/2015 06:56 AM, Bob Wya wrote: > I've not seen any that are OpenRC specific... But this one is pretty > decent for SysVInit vs. systemd... > http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/ Yeah I found one similar to that, but located elsewhere. Maybe if I have some time

Re: [gentoo-user] openrc->systemd command comparison

2015-03-17 Thread Bob Wya
I've not seen any that are OpenRC specific... But this one is pretty decent for SysVInit vs. systemd... http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/ On 17 March 2015 at 01:58, Canek Peláez Valdés wrote: > On Mon, Mar 16, 2015 at 7:47 PM, Daniel Frey wrote: > > > > Hey al

Re: [gentoo-user] openrc->systemd command comparison

2015-03-16 Thread Canek Peláez Valdés
On Mon, Mar 16, 2015 at 7:47 PM, Daniel Frey wrote: > > Hey all, > > I've now converted two systems to systemd and so far haven't had too > much issues with systemd itself, other than me constantly forgetting > commands. > > Is there a nice table or chart somewhere that lists openrc commands with

[gentoo-user] openrc->systemd command comparison

2015-03-16 Thread Daniel Frey
Hey all, I've now converted two systems to systemd and so far haven't had too much issues with systemd itself, other than me constantly forgetting commands. Is there a nice table or chart somewhere that lists openrc commands with equivalent systemd commands? That would really help me from bashing