Re: [systemd-devel] [PATCH] terminal: fix prototypes after removal of |bus|

2015-05-04 Thread David Herrmann
Hi On Wed, Apr 29, 2015 at 8:49 PM, Mantas Mikulėnas wrote: > Following commits fe506d569d82467f3186 and 190700621f95160d364f. > --- > src/libsystemd-terminal/grdev-drm.c | 9 +++-- > src/libsystemd-terminal/idev-evdev.c| 3 +-- > src/libsystemd-terminal/idev-keyboard.c | 8 +++---

Re: [systemd-devel] [systemd-commits] TODO

2015-04-29 Thread David Herrmann
Hi On Wed, Apr 29, 2015 at 2:25 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Apr 29, 2015 at 11:51:18AM +0200, Martin Pitt wrote: >> Hello all, >> >> Lennart Poettering [2015-04-28 17:48 +0200]: >> > Hmm, so, anyone found out anything useful about this? None of the >> > links above has anythi

Re: [systemd-devel] [PATCH] udev: Fix ping timeout when settle timeout is 0

2015-04-22 Thread David Herrmann
Hi On Mon, Apr 20, 2015 at 6:58 PM, David Herrmann wrote: > Hi > > On Sun, Apr 19, 2015 at 1:49 AM, Nir Soffer wrote: >> When running udevadm settle --timeout=0, the ping always times out, and >> udevadm will return 0 without checking the queue state. >> >> Si

Re: [systemd-devel] [PATCH] vconsole: rerun setup on console takeovers as well

2015-04-22 Thread David Herrmann
Hi On Wed, Apr 22, 2015 at 6:14 PM, Lennart Poettering wrote: > On Tue, 24.02.15 19:23, Jan Engelhardt (jeng...@inai.de) wrote: > > Sorry for the late reply, > >> When a system, which has an FB driver and fbcon loaded and active, >> then the font state gets lost on console takeovers, as for examp

Re: [systemd-devel] [PATCH 1/3] rules: Enable runtime device power management on Intel HDA controllers

2015-04-20 Thread David Herrmann
Hi On Sun, Apr 19, 2015 at 11:46 PM, Matthew Garrett wrote: > On Sun, Apr 19, 2015 at 11:37:31PM +0200, Kay Sievers wrote: >> I'm not convinced that any such broad matches for power management >> belong into udev at all. Udev can carry specific device matches, or >> carry data that cannot be dete

Re: [systemd-devel] [PATCH] udev: Fix ping timeout when settle timeout is 0

2015-04-20 Thread David Herrmann
Hi On Sun, Apr 19, 2015 at 1:49 AM, Nir Soffer wrote: > When running udevadm settle --timeout=0, the ping always times out, and > udevadm will return 0 without checking the queue state. > > Since zero timeout is considered as unlimited timeout, we use now > unlimited ping timeout. > --- > src/ud

Re: [systemd-devel] [PATCH v3 2/2] udev: Skip ping if timeout is 0

2015-04-20 Thread David Herrmann
Hi On Sun, Apr 19, 2015 at 2:41 AM, Nir Soffer wrote: > When running udevadm settle --timeout=0, udev_ctrl_send_ping always > times out, and settle returns 0 without checking the queue. > > Now we skip ping in this case, and return the queue state. > --- > src/udev/udevadm-settle.c | 2 +- > 1 f

Re: [systemd-devel] [PATCH v3 1/2] udev: settle should return immediately when timeout is 0

2015-04-20 Thread David Herrmann
Hi On Sun, Apr 19, 2015 at 2:41 AM, Nir Soffer wrote: > udevadm manual says: > > A value of 0 will check if the queue is empty and always return > immediately. > > However, currently we ignore the deadline if the value is 0, and wait > without any limit. > > Zero timeout behaved according

Re: [systemd-devel] [PATCH] udev: Restore udevadm settle timeout

2015-04-20 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 9:38 PM, Nir Soffer wrote: > On Sat, Apr 11, 2015 at 1:36 PM, David Herrmann wrote: >> > @@ -139,6 +142,9 @@ static int adm_settle(struct udev *udev, int argc, >> > char *argv[]) { >> >

Re: [systemd-devel] [PATCH v4 0/4] udev: Add builtin and hwdb files for setting pointingstick properties

2015-04-20 Thread David Herrmann
Hi On Fri, Apr 17, 2015 at 4:48 PM, Hans de Goede wrote: > Hi All, > > Here is v4 of my pointstick set. > > Changes since v3: > -Use the existing evdev matching rules > -Make setting the sensitivity part of the evdev builtin (which is called > keyboard for historical reasons) > > Changes since v

Re: [systemd-devel] [PATCH v4 2/4] udev: keyboard-builtin: Add support for setting IBM trackpoint sensitivity

2015-04-20 Thread David Herrmann
Hi On Fri, Apr 17, 2015 at 4:48 PM, Hans de Goede wrote: > IBM / Lenovo trackpoints allow specifying a sensitivity setting through a > ps/2 command, which changes the range of the deltas sent when using the > trackpoint. > > On some models with normal usage only deltas of 1 or 2 are send, resulti

Re: [systemd-devel] SD_BUS_VTABLE_CAPABILITY

2015-04-17 Thread David Herrmann
Hi On Fri, Apr 17, 2015 at 5:52 PM, Josh Triplett wrote: > On Thu, Apr 16, 2015 at 08:23:45PM +0200, Lennart Poettering wrote: >> Now, to put together a more complex scenario for you: consider a small >> web UI that can be used to set the system time. It should realy run at >> minimal privileges,

Re: [systemd-devel] [PATCH] udevd: fix synchronization with settle when handling inotify events

2015-04-17 Thread David Herrmann
Hi On Mon, Apr 13, 2015 at 4:49 PM, Daniel Drake wrote: > On Sat, Apr 11, 2015 at 5:13 AM, David Herrmann wrote: >> Nice catch! >> >> There's indeed a small race between handling inotify and queuing up >> the change-event. We need to re-loop there. One day we

Re: [systemd-devel] [PATCH 2/2] udev: Allow detection of udevadm settle timeout

2015-04-11 Thread David Herrmann
(Please keep the ML in CC) On Sat, Apr 11, 2015 at 5:38 PM, Nir Soffer wrote: > On Sat, Apr 11, 2015 at 1:50 PM, David Herrmann > wrote: >> >> Hi >> >> On Wed, Apr 8, 2015 at 9:40 PM, Nir Soffer wrote: >> > When udevadm settle times out, it exits with ex

Re: [systemd-devel] [PATCH] udevd: fix synchronization with settle when handling inotify events

2015-04-11 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 12:03 AM, Daniel Drake wrote: > udev uses inotify to implement a scheme where when the user closes > a writable device node, a change uevent is forcefully generated. > In the case of block devices, it actually requests a partition rescan. > > This currently can't be sync

Re: [systemd-devel] [PATCH] hwdb: add Samsung ATIV Book 6 / 8

2015-04-11 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 12:30 PM, wrote: > From: Gavin Li > > This adds support for the keyboard illumination keys and fixes > Fn+F1. > --- > hwdb/60-keyboard.hwdb | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb > index 8f0565d..84

Re: [systemd-devel] [PATCH 2/2] udev: Allow detection of udevadm settle timeout

2015-04-11 Thread David Herrmann
Hi On Wed, Apr 8, 2015 at 9:40 PM, Nir Soffer wrote: > When udevadm settle times out, it exits with exit code 1. This make it > impossible for users to detect a timeout and handle real errors. Now we > use exit code 3 on timeouts. What's the use-case for this? Thanks David > --- > src/udev/u

Re: [systemd-devel] [PATCH v2 2/2] build: allow setting OBJCOPY

2015-04-11 Thread David Herrmann
Hi On Wed, Apr 8, 2015 at 10:33 PM, Marc-Antoine Perennou wrote: > --- > Makefile.am | 4 ++-- > configure.ac | 1 + > 2 files changed, 3 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/Makefile.am b/Makefile.am > index 9b769ee..397a71c 100644 > --- a/Makefile.am > +++ b/M

Re: [systemd-devel] [PATCH v2 1/2] configure: allow setting EFI_CC

2015-04-11 Thread David Herrmann
Hi On Wed, Apr 8, 2015 at 10:33 PM, Marc-Antoine Perennou wrote: > --- > configure.ac | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied! Thanks David > diff --git a/configure.ac b/configure.ac > index 1608c83..7e4a574 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1147

Re: [systemd-devel] [PATCH 3/5] efi: use EFI_CC

2015-04-11 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou wrote: > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 29111f5..1608c83 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1172,7 +1172,7 @@ AS_IF([test

Re: [systemd-devel] [PATCH 1/5] factory: install to datadir

2015-04-11 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou wrote: > --- > Makefile.am | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied! Thanks David > diff --git a/Makefile.am b/Makefile.am > index a575af6..9fa4223 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -109,8 +1

Re: [systemd-devel] [PATCH] udev: Restore udevadm settle timeout

2015-04-11 Thread David Herrmann
Hi On Wed, Apr 8, 2015 at 3:04 AM, Nir Soffer wrote: > Commit 9ea28c55a2 (udev: remove seqnum API and all assumptions about > seqnums) introduced a regresion, ignoring the timeout option when > waiting until the event queue is empty. > > Previously, if the udev event queue was not empty when the

Re: [systemd-devel] [PATCH] 42-usb-hid-pm.rules: Fix tests for removable state

2015-04-11 Thread David Herrmann
Hi On Thu, Apr 9, 2015 at 3:58 AM, Matthew Garrett wrote: > From: Matthew Garrett > > We only care about whether our direct parent is removable, not whether any > further points up the tree are - the kernel will take care of policy for > those itself. This enables autosuspend on devices where th

Re: [systemd-devel] [PATCH] README: glibc version 2.16 is required for IP_UNICAST_IF

2015-04-11 Thread David Herrmann
Hi On Fri, Apr 10, 2015 at 7:39 PM, Łukasz Stelmach wrote: > https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=be08eda5 > https://bugs.gentoo.org/show_bug.cgi?id=546194 > --- > README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) 2.16 is 3 years old, so this should be fine. If no

Re: [systemd-devel] [gummiboot][PATCH 5/5] Makefile.am: Add support for AARCH64

2015-04-11 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi wrote: > Aarch64 and ARM32 lack an EFI capable objcopy, so use the ldflags + -O > binary trick gnu-efi and the Red Hat shimloader are using. > > Signed-off-by: Koen Kooi > --- > Makefile.am | 15 +-- > 1 file changed, 13 insertions(+),

Re: [systemd-devel] [gummiboot][PATCH 4/5] util: confine x86 asm to x86 architectures

2015-04-11 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi wrote: > Also add a stub function that just returns '1' to avoid missing symbols. > > Signed-off-by: Koen Kooi > --- > src/efi/util.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/src/efi/util.c b/src/efi/util.c

Re: [systemd-devel] [gummiboot][PATCH 3/5] configure: add AARCH64 support

2015-04-11 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi wrote: > This is just plumbing to add ARCH_AARCH64 for makefile tests and > defining the machine name. > > Signed-off-by: Koen Kooi > --- > configure.ac | 4 > 1 file changed, 4 insertions(+) > > diff --git a/configure.ac b/configure.ac > inde

Re: [systemd-devel] [gummiboot][PATCH 2/5] util: use x86 ASM only on x86(-64) platforms.

2015-04-11 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi wrote: > Signed-off-by: Koen Kooi > --- > src/efi/util.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/efi/util.c b/src/efi/util.c > index ba5ed7d..689bc7c 100644 > --- a/src/efi/util.c > +++ b/src/efi/util.c > @@

Re: [systemd-devel] [gummiboot][PATCH 1/5] Makefile: support non-x86 builds

2015-04-11 Thread David Herrmann
Hi On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi wrote: > Move the no-mmx/no-sse CFLAGS to X86-64 and IA32 defines in preparation > for ARM32 and Aarch64 support. > > Signed-off-by: Koen Kooi > --- > Makefile.am | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) Applied to syst

Re: [systemd-devel] [PATCH 1/6] udev: builtin-keyboard: move fetching the device node up

2015-04-08 Thread David Herrmann
Hi On Wed, Apr 8, 2015 at 7:41 PM, Lennart Poettering wrote: > On Mon, 23.03.15 11:30, Peter Hutterer (peter.hutte...@who-t.net) wrote: > >> No point parsing the properties if we can't get the devnode to apply them >> later. Plus, this makes future additions easier to slot in. > > Hmm, Peter, thi

Re: [systemd-devel] [PATCH v3 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity

2015-04-07 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 1:52 PM, Hans de Goede wrote: > Hi, > > > On 07-04-15 13:46, David Herrmann wrote: >> >> Hi >> >> On Tue, Apr 7, 2015 at 1:40 PM, Hans de Goede wrote: >>>> >>>> The series looks reasonable, but I wonder why

Re: [systemd-devel] [PATCH v3 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity

2015-04-07 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 1:40 PM, Hans de Goede wrote: >> The series looks reasonable, but I wonder why we cannot merge it into >> 60-keyboard.rule (60-evdev.rule now) like Peter's series does? In that >> case, please make this a builtin of input_id which uses >> udev_device_get_parent_subsystem

Re: [systemd-devel] systemd-resolved service ignores UseDNS=false

2015-04-07 Thread David Herrmann
Hi On Wed, Mar 25, 2015 at 4:20 AM, Mikhail Morfikov wrote: > In the systemd-resolved manual we can read something like this: > > The DNS servers contacted are determined from the global settings in > resolved.conf(5), the per-link static settings in .network files, and > the per-link dynam

Re: [systemd-devel] [PATCH v3 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity

2015-04-07 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 12:09 PM, Hans de Goede wrote: > IBM / Lenovo trackpoints allow specifying a sensitivity setting through a > ps/2 command, which changes the range of the deltas sent when using the > trackpoint. On some models with normal usage only deltas of 1 or 2 are send, > resulting

Re: [systemd-devel] [PATCH] udev: input_id: tag pointing sticks as ID_INPUT_POINTINGSTICK

2015-04-07 Thread David Herrmann
Hi On Thu, Mar 26, 2015 at 7:05 AM, Peter Hutterer wrote: > Also referred to as trackpoint, trackstick. These are marked by recent kernels > through an input prop. Forward that prop as udev property so userspace can > easily determine whether there is a pointing stick present. > > These devices w

Re: [systemd-devel] [PATCH 6/6] hwdb: set the resoluton for a couple of bcm5974 touchpads

2015-04-07 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 2:30 AM, Peter Hutterer wrote: > Verified for the 5,1 Macbook, the others are guesses based on the list of > supported devices of the moshi trackpad protector. > http://www.moshi.com/trackpad-protector-trackguard-macbook-pro#silver > > Resolution calculated based on the

Re: [systemd-devel] [PATCH v2 5/6] udev: builtin-keyboard: add support for EV_ABS_OVERRIDE

2015-04-07 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 2:15 AM, Peter Hutterer wrote: > On Fri, Mar 27, 2015 at 12:54:50PM +0100, Martin Pitt wrote: >> Hey Peter, >> >> thanks for these! Patches 1 to 4 look good to me, but I have some >> questions/comments on this one. >> >> Peter Hutterer [2015-03-23 11:30 +1000]: >> > ---

Re: [systemd-devel] [PATCH 3/6] udev: builtin-keyboard: move actual key mapping to a helper function

2015-04-07 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 2:30 AM, Peter Hutterer wrote: > No changes in the mapping, but previously we opened the device only on > successful parsing. Now we open the mapping as soon as we have a value that > looks interesting. Since errors are supposed to be the exception, not the > rule, this

Re: [systemd-devel] [PATCH 2/6] udev: builtin-keyboard: immediately EVIOCSKEYCODE when we have a pair

2015-04-07 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 2:30 AM, Peter Hutterer wrote: > Rather than building a map and looping through the map, immediately call the > ioctl when we have a successfully parsed property. > > This has a side-effect: before the maximum number of ioctls was limited to the > size of the map (1024)

Re: [systemd-devel] [PATCH 1/6] udev: builtin-keyboard: move fetching the device node up

2015-04-07 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 2:30 AM, Peter Hutterer wrote: > No point parsing the properties if we can't get the devnode to apply them > later. Plus, this makes future additions easier to slot in. > --- > src/udev/udev-builtin-keyboard.c | 17 + > 1 file changed, 9 insertions(+),

Re: [systemd-devel] [PATCH] udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER

2015-04-07 Thread David Herrmann
Hi On Tue, Apr 7, 2015 at 3:47 AM, Peter Hutterer wrote: > On Sat, Apr 04, 2015 at 02:07:27PM +0200, David Herrmann wrote: >> Hi >> >> On Fri, Apr 3, 2015 at 8:55 PM, Hans de Goede wrote: >> [...] >> >> I don't think we should return when we see INP

Re: [systemd-devel] [PATCH] udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER

2015-04-04 Thread David Herrmann
Hi On Fri, Apr 3, 2015 at 8:55 PM, Hans de Goede wrote: [...] >> I don't think we should return when we see INPUT_PROP_ACCEL. If a >> keyboard embeds an accelerometer, we will miss it. I think I went too >> deep in detail for Wacoms/tablets devices and it confused you. Those >> don't need much pr

Re: [systemd-devel] [PATCH] udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER

2015-04-03 Thread David Herrmann
Hi On Fri, Apr 3, 2015 at 5:30 PM, Benjamin Tissoires wrote: > On Apr 03 2015 or thereabouts, David Herrmann wrote: >> Hi >> >> On Fri, Apr 3, 2015 at 4:38 PM, Benjamin Tissoires >> wrote: >> > On Apr 03 2015 or thereabouts, Hans de Goede wrote: >> &

Re: [systemd-devel] [PATCH] udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER

2015-04-03 Thread David Herrmann
Hi On Fri, Apr 3, 2015 at 4:38 PM, Benjamin Tissoires wrote: > On Apr 03 2015 or thereabouts, Hans de Goede wrote: >> Hi, >> >> On 03-04-15 15:51, David Herrmann wrote: >> >Hi >> > >> >On Fri, Apr 3, 2015 at 12:07 PM, Hans de Goede wrote: >&g

Re: [systemd-devel] [PATCH] udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER

2015-04-03 Thread David Herrmann
Hi On Fri, Apr 3, 2015 at 12:07 PM, Hans de Goede wrote: > input_id already (tries to) tag accelerometers as such, but this only works > for absolute accelerometers. Recent kernels mark accelerometers through an > input prop. Trust that prop and always tag devices with it with > ID_INPUT_ACCELERO

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-24 Thread David Herrmann
Hi On Tue, Mar 24, 2015 at 2:15 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Mar 24, 2015 at 01:59:40PM +0100, Tom Gundersen wrote: [...] >> >>> But it is not systemd's task to cover for missing functionality in the >> >>> cockpit architecture. We should not add redundant interfaces just >> >

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-23 Thread David Herrmann
Hi 2015-03-23 19:42 GMT+01:00 Stef Walter : > -BEGIN PGP MESSAGE- > Version: GnuPG v2 > > hQIOA/Dzx7eUN7W0EAgAgOsjwL/aEhn5prcOPnPCWCVcmINma17E5K4ysdpJP3vB > wuIF/L/0b1uhoDUgF1oiK9YwEpJyY1BSFt4HmaVnLw38cNL04u/WY+PUFsT0G0rV > 3fu7dl1Mxnjab63ncg4aPVrhYVqGbaCohbAjbmmgGX9Ty/Ey3shItWW6oGm3qbwJ >

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-23 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 6:32 AM, Lennart Poettering wrote: > On Thu, 19.03.15 14:39, David Herrmann (dh.herrm...@gmail.com) wrote: > >> Hmm, so this is a convenience call. You could just set tm.tm_zone >> locally and use mktime() with the value retrieved by "Timezone&

Re: [systemd-devel] machinectl login : 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 wrote: > > Quoting David Herrmann : >> >> >> 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

Re: [systemd-devel] machinectl login : 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 wrote: > Hi > > On Fri, Mar 20, 2015 at 7:16 AM, Peter Pause wrote: >> Excerpts from David Herrmann's message of 2015-03-19 14:44:54 +0100: >>> >>> The file container-getty@.service is available in you

Re: [systemd-devel] machinectl login : 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 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 container-getty@.servic

Re: [systemd-devel] [PATCH] resolved: Do not add .busname dependencies, when compiling without kdbus.

2015-03-19 Thread David Herrmann
Hi On Thu, Mar 19, 2015 at 4:59 PM, Michael Biebl wrote: > 2015-03-19 15:02 GMT+01:00 Dimitri John Ledkov : >> On 19 March 2015 at 13:31, David Herrmann wrote: >>> Hi >>> >>> On Tue, Mar 17, 2015 at 4:37 PM, Dimitri John Ledkov &g

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-19 Thread David Herrmann
Hi On Thu, Mar 19, 2015 at 2:58 PM, Stef Walter wrote: > On 19.03.2015 14:39, David Herrmann wrote: >> Hmm, so this is a convenience call. You could just set tm.tm_zone >> locally and use mktime() with the value retrieved by "Timezone"? Yeah, >> the time-api is a

Re: [systemd-devel] Needs help for on charging activation

2015-03-19 Thread David Herrmann
Hi On Mon, Mar 9, 2015 at 3:21 PM, WaLyong Cho wrote: > Hi, > > I want to find best solution on our case. Our product is mobile device. > But I don't think that is only problem of mobile device. That also can > be problem of laptop. So, please comment to me. > > We have some of services are alway

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

2015-03-19 Thread David Herrmann
Hi On Tue, Mar 17, 2015 at 4:54 PM, Peter Paule wrote: > Hi, > > starting a container works fine. I'm running now systemd from git. Last > commit is 1b41981d9a62443d566df6bcabc1b5024e9f5e4a which changes things with > "container-getty". > > $ sudo machinectl start test-server > > $ sudo machi

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-19 Thread David Herrmann
Hi On Thu, Mar 19, 2015 at 11:24 AM, Stef Walter wrote: > This property is in usec (like the TimeUSec property) and allows > retrieving the timezone offset for the machine. This is particularly > usable for remote callers. > --- > src/timedate/timedated.c | 20 +++- > 1 file chan

Re: [systemd-devel] [PATCH] resolved: Do not add .busname dependencies, when compiling without kdbus.

2015-03-19 Thread David Herrmann
Hi On Tue, Mar 17, 2015 at 4:37 PM, Dimitri John Ledkov wrote: > --- > Makefile.am | 2 +- > units/systemd-resolved.service.in| 29 - > units/systemd-resolved.service.m4.in | 31 +++ > 3 files changed, 32 inser

Re: [systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-19 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 1:49 PM, Chris Morgan wrote: > --- > man/journal-remote.conf.xml| 111 > + > man/systemd-journal-remote.xml | 1 + > 2 files changed, 112 insertions(+) > create mode 100644 man/journal-remote.conf.xml > > diff --git a/man

Re: [systemd-devel] [PATCH] missing.h: add more btrfs types and defines

2015-03-19 Thread David Herrmann
Hi On Wed, Mar 18, 2015 at 2:04 PM, Michael Olbrich wrote: > --- > > Hi, > > it seems we're getting a lot of btrfs stuff here. Maybe we should ship a > copy of btrfs.h instead? All these definitions where introduced with linux-3.8 (well, the header was moved to linux/btrfs.h at that time). Our c

Re: [systemd-devel] [RFC PATCH] udev: add an "abs-override" builtin to override EV_ABS data

2015-03-19 Thread David Herrmann
Hi On Thu, Mar 19, 2015 at 10:52 AM, Peter Hutterer wrote: > This builtin parses properties in the form > EV_ABS_OVERRIDE_00="" The concept sounds good. hwdb is definitely the place to put this, rather than static kernel fixups. > and applies them to the kernel device. Future processes that

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

2015-03-17 Thread David Herrmann
Hi On Tue, Mar 17, 2015 at 12:27 PM, Dimitri John Ledkov wrote: > On 16 March 2015 at 23:15, Marcel Holtmann wrote: >> Hi Dimitri, >> >>> This makes it easier to apply stable branch patches on top of the >>> release tarball. >>> --- >>> Makefile.am | 4 +++- >>> 1 file changed, 3 insertions(+), 1

Re: [systemd-devel] [systemd-commits] 3 commits - src/fsckd src/shared

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 6:58 PM, Didier Roche wrote: > Le 16/03/2015 18:41, Zbigniew Jędrzejewski-Szmek a écrit : >> >> On Mon, Mar 16, 2015 at 10:33:54AM -0700, Tom Gundersen wrote: >>> >>> src/fsckd/fsckd.c | 13 ++--- >>> src/shared/util.c |4 >>> src/shared/util.h |

Re: [systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 7:32 PM, Hans de Goede wrote: > Hi, > > On 16-03-15 18:12, David Herrmann wrote: >> >> Hi Hans >> >> On Mon, Mar 16, 2015 at 5:15 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On some of the

Re: [systemd-devel] parsing audit messages

2015-03-16 Thread David Herrmann
Hi On Sun, Mar 15, 2015 at 3:49 AM, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > I was looking at some debug logs, and the audit messages are > semi-useless in their current undecoded form: > > mar 14 22:24:02 fedora22 audit[1]: pid=1 uid=0 auid=4294967295 > ses=4294967295 subj=system_u:system_

Re: [systemd-devel] [PATCH] path-lookup: use secure_getenv()

2015-03-16 Thread David Herrmann
Hi On Sun, Mar 15, 2015 at 12:36 PM, Ronny Chevalier wrote: > 2015-03-15 3:27 GMT+01:00 Shawn Landden : >> All these except user_data_home_dir() are certainly vectors for >> arbitrary code execution. These should use secure_getenv() >> --- > > Hi, > > I don't see why secure_getenv() is appropriat

Re: [systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread David Herrmann
Hi Hans On Mon, Mar 16, 2015 at 5:15 PM, Hans de Goede wrote: > Hi, > > On some of the ARM boards I work on in my spare time I've > done "systemctl enable getty@ttyGS0.service" to get a getty > on the usb gadget serial port which I've configured on the > devices otg controller. > > This serial po

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 5:35 PM, Michael Biebl wrote: > 2015-03-16 17:25 GMT+01:00 David Herrmann : >> Hi >> >> On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter >> wrote: >>> If udev comes into play, it renames wlan0 to wlan1, because wlan0 was >>&

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter wrote: > If udev comes into play, it renames wlan0 to wlan1, because wlan0 was > already taken from a previously installed ipw2200 card that is no longer > in the system. Hence, I have now the network interfaces wifi0 and wlan1, > and that confus

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 1:04 PM, Thomas Richter wrote: > Am 16.03.2015 um 12:53 schrieb David Herrmann: > >> I don't see how we can fix that via name_assign_type. Sure, we could >> set this to NET_NAME_PREDICTABLE and udev would no longer rename it. >> But the nam

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 9, 2015 at 8:58 PM, Ray Strode wrote: >> No, applications should not watch the queue. And the file is internal >> to udev anyway. If you watch it, you get to keep the pieces. > udev recently gained public api for monitoring the queue. > Regardless, I think using a timeout is a bett

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 11:09 AM, Tom Gundersen wrote: > On Mon, Mar 16, 2015 at 11:01 AM, Thomas Richter > wrote: >> Am 16.03.2015 um 10:53 schrieb Tom Gundersen: >>> On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter >>> wrote: The laptop in question had a ipw2200 card installed, whic

[systemd-devel] [HEADS-UP] hwdb: change 60-keyboard.hwdb matches

2015-03-16 Thread David Herrmann
Hi Hans & Martin I've pushed some patches that change the hwdb 60-keyboard matching logic. This was needed to support bluetooth devices, and then I just went ahead and cleaned up the other rules. This email is meant as a heads-up to you guys, as you are the most frequent contributors to that file.

Re: [systemd-devel] [systemd-commits] 7 commits - man/systemd.network.xml po/es.po po/LINGUAS src/journal-remote src/libsystemd src/libsystemd-network

2015-03-13 Thread David Herrmann
Hi On Fri, Mar 13, 2015 at 1:45 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Mar 13, 2015 at 01:38:23PM +0100, David Herrmann wrote: >> Hi >> >> On Fri, Mar 13, 2015 at 5:27 AM, Zbigniew Jędrzejewski-Szmek >> wrote: >> > commit f53f7c8fc43df4e38655f2a1f5

Re: [systemd-devel] [systemd-commits] 7 commits - man/systemd.network.xml po/es.po po/LINGUAS src/journal-remote src/libsystemd src/libsystemd-network

2015-03-13 Thread David Herrmann
Hi On Fri, Mar 13, 2015 at 5:27 AM, Zbigniew Jędrzejewski-Szmek wrote: > commit f53f7c8fc43df4e38655f2a1f5c5934fee06 > Author: Zbigniew Jędrzejewski-Szmek > Date: Thu Mar 12 21:54:14 2015 -0400 > > journal-remote: check also for EWOULDBLOCK > > This matches similar code elsewhere.

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 2:41 PM, Andrei Borzenkov wrote: > initrd and cmdline are volatile and generated on end-user system. So > your container must be signed on end user system. End user obviously > does not have Microsoft or vendor private keys to sign your container, > so end user must man

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov wrote: > On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann wrote: >>>> With systemd-boot, there will be no config to sign: >>>> >>>> https://harald.hoyer.xyz/2015/02/25/single-uefi-executable-for-kernel

Re: [systemd-devel] overrride env variable

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 12:33 PM, Reindl Harald wrote: > > > Am 12.03.2015 um 12:24 schrieb Vasiliy Tolstov: >> >> 2015-03-12 14:10 GMT+03:00 Simon McVittie >> : >>> >>> SYSTEMD.EXEC(5) systemd.exec >>> >>> NAME >>> systemd.exec - Execution environment configuration >>

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov wrote: > В Wed, 11 Mar 2015 18:50:23 +0100 > Kay Sievers пишет: > >> On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy >> wrote: >> > On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger >> > wrote: >> >>> If you're concerned about bootloader config

Re: [systemd-devel] [PATCH] vconsole-setup: check error of child process

2015-03-12 Thread David Herrmann
Hi On Wed, Mar 11, 2015 at 5:12 PM, Lucas De Marchi wrote: > On Wed, Mar 11, 2015 at 12:55 PM, David Herrmann > wrote: >> Hi >> >> On Tue, Mar 10, 2015 at 8:56 PM, wrote: >>> From: Lucas De Marchi >>> >>> If we don't check the erro

Re: [systemd-devel] [PATCH] boot: efi - move background pixel variable into different scope

2015-03-12 Thread David Herrmann
Hi On Fri, Feb 27, 2015 at 8:11 PM, Kay Sievers wrote: > On Fri, Feb 27, 2015 at 6:12 PM, Marcel Holtmann wrote: CC src/boot/efi/splash.o src/boot/efi/splash.c: In function ‘graphics_splash’: src/boot/efi/splash.c:256:9: warning: missing initializer for field ‘Blue’ o

Re: [systemd-devel] [PATCH] cgtop: fix assert when not on tty

2015-03-12 Thread David Herrmann
Hi On Wed, Mar 11, 2015 at 11:24 AM, Umut Tezduyar Lindskog wrote: > systemd-cgtop --dept=1 -b -n 10 -d 0.1 | cat > > Assertion 'new_length >= 3' failed at src/shared/util.c:3 \ > 595, function ellipsize_mem(). Aborting. > Aborted (core dumped) > --- > src/cgtop/cgtop.c | 2 +- > 1 file changed,

Re: [systemd-devel] udisks in systemd user-sessions (or kdbus in future)

2015-03-11 Thread David Herrmann
Hi On Mon, Mar 9, 2015 at 1:32 PM, Simon McVittie wrote: > (udisks developers, please see > > if you need more background on login sessions vs. user-sessions.) > > I'm developing a patch for udisks to fix its interacti

Re: [systemd-devel] [PATCH] vconsole-setup: check error of child process

2015-03-11 Thread David Herrmann
Hi On Tue, Mar 10, 2015 at 8:56 PM, wrote: > From: Lucas De Marchi > > If we don't check the error of the child process, systemd-vconsole-setup > would exit with 0 even if it could not really setup the console. > > For a simple test, move loadkeys elsewhere and execute > systemd-vconsole-setup:

Re: [systemd-devel] [PATCH 1/2] vconsole: match on vtcon events, not fbcon ones

2015-03-06 Thread David Herrmann
Hi On Tue, Feb 24, 2015 at 5:49 PM, Jan Engelhardt wrote: > I observe that upon loading of framebuffer drivers, I do not get the > desired system font, but the kernel-level defaults (usually > lib/fonts/font_8x16.c, but your mileage may vary depending on kernel > config and boot options). > > The

Re: [systemd-devel] [PATCH] doc: replace 'reply_cookie' with 'cookie_reply'

2015-03-06 Thread David Herrmann
Hi On Fri, Mar 6, 2015 at 2:48 PM, Lukasz Skalski wrote: > Signed-off-by: Lukasz Skalski Applied! Thanks David > diff --git a/doc/kdbus.message.xml b/doc/kdbus.message.xml > index c25000d..5e7c7a3 100644 > --- a/doc/kdbus.message.xml > +++ b/doc/kdbus.message.xml > @@ -393,7 +393,7 @@ struct

Re: [systemd-devel] logind: lid switch action not executed on small open/close delays

2015-03-06 Thread David Herrmann
Hi On Wed, Jan 28, 2015 at 8:31 PM, Lennart Poettering wrote: > On Sat, 17.01.15 18:36, David Herrmann (dh.herrm...@gmail.com) wrote: > >> I think it's reasonable to allow setting the base-timeout in >> /etc/systemd/logind.conf, but I want to know Lennart's opinio

Re: [systemd-devel] [PATCH] doc: replace 'reply_cookie' with 'cookie_reply'

2015-03-06 Thread David Herrmann
Hi On Fri, Mar 6, 2015 at 2:28 PM, Lukasz Skalski wrote: > diff --git a/doc/kdbus.message.xml b/doc/kdbus.message.xml > index c25000d..5e7c7a3 100644 > --- a/doc/kdbus.message.xml > +++ b/doc/kdbus.message.xml > @@ -393,7 +393,7 @@ struct kdbus_msg { >For a message to be accep

Re: [systemd-devel] [PATCH 2/2] vconsole: set font on tty16..tty63 as well

2015-02-27 Thread David Herrmann
Hi On Fri, Feb 27, 2015 at 4:09 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Feb 26, 2015 at 01:37:25PM +0100, Jan Engelhardt wrote: >> >> On Wednesday 2015-02-25 21:10, Lennart Poettering wrote: >> >> >> The setup program would not set the font on tty16 upwards. >> >> >> There is a maximum o

Re: [systemd-devel] [PATCH] timedated: when performing "SetTime" compensate for program lag

2015-02-26 Thread David Herrmann
Hi On Mon, Feb 16, 2015 at 8:47 PM, Shawn Landden wrote: > I can't test this as kdbus doesn't build against Linux 3.19 > --- > TODO | 2 -- > src/timedate/timedated.c | 14 ++ > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/TODO b/TODO > inde

Re: [systemd-devel] [PATCH] configure: turn off -Wlogical-not-parentheses

2015-02-24 Thread David Herrmann
Hi On Mon, Feb 16, 2015 at 11:02 PM, Shawn Landden wrote: > Introduced in gcc-5 > > These errors are really annoying. I can get behind clarification of nested > ifs, > but this is overkill. > --- > configure.ac | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure.ac b/configure.ac

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hey On Tue, Feb 24, 2015 at 4:20 PM, David Herrmann wrote: > Hi > > On Tue, Feb 24, 2015 at 4:15 PM, Zbigniew Jędrzejewski-Szmek > wrote: >> On Tue, Feb 24, 2015 at 04:08:17PM +0100, David Herrmann wrote: >>> Hi >>> >>> On Tue, Feb 24, 2015 at 4:

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hi On Tue, Feb 24, 2015 at 4:15 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Feb 24, 2015 at 04:08:17PM +0100, David Herrmann wrote: >> Hi >> >> On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >> > On Tue, Feb 24, 2015 at 07

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hi On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Feb 24, 2015 at 07:02:49AM -0800, David Herrmann wrote: >> configure.ac |1 + >> 1 file changed, 1 insertion(+) >> >> New commits: >> commit 0a98d66159e474915afd6597d3aa444a6

Re: [systemd-devel] [PATCH][RFC] bus-proxy: add support for "GetConnectionCredentials" method

2015-02-20 Thread David Herrmann
Hi On Fri, Feb 20, 2015 at 1:54 PM, Simon McVittie wrote: > On 20/02/15 12:43, David Herrmann wrote: >> >> -1 is not a valid value. It should be silently dropped, so we're fine >> here. > > > Perhaps I'm misunderstanding what you're saying here a

Re: [systemd-devel] [PATCH][RFC] bus-proxy: add support for "GetConnectionCredentials" method

2015-02-20 Thread David Herrmann
Hi On Fri, Feb 20, 2015 at 1:20 PM, Simon McVittie wrote: > On 19/02/15 21:26, Djalal Harouni wrote: >> >> On Thu, Feb 19, 2015 at 05:44:34PM +0100, Djalal Harouni wrote: >>> >>> On Thu, Feb 19, 2015 at 01:05:22PM +, Simon McVittie wrote: On 19/02/15 12:43, Lukasz Skalski wrote: >>>

Re: [systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

2015-02-17 Thread David Herrmann
Hi On Tue, Feb 17, 2015 at 12:35 PM, Lukasz Skalski wrote: > On 02/17/2015 12:20 PM, Djalal Harouni wrote: >> Hi Lukasz, >> > > Hi Djalal, > >> On Tue, Feb 17, 2015 at 11:37:53AM +0100, Lukasz Skalski wrote: >>> diff --git a/test/test-message.c b/test/test-message.c >>> index 03ac71e..0cae942 100

Re: [systemd-devel] [PATCH] timedated: when performing "SetTime" compensate for program lag

2015-02-16 Thread David Herrmann
Hi On Mon, Feb 16, 2015 at 8:47 PM, Shawn Landden wrote: > I can't test this as kdbus doesn't build against Linux 3.19 Ugh? kdbus should build fine against 3.19. We pushed the required fixes last week as 3.19 was released. Btw., I now got this patch twice with different content, but same subjec

Re: [systemd-devel] [PATCH] timesync: Use UINT64_C for OFFSET_1900_1970

2015-02-16 Thread David Herrmann
Hi On Mon, Feb 16, 2015 at 5:24 PM, Cristian Rodríguez wrote: > So it matches what the comment says in both 32 and 64 bit systems. > --- > src/timesync/timesyncd-manager.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/timesync/timesyncd-manager.c > b/src/timesync/

Re: [systemd-devel] avahi disconnects from bus with kdbus

2015-02-14 Thread David Herrmann
Hi Daniel! On Fri, Feb 13, 2015 at 1:16 PM, David Herrmann wrote: > Hi > > On Thu, Feb 12, 2015 at 11:32 PM, Daniel Buch > wrote: >> Hi again, >> >> I found another problem, again with avahi-daemon but in combination with >> Telepathy haze. >> feb 13 0

Re: [systemd-devel] [PATCH] util: Use a shared lookup function for string tables

2015-02-14 Thread David Herrmann
Hi On Fri, Feb 13, 2015 at 9:40 PM, Bruno Bottazzini wrote: > Macro DEFINE_STRING_TABLE_LOOKUP expands to a new function for each > of the almost 120 tables throghout the code. > Move the its implementation to a function (guaranteed to never be inlined), > and make the macro expand to an inlined

<    1   2   3   4   5   6   >