Re: [systemd-devel] Boot ordering

2015-03-20 Thread Kai Krakow
Andrei Borzenkov arvidj...@gmail.com schrieb: On Fri, Mar 20, 2015 at 1:56 AM, Kai Krakow hurikha...@gmail.com wrote: The point is: Let's just find out why the intuitive way to solve the OPs problem doesn't work out and find the right solution. Let's face it: Trying to use targets as

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread Peter Pause
Excerpts from David Herrmann's message of 2015-03-19 14:44:54 +0100: The file container-getty@.service is available in your container? Using a simple find, failed: [root@746b0d570b72 /]# find / -name container-getty@.service It's not even part of the systemd package coming with Centos 7

Re: [systemd-devel] experiments with 'minimal build'

2015-03-20 Thread Alison Chaiken
Mantas: The RSS column in `ps u 1`, `pmap -x -p 1` or in htop describes it a bit better. Using that method, I find 9 MB for maximum-features build and 5 MB for minimum-features one. Jeff Waugh: The last + is +SYSVINIT, but there doesn't appear to be a configure option to disable sysvinit

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Michael Biebl
2015-03-20 6:40 GMT+01:00 Marcel Holtmann mar...@holtmann.org: Hi Michael, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying ids-update.pl and sdio.ids. Problem solved. I'll apply the patch, but with a

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Reindl Harald
Am 19.03.2015 um 23:56 schrieb Kai Krakow: Reindl Harald h.rei...@thelounge.net schrieb: Am 19.03.2015 um 22:04 schrieb Kai Krakow: Christoph Pleger christoph.ple...@cs.tu-dortmund.de schrieb: I am experimenting a little with systemd and trying to define a new intermediate runlevel, a

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Andrei Borzenkov
On Fri, Mar 20, 2015 at 1:56 AM, Kai Krakow hurikha...@gmail.com wrote: The point is: Let's just find out why the intuitive way to solve the OPs problem doesn't work out and find the right solution. Let's face it: Trying to use targets as sysvinit runlevels equivalent is obviously not the

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Michael Biebl
2015-03-20 9:12 GMT+01:00 Reindl Harald h.rei...@thelounge.net: Am 19.03.2015 um 23:56 schrieb Kai Krakow: Reindl Harald h.rei...@thelounge.net schrieb: Am 19.03.2015 um 22:04 schrieb Kai Krakow: Christoph Pleger christoph.ple...@cs.tu-dortmund.de schrieb: I am experimenting a little

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread Peter Paule
Quoting David Herrmann dh.herrm...@gmail.com: Gnah! If I had any idea how the automake magic with unit-files works, I could help you. Just to clarify the setup. :-) Host: Arch Linux with systemd from git Container: CentOS 7 with stock systemd The getty-service file is available on the Arch

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread David Herrmann
Hi On Fri, Mar 20, 2015 at 11:11 AM, Peter Paule systemd-de...@fedux.org wrote: Quoting David Herrmann dh.herrm...@gmail.com: Gnah! If I had any idea how the automake magic with unit-files works, I could help you. Just to clarify the setup. :-) Host: Arch Linux with systemd from git

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread Peter Paule
Thanks a lot. I will try out the new image with the getty-service unit inside. Quoting David Herrmann dh.herrm...@gmail.com: Hi On Fri, Mar 20, 2015 at 11:11 AM, Peter Paule systemd-de...@fedux.org wrote: Quoting David Herrmann dh.herrm...@gmail.com: Gnah! If I had any idea how the

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 07:02:48AM +0100, Michael Biebl wrote: 2015-03-20 6:40 GMT+01:00 Marcel Holtmann mar...@holtmann.org: Hi Michael, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread David Herrmann
Hi On Fri, Mar 20, 2015 at 11:06 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Fri, Mar 20, 2015 at 7:16 AM, Peter Pause systemd-de...@fedux.org wrote: Excerpts from David Herrmann's message of 2015-03-19 14:44:54 +0100: The file container-getty@.service is available in your

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 11:34:08AM +0100, Peter Paule wrote: Thanks a lot. I will try out the new image with the getty-service unit inside. Quoting David Herrmann dh.herrm...@gmail.com: Hi On Fri, Mar 20, 2015 at 11:11 AM, Peter Paule systemd-de...@fedux.org wrote: Quoting David

Re: [systemd-devel] systemd and nested Btrfs subvolumes

2015-03-20 Thread Chris Murphy
On Fri, Mar 20, 2015 at 1:34 PM, Goffredo Baroncelli kreij...@libero.it wrote: Hi Chris, On 2015-03-20 02:27, Chris Murphy wrote: Short version: -- Instead of machinectl clone using btrfs snapshots, or even needing to store things in a var/lib/machines Btrfs subvolume, does

Re: [systemd-devel] StartLimitBurst prevents manual start-up of a service

2015-03-20 Thread Nekrasov, Alexander
-Original Message- From: Andrei Borzenkov [mailto:arvidj...@gmail.com] Sent: Thursday, March 19, 2015 11:53 PM To: Nekrasov, Alexander Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] StartLimitBurst prevents manual start-up of a service В Thu, 19 Mar 2015

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Uoti Urpala
On Fri, 2015-03-20 at 10:24 +0300, Andrei Borzenkov wrote: On Fri, Mar 20, 2015 at 1:56 AM, Kai Krakow hurikha...@gmail.com wrote: The point is: Let's just find out why the intuitive way to solve the OPs problem doesn't work out and find the right solution. Let's face it: Trying to use

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Andrei Borzenkov
В Fri, 20 Mar 2015 21:55:37 +0100 Cecil Westerhof cldwester...@gmail.com пишет: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory Is it sysvinit script by any chance? On a openSUSE system it works

[systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory On a openSUSE system it works without a hitch. What could be the reason it does not work on the Debian systems? -- Cecil Westerhof

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Tomasz Torcz
On Fri, Mar 20, 2015 at 09:55:37PM +0100, Cecil Westerhof wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory On a openSUSE system it works without a hitch. What could be the reason it does not

[systemd-devel] is-enabled does not work

2015-03-20 Thread Cameron Norman
On Mar 20, 2015 1:56 PM, Cecil Westerhof cldwester...@gmail.com wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory On a openSUSE system it works without a hitch. What could be the reason it does

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
2015-03-20 22:09 GMT+01:00 Cecil Westerhof cldwester...@gmail.com: 2015-03-20 21:59 GMT+01:00 Tomasz Torcz to...@pipebreaker.pl: On Fri, Mar 20, 2015 at 09:55:37PM +0100, Cecil Westerhof wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
2015-03-20 22:08 GMT+01:00 Cameron Norman camerontnor...@gmail.com: On Mar 20, 2015 1:56 PM, Cecil Westerhof cldwester...@gmail.com wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 09:21:33AM -0700, Marcel Holtmann wrote: Hi Zybszek, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying ids-update.pl and sdio.ids. Problem solved. I'll apply the patch,

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 07:06:28PM +0100, Goffredo Baroncelli wrote: Hi Zbyszek, On 2015-03-21 14:37, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Mar 16, 2015 at 08:33:52PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-20 Thread Goffredo Baroncelli
Hi Zbyszek, On 2015-03-21 14:37, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Mar 16, 2015 at 08:33:52PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Marcel Holtmann
Hi Zybszek, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying ids-update.pl and sdio.ids. Problem solved. I'll apply the patch, but with a slightly different motivation. [L]GPL requires commercial

Re: [systemd-devel] not running ExecStop= when stopping activating services?

2015-03-20 Thread Nekrasov, Alexander
-Original Message- From: Andrei Borzenkov [mailto:arvidj...@gmail.com] Sent: Thursday, March 19, 2015 11:41 PM To: Nekrasov, Alexander Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] not running ExecStop= when stopping activating services? В Thu, 19 Mar 2015

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Reindl Harald
Am 20.03.2015 um 21:19 schrieb Kai Krakow: Since your explanation makes sense, I wonder why there is that recommendation in the man page because without forking you just have one process, don#t need to guess the changing main-PID and watching the service for things like Restart=always is

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Kai Krakow
Reindl Harald h.rei...@thelounge.net schrieb: Am 20.03.2015 um 21:10 schrieb Kai Krakow: i guess that's whay mysqld needs ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID having a shell script waitig in a lopp until connections are accepted to prevent services with After=mysqld I

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Kai Krakow
Michael Biebl mbi...@gmail.com schrieb: 2015-03-20 9:12 GMT+01:00 Reindl Harald h.rei...@thelounge.net: Am 19.03.2015 um 23:56 schrieb Kai Krakow: Reindl Harald h.rei...@thelounge.net schrieb: Am 19.03.2015 um 22:04 schrieb Kai Krakow: Christoph Pleger christoph.ple...@cs.tu-dortmund.de

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Kai Krakow
Reindl Harald h.rei...@thelounge.net schrieb: with foreground you have *no control at all* becasue systemd fires up the next service immediately, frankly systemd even don't know the startup time of Type=simple services, hence they are missing in systemd-anlyze blame I wonder what's suitable

Re: [systemd-devel] systemd and nested Btrfs subvolumes

2015-03-20 Thread Goffredo Baroncelli
Hi Chris, On 2015-03-20 02:27, Chris Murphy wrote: Short version: -- Instead of machinectl clone using btrfs snapshots, or even needing to store things in a var/lib/machines Btrfs subvolume, does it meet the requirements for Btrfs optimization to do this with cp -a

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Reindl Harald
Am 20.03.2015 um 21:10 schrieb Kai Krakow: i guess that's whay mysqld needs ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID having a shell script waitig in a lopp until connections are accepted to prevent services with After=mysqld I think MySQL is broken in this regard as it signals

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Kai Krakow
Reindl Harald h.rei...@thelounge.net schrieb: BTW: I'd be interested in your solution about removing mysqld_safe. Can I just change the distribution service file, set the right user/group - or do I need to take care of any other stuff that mysqld_safe prepares/does? do *never* touch the

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Reindl Harald
Am 20.03.2015 um 22:44 schrieb Kai Krakow: I've found the bug report on Fedora bugzilla you were involved with [1]. I guess that socket activation did not work out? I tried that also way back when I started using systemd and it didn't really work for me. Besides that your solution works fine

Re: [systemd-devel] Boot ordering

2015-03-20 Thread Christoph Pleger
Hello, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: I want a program to be run at boot time without any other systemd services starting concurrently. The program needs the services from basic.target and may influence everything in multi-user.target and later targets, so I guess

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread David Herrmann
Hi On Fri, Mar 20, 2015 at 7:16 AM, Peter Pause systemd-de...@fedux.org wrote: Excerpts from David Herrmann's message of 2015-03-19 14:44:54 +0100: The file container-getty@.service is available in your container? Using a simple find, failed: [root@746b0d570b72 /]# find / -name