[systemd-devel] [PATCH v2] gnome-ask-password-agent: do not double fork spawned process

2013-08-14 Thread Michael Laß
pkexec does not like being a lonely child: Refusing to render service to dead parents. Do not double fork when spawning the process by using the DO_NOT_REAP_CHILD flag. Clean up manually using a child watch. --- src/gnome-ask-password-agent.vala | 8 ++-- 1 file changed, 6 insertions(+), 2

[systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Richard Hughes
Hi all, I'm aware of at least half a dozen programs and daemons that read and parse /usr/share/hwdata/pnp.ids to convert PNP_IDS to actual vendor names. Although this file will be in hot cache at login, it does seem a waste of a lot of duplicated parsing and hashing code. I'm aware the PNP_ID

Re: [systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 12:03 PM, Richard Hughes hughsi...@gmail.com wrote: I'm aware of at least half a dozen programs and daemons that read and parse /usr/share/hwdata/pnp.ids to convert PNP_IDS to actual vendor names. Although this file will be in hot cache at login, it does seem a waste of

Re: [systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Richard Hughes
On 14 August 2013 11:41, Kay Sievers k...@vrfy.org wrote: An example is here: http://cgit.freedesktop.org/systemd/systemd/tree/src/test/test-libudev.c#n432 Great! Thanks. So I know what to use where, what's the cost of those functions? For instance, is udev_hwdb_new() going to use globs of

Re: [systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 1:06 PM, Richard Hughes hughsi...@gmail.com wrote: On 14 August 2013 11:41, Kay Sievers k...@vrfy.org wrote: An example is here: http://cgit.freedesktop.org/systemd/systemd/tree/src/test/test-libudev.c#n432 Great! Thanks. So I know what to use where, what's the

Re: [systemd-devel] Impact when not loading ipv6 and autofs kernel module ...

2013-08-14 Thread Hoyer, Marko (ADITG/SW2)
-Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: Friday, August 09, 2013 5:49 PM To: Hoyer, Marko (ADITG/SW2) Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] Impact when not loading ipv6 and autofs kernel module ... On Wed,

Re: [systemd-devel] [PATCH v2] gnome-ask-password-agent: do not double fork spawned process

2013-08-14 Thread Colin Walters
On Wed, 2013-08-14 at 06:46 +0200, Michael Laß wrote: pkexec does not like being a lonely child: Refusing to render service to dead parents. Do not double fork when spawning the process by using the DO_NOT_REAP_CHILD flag. Clean up manually using a child watch. Pushed, thanks!

Re: [systemd-devel] [PATCH] travis: Add a travis.yml for doing CI after commits

2013-08-14 Thread Kay Sievers
On Thu, Jul 18, 2013 at 7:40 AM, Holger Hans Peter Freyther hol...@freyther.de wrote: On Wed, Jul 17, 2013 at 05:08:46PM +0200, Kay Sievers wrote: I did something like that now. Let's see if it works ... Thank you, it did[1]. [1] https://travis-ci.org/systemd/systemd I temporarily switched

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-14 Thread David Strauss
On Tue, Aug 13, 2013 at 7:36 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Is this definite? With 10 RSVPs, we'll make it happen. I added the G+ event after Kay said, The current idea is to do [a hackfest] during the two LinuxCon days before Plumbers starts. -- David Strauss |

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-14 Thread David Strauss
However, I should ask if we have space formally reserved yet. I'm willing to go in on costs here if we need that. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] travis: Add a travis.yml for doing CI after commits

2013-08-14 Thread David Strauss
On Wed, Aug 14, 2013 at 2:15 PM, Kay Sievers k...@vrfy.org wrote: Maybe someone has an idea, or an alternative. The CI I maintain [1] for systemd is certainly one alternative that continues to be in production. I'd like to get more test automation going, but it's not like TravisCI was running

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 11:42 PM, David Strauss da...@davidstrauss.net wrote: On Tue, Aug 13, 2013 at 7:36 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Is this definite? With 10 RSVPs, we'll make it happen. I added the G+ event after Kay said, The current idea is to do [a

Re: [systemd-devel] [PATCH 1/2] zsh_completion: Allow specifying multiple arguments

2013-08-14 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Aug 13, 2013 at 01:38:28AM -0500, William Giokas wrote: Some of the options in systemd can take multiple arguments, such as systemctl's --type option. Previously, you would only be able to complete a single type after the -t, but now zsh will continue to complete the types, separating

Re: [systemd-devel] [PATCH] fstab-generator: log_oom() if automount_name is null

2013-08-14 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Aug 13, 2013 at 04:38:19PM +0800, WANG Chao wrote: --- src/fstab-generator/fstab-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] zsh_completion: Move helper function to autoload

2013-08-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Aug 12, 2013 at 12:41:18PM -0500, William Giokas wrote: _hosts_or_user_at_host was used by 6 different completions, and previously was in all 6 of those files. I moved it out to its own file, _sd_hosts_or_user_at_host. This will be autoloaded for use in other completion functions. It

Re: [systemd-devel] [PATCH] Recognize discard option in /etc/crypttab

2013-08-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 09, 2013 at 08:37:52PM +0200, Michael Stapelberg wrote: Hi, forwarding this patch we received in the Debian bugtracker. systemd-cryptsetup recognizes option 'allow-discards' in /etc/crypttab to enable TRIM passthrough to underlying encrypted device. In Debian this option was

[systemd-devel] [PATCH 1/3 v2] zsh_completion: Allow specifying multiple arguments

2013-08-14 Thread William Giokas
Some of the options in systemd can take multiple arguments, such as systemctl's --type option. Previously, you would only be able to complete a single type after the -t, but now zsh will continue to complete the types, separating them by commas. systemd-inhibit's --what command has colon (:), and

[systemd-devel] [PATCH 3/3 v2] zsh_completion: Remove ctls function from _systemd

2013-08-14 Thread William Giokas
The _ctls function in the main _systemd file is not needed. --- shell-completion/zsh/_systemd | 163 -- 1 file changed, 79 insertions(+), 84 deletions(-) diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd index fe39de8..e954c3e

[systemd-devel] [PATCH 2/3 v2] zsh_completion: machinectl properties can be stacked

2013-08-14 Thread William Giokas
--- shell-completion/zsh/_machinectl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl index aa568e5..abdf46f 100644 --- a/shell-completion/zsh/_machinectl +++ b/shell-completion/zsh/_machinectl @@ -35,7 +35,7

[systemd-devel] [PATCH 0/3] Z-Shell fixes

2013-08-14 Thread William Giokas
Just a redo of the three un-merged patches on the ml at the moment. Nothing really different, just rebased. William Giokas (3): zsh_completion: Allow specifying multiple arguments -- Just rebased. zsh_completion: machinectl properties can be stacked zsh_completion: Remove ctls function from