Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Frederic Crozat
Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a écrit : Signed-off-by: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar --- units/systemd-udev-settle.service.in | 1 - units/systemd-udev-trigger.service.in | 1 - units/systemd-udevd-control.socket| 1 -

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Thomas Bächler
Am 25.07.2013 10:18, schrieb Frederic Crozat: Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a écrit : Signed-off-by: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar --- units/systemd-udev-settle.service.in | 1 - units/systemd-udev-trigger.service.in | 1 -

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Frederic Crozat
Le jeudi 25 juillet 2013 à 10:45 +0200, Thomas Bächler a écrit : Am 25.07.2013 10:18, schrieb Frederic Crozat: Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a écrit : Signed-off-by: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar ---

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Colin Guthrie
'Twas brillig, and Frederic Crozat at 25/07/13 09:54 did gyre and gimble: Le jeudi 25 juillet 2013 à 10:45 +0200, Thomas Bächler a écrit : Am 25.07.2013 10:18, schrieb Frederic Crozat: Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a écrit : Signed-off-by: Gerardo Exequiel

Re: [systemd-devel] /etc/systemd/system/darkice.service

2013-07-25 Thread Colin Guthrie
'Twas brillig, and Kai Hendry at 25/07/13 06:22 did gyre and gimble: Going back to the timeout, I started the PI without a network. Waited a minute or two. Then I started pingtest.service manually. I was surprised that network-online.target doesn't turn active. I had to manually start it.

[systemd-devel] Does systemd have points to spend many times to complete its process?

2013-07-25 Thread Tony Seo
Hello I'm Tony Seo. I've analyzed a plot resulted in systemd-analyze plot. As you can see an attached image file, I got this image from my systemd. While I have analyzed it, I have several questions. 1. what is -.mount ? when I first saw -.mout, I was confused how to configure it. 2. I

[systemd-devel] Udev rule question

2013-07-25 Thread Armin K.
Hello, we have been using Udev without systemd (currently tracking version 205) and we have a problem. The rule that worked some time ago (can't remember when) doesn't work anymore. It's alsa-utils rule for restoring the volume at boot using Udev rule. This is the current rule which doesn't

Re: [systemd-devel] Does systemd have points to spend many times to complete its process?

2013-07-25 Thread Colin Guthrie
Hello, 'Twas brillig, and Tony Seo at 25/07/13 11:49 did gyre and gimble: I've analyzed a plot resulted in systemd-analyze plot. As you can see an attached image file, I got this image from my systemd. No image attached. THe mailing list likely stripped it out because it was too large. As

[systemd-devel] [PATCH] dbus: use _cleanup_free_ instead of freeing ourself

2013-07-25 Thread Ronny Chevalier
--- src/core/dbus-execute.c | 3 +-- src/core/dbus-job.c | 11 ++- src/core/dbus-manager.c | 14 +++--- src/core/unit.c | 48 ++-- 4 files changed, 28 insertions(+), 48 deletions(-) diff --git a/src/core/dbus-execute.c

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Lennart Poettering
On Sun, 21.07.13 06:36, Jan Engelhardt (jeng...@inai.de) wrote: On Saturday 2013-07-20 02:05, Pablo Nehab Hess wrote: Hi all, I was wondering how much systemd could add to current high availability cluster setups. [...] Does this idea even make sense? Is it too one systemd to rule

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Lennart Poettering
On Fri, 19.07.13 21:05, Pablo Nehab Hess (pa...@hess.net.br) wrote: Hi all, I was wondering how much systemd could add to current high availability cluster setups. Today systemd is used on HA clusters as just an init replacement. However, there are systemd features that might come in

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Lennart Poettering
On Wed, 24.07.13 18:41, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: We generally try to make conditions specific to a feature rather than an execution environment. Containers should run without CAP_MKMNOD, and as udev originally was in the business of creating device nodes we hence

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Lennart Poettering
On Thu, 25.07.13 10:45, Thomas Bächler (tho...@archlinux.org) wrote: Am 25.07.2013 10:18, schrieb Frederic Crozat: Le mercredi 24 juillet 2013 à 18:41 -0300, Gerardo Exequiel Pozzi a écrit : Signed-off-by: Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar ---

Re: [systemd-devel] [206] Randomly on shutdown, stop timeout for user@.service

2013-07-25 Thread Lennart Poettering
On Wed, 24.07.13 14:50, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 24/07/13 14:07, Gerardo Exequiel Pozzi escribió: Hello I am using Arch Linux, and testing systemd-206 with linux-3.10.2 on shutdown, sometimes randomly there is a long delay until user@0.service timeouts then

Re: [systemd-devel] question about SecureBits / NoNewPrivileges

2013-07-25 Thread Lennart Poettering
On Sat, 20.07.13 04:06, Reindl Harald (h.rei...@thelounge.net) wrote: Hi i try to secure the Apache-Webserver (mpm-prefork) as much as possible am i right that with the following settings in the systemd-unit after the child-process is forked with the apache user and the capabilities are

Re: [systemd-devel] question about SecureBits / NoNewPrivileges

2013-07-25 Thread Reindl Harald
Am 25.07.2013 20:00, schrieb Lennart Poettering: On Sat, 20.07.13 04:06, Reindl Harald (h.rei...@thelounge.net) wrote: Hi i try to secure the Apache-Webserver (mpm-prefork) as much as possible am i right that with the following settings in the systemd-unit after the child-process is

[systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-25 Thread William Giokas
Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/site-functions` --- Honestly, this is my first foray into

Re: [systemd-devel] unused translations in git

2013-07-25 Thread Lennart Poettering
On Mon, 22.07.13 05:51, Michael Biebl (mbi...@gmail.com) wrote: Hi, so it seems to me, we use gettext to translate the PolicyKit policy files, but we do not actually enable/ship them, as the po files are not added to po/LINGUAS. Admittedly, it's currently only a single translation

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Tomasz Torcz
On Thu, Jul 25, 2013 at 06:51:21PM +0200, Lennart Poettering wrote: On Fri, 19.07.13 21:05, Pablo Nehab Hess (pa...@hess.net.br) wrote: Hi all, I was wondering how much systemd could add to current high availability cluster setups. Today systemd is used on HA clusters as just an

Re: [systemd-devel] unused translations in git

2013-07-25 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 25, 2013 at 09:20:35PM +0200, Lennart Poettering wrote: On Mon, 22.07.13 05:51, Michael Biebl (mbi...@gmail.com) wrote: Hi, so it seems to me, we use gettext to translate the PolicyKit policy files, but we do not actually enable/ship them, as the po files are not added to

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Jan Engelhardt
On Thursday 2013-07-25 18:52, Lennart Poettering wrote: On Sun, 21.07.13 06:36, Jan Engelhardt (jeng...@inai.de) wrote: I was wondering how much systemd could add to current high availability cluster setups. [...] Does this idea even make sense? Is it too one systemd to rule them all? If

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Lennart Poettering
On Thu, 25.07.13 21:21, Tomasz Torcz (to...@pipebreaker.pl) wrote: On Thu, Jul 25, 2013 at 06:51:21PM +0200, Lennart Poettering wrote: On Fri, 19.07.13 21:05, Pablo Nehab Hess (pa...@hess.net.br) wrote: Hi all, I was wondering how much systemd could add to current high

Re: [systemd-devel] [Feature request] A way to native import /proc/cmdline within unit

2013-07-25 Thread Lennart Poettering
On Sat, 20.07.13 16:37, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: Hello I am maintainer of Archiso project (The Arch Linux live ISO creator). I like a feature for systemd within unit files, mainly for importing /proc/cmdline in initramfs stage, or in a generic form for any

Re: [systemd-devel] /etc/systemd/system/darkice.service

2013-07-25 Thread Lennart Poettering
On Mon, 22.07.13 17:48, Kai Hendry (hen...@iki.fi) wrote: On 19 July 2013 01:29, Lennart Poettering lenn...@poettering.net wrote: It is certainly surprising at first, but it makes a lot of sense. In systemd ordering deps and requirement deps are truly orthogonal. This is useful in many

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Kay Sievers
On Thu, Jul 25, 2013 at 7:00 PM, Lennart Poettering lenn...@poettering.net wrote: I'd vote by replacing it by ConditionPathIsReadWrite=/sys since sane container managers mount that read-only.) A change like that sounds great to me. Keying-off access to /sys is probably more appropriate for

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Gerardo Exequiel Pozzi
On 07/25/2013 02:00 PM, Lennart Poettering wrote: On Wed, 24.07.13 18:41, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: We generally try to make conditions specific to a feature rather than an execution environment. Containers should run without CAP_MKMNOD, and as udev originally

[systemd-devel] [PATCH] build: allow specifying a custom pam session name

2013-07-25 Thread Marc-Antoine Perennou
for distribution now wanting to use systemd-shared Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com --- Makefile.am| 1 + configure.ac | 10 ++ units/u...@.service.in | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.am

Re: [systemd-devel] [Feature request] A way to native import /proc/cmdline within unit

2013-07-25 Thread Gerardo Exequiel Pozzi
On 07/25/2013 05:06 PM, Lennart Poettering wrote: On Sat, 20.07.13 16:37, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: Hello I am maintainer of Archiso project (The Arch Linux live ISO creator). I like a feature for systemd within unit files, mainly for importing

Re: [systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-25 Thread Michael Biebl
2013/7/25 William Giokas 1007...@gmail.com: Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to

Re: [systemd-devel] [IDEA] systemd as basis for HA clusters

2013-07-25 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 25/07/13 20:59 did gyre and gimble: On Thu, 25.07.13 21:21, Tomasz Torcz (to...@pipebreaker.pl) wrote: On Thu, Jul 25, 2013 at 06:51:21PM +0200, Lennart Poettering wrote: On Fri, 19.07.13 21:05, Pablo Nehab Hess (pa...@hess.net.br) wrote: Hi all, I

Re: [systemd-devel] unused translations in git

2013-07-25 Thread Michael Biebl
2013/7/25 Lennart Poettering lenn...@poettering.net: On Mon, 22.07.13 05:51, Michael Biebl (mbi...@gmail.com) wrote: Hi, so it seems to me, we use gettext to translate the PolicyKit policy files, but we do not actually enable/ship them, as the po files are not added to po/LINGUAS.

Re: [systemd-devel] [PATCH] build: allow specifying a custom pam session name

2013-07-25 Thread Tom Gundersen
On Fri, Jul 26, 2013 at 12:28 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: for distribution now wanting to use systemd-shared Could you explain a bit more why this needs to be configurable? What's the usecase? Cheers, Tom ___

Re: [systemd-devel] [PATCH] build: allow specifying a custom pam session name

2013-07-25 Thread Marc-Antoine Perennou
On 26 July 2013 01:10, Tom Gundersen t...@jklm.no wrote: On Fri, Jul 26, 2013 at 12:28 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: for distribution now wanting to use systemd-shared Could you explain a bit more why this needs to be configurable? What's the usecase? Cheers,

[systemd-devel] [PATCH v2] shell-completion: fix zsh completion installation

2013-07-25 Thread William Giokas
Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/vendor-functions` --- Makefile.am

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Kay Sievers
On Fri, Jul 26, 2013 at 12:19 AM, Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar wrote: Anyway, I don't get what you are trying to achieve by your patch please elaborate. My thought was simple: Hey! what is doing CAP_MKNOD here since is not needed anymore for udev, remove them!. Ok course, I

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Lennart Poettering
On Thu, 25.07.13 19:19, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: Anyway, I don't get what you are trying to achieve by your patch please elaborate. My thought was simple: Hey! what is doing CAP_MKNOD here since is not needed anymore for udev, remove them!. Ok course, I did

Re: [systemd-devel] unused translations in git

2013-07-25 Thread Lennart Poettering
On Fri, 26.07.13 00:44, Michael Biebl (mbi...@gmail.com) wrote: 2013/7/25 Lennart Poettering lenn...@poettering.net: On Mon, 22.07.13 05:51, Michael Biebl (mbi...@gmail.com) wrote: Hi, so it seems to me, we use gettext to translate the PolicyKit policy files, but we do not actually

Re: [systemd-devel] [PATCH v2] shell-completion: fix zsh completion installation

2013-07-25 Thread William Giokas
On Fri, Jul 26, 2013 at 12:41:11AM +0200, Michael Biebl wrote: I was told [1], the directory for 3rd party packages would be /usr/share/zsh/vendor-completions. But I'm not a zsh user, so I'm just paroting what I read there. Was there a zsh developer (not a Debian packager of zsh) that says

Re: [systemd-devel] [PATCH v2] shell-completion: fix zsh completion installation

2013-07-25 Thread William Giokas
On Thu, Jul 25, 2013 at 07:02:14PM -0500, William Giokas wrote: On Fri, Jul 26, 2013 at 12:41:11AM +0200, Michael Biebl wrote: I was told [1], the directory for 3rd party packages would be /usr/share/zsh/vendor-completions. But I'm not a zsh user, so I'm just paroting what I read there.