Re: [systemd-devel] python - reading the journal

2013-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 03, 2013 at 07:10:45PM -0800, David Strauss wrote: > On Sun, Mar 3, 2013 at 6:59 PM, David Strauss wrote: > > I don't want this work to get buried. Where are we on the revisions > > suggested by Zbyszek? Hi David, just to wrap this up, I think that the only outstanding proposed change

Re: [systemd-devel] python - reading the journal

2013-03-03 Thread David Strauss
On Sun, Mar 3, 2013 at 6:59 PM, David Strauss wrote: > I don't want this work to get buried. Where are we on the revisions > suggested by Zbyszek? Never mind. Looks like it landed in master. -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] _

[systemd-devel] DBus service name encoding

2013-03-03 Thread David Strauss
I can't find any documentation on how service names get encoded for DBus. It looks pretty close to URL encoding with underscores instead of percent signs. If I can get a definitive answer, I'll update the wiki. If I can't, I can, of course, dive into the source. -- David Strauss | da...@david

Re: [systemd-devel] python - reading the journal

2013-03-03 Thread David Strauss
I don't want this work to get buried. Where are we on the revisions suggested by Zbyszek? On Sat, Feb 23, 2013 at 7:34 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Feb 23, 2013 at 02:05:27PM +, Steven Hiscocks wrote: >> On 23/02/13 00:43, Zbigniew Jędrzejewski-Szmek wrote: >> >On Thu, Feb

Re: [systemd-devel] [PATCH 3/5] tpmfiles: add missing parenthesis

2013-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 03, 2013 at 05:10:46PM +0100, Michal Sekletar wrote: > Hi Zbigniew, > > you are right. I overlooked the fact that negation has higher precedence than equal operator. Thank you! > Would you be so kind and commit the patch? Applied now. Zbyszek __

Re: [systemd-devel] [PATCH] bash-completion: split completions and move to new location

2013-03-03 Thread Kay Sievers
On Mon, Mar 4, 2013 at 12:18 AM, Michael Biebl wrote: > 2013/3/3 Michael Biebl : >> 2013/3/3 Kay Sievers : >>> On Sat, Mar 2, 2013 at 10:46 PM, Michael Biebl wrote: That said, I can prep a follow-up patch, which makes that configurable and uses "pkg-config --variable=completionsdir bash

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-03-03 Thread James May
On 1 March 2013 07:24, Cristian Rodríguez wrote: > Having this confessed non-ideal ReloadOnResume ,StopOnSuspend in unit > files etc will make extremely easy to avoid relying on either pm-utils > hooks or those new in /usr/lib/systemd/systemd-sleep and having to patch > buggy software, most likel

Re: [systemd-devel] [PATCH] bash-completion: split completions and move to new location

2013-03-03 Thread Michael Biebl
2013/3/3 Michael Biebl : > 2013/3/3 Kay Sievers : >> On Sat, Mar 2, 2013 at 10:46 PM, Michael Biebl wrote: >>> That said, I can prep a follow-up patch, which makes that configurable >>> and uses "pkg-config --variable=completionsdir bash-completion". >>> Pretty much >>> what we do for --with-dbus*

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Rob Clark
On Sun, Mar 3, 2013 at 1:22 PM, Kay Sievers wrote: > On Sun, Mar 3, 2013 at 7:10 PM, Rob Clark wrote: >> On Sun, Mar 3, 2013 at 1:06 PM, Kay Sievers wrote: >>> On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. So i

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 7:10 PM, Rob Clark wrote: > On Sun, Mar 3, 2013 at 1:06 PM, Kay Sievers wrote: >> On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: >>> On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. >>> So it is not an error if names_pci() fails to find a parent PC

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Rob Clark
On Sun, Mar 3, 2013 at 1:06 PM, Kay Sievers wrote: > On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: >> On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. >> So it is not an error if names_pci() fails to find a parent PCI device. > > As the comment in the code lines above st

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: > On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. > So it is not an error if names_pci() fails to find a parent PCI device. As the comment in the code lines above states, all these names work on for PCI based setups. Other

Re: [systemd-devel] [PATCH 1/2] udev: fix segfault with android rndis

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: > The android gadget driver for network tethering over rndis somehow has a > parent device with a null name. Probably this is bug in android driver, > but it is easy enough to make systemd/udev behave gracefully and not > segfault. And this will h

[systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Rob Clark
On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. So it is not an error if names_pci() fails to find a parent PCI device. Signed-off-by: Rob Clark --- src/udev/udev-builtin-net_id.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/udev/udev-builtin

[systemd-devel] [PATCH 1/2] udev: fix segfault with android rndis

2013-03-03 Thread Rob Clark
The android gadget driver for network tethering over rndis somehow has a parent device with a null name. Probably this is bug in android driver, but it is easy enough to make systemd/udev behave gracefully and not segfault. And this will help for making linux distros with systemd (like fedora) wo

[systemd-devel] [PATCH 0/2] fixes for arm and rndis tethered network

2013-03-03 Thread Rob Clark
A couple fixes that I found in the process of getting rndis network device to work properly with systemd/udev. Rob Clark (2): udev: fix segfault with android rndis udev: fix for devices without PCI src/udev/udev-builtin-net_id.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --

Re: [systemd-devel] [PATCH 3/5] tpmfiles: add missing parenthesis

2013-03-03 Thread Michal Sekletar
Hi Zbigniew, you are right. I overlooked the fact that negation has higher precedence than equal operator. Thank you! Would you be so kind and commit the patch? Michal. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.f

Re: [systemd-devel] [PATCH 3/5] tpmfiles: add missing parenthesis

2013-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 02, 2013 at 05:56:16PM +0100, Michal Sekletar wrote: > Hi Carlos, > > I shouldn't use word "Agreed", because it seems that it caused some confusion. > > On Mar 2, 2013, at 3:55 PM, Carlos Silva wrote: > > > On Sat, Mar 2, 2013 at 1:46 PM, Michal Sekletar > > wrote: > > >> -

Re: [systemd-devel] [PATCH] bash-completion: split completions and move to new location

2013-03-03 Thread Michael Biebl
2013/3/3 Kay Sievers : > On Sat, Mar 2, 2013 at 10:46 PM, Michael Biebl wrote: >> since this has been on the TODO list and Kay has poked me about this, >> I went ahead and made the bash completion compatible with the new >> scheme. I.e. move the files to /usr/share/bash-completions/completions >>