Re: [systemd-devel] [PATCH] Add -lresolv to libudev LIBADD

2014-02-21 Thread Kay Sievers
On Fri, Feb 21, 2014 at 4:58 PM, Łukasz Stelmach l.stelm...@samsung.com wrote: It was 2014-02-21 pią 16:22, when Lennart Poettering wrote: On Fri, 21.02.14 15:54, Łukasz Stelmach (l.stelm...@samsung.com) wrote: Fix problems with unresolved symbols when building on Ubuntu 12.04 x86_64.

Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532..b1f0670 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \ # move lib from

Re: [systemd-devel] [PATCH 1/2] build-sys: Always install compat pkg-config files

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 3:21 PM, Armin K kre...@email.com wrote: Packages are still looking for the old pkg-config files, so until everything has been ported over, install them always, no matter if compat-libs are built or not. So far, we think that compat should stay compat, and not mix with

Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 5:48 PM, Armin K. kre...@email.com wrote: On 02/22/2014 05:44 PM, Kay Sievers wrote: On Sat, Feb 22, 2014 at 3:22 PM, Armin K kre...@email.com wrote: --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index e25d532

Re: [systemd-devel] [PATCH/RFC] gudev: add device::get_sysfs_attr_keys() and device::has_sysfs_attr()

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 11:55 AM, Andreas Fuchs andu...@gmail.com wrote: Ok, I'll try my luck with git send-email then. I was unaware of this gmail-oddity. Sorry about that. Any ideas, why lubudev consideres so many things as attributes ? What do you mean with attributes? Attributes are just

Re: [systemd-devel] [PATCH] gudev: add device::get_sysfs_attr_keys and device::has_sysfs_attr

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 12:02 PM, Andreas Fuchs andu...@gmail.com wrote: For gudev - gudevdevice: - Add support for get_sysfs_attr_keys() - Add support for has_sysfs_attr() Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] fix SECCOMP_CFLAGS usage

2014-02-22 Thread Kay Sievers
On Sat, Feb 22, 2014 at 2:54 AM, Cristian Rodríguez crrodrig...@opensuse.org wrote: This is broken again... In file included from ./src/core/unit.h:40:0, from src/shared/condition-util.c:35: ./src/core/execute.h:37:21: fatal error: seccomp.h: No such file or directory

Re: [systemd-devel] discussions of pkg-config black magic over at gentoo

2014-02-22 Thread Kay Sievers
On Thu, Feb 20, 2014 at 7:34 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 20.02.14 19:31, Jason A. Donenfeld (ja...@zx2c4.com) wrote: So right now we're considering something like this [2] or [3]. A bit of a bummer to patch the build system like this, but we don't want to rely

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 5:41 PM, Justin Brown justin.br...@fandingo.org wrote: On Mon, Feb 24, 2014 at 11:59 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Feb 25, 2014 at 4:26 AM, Justin Brown justin.br...@fandingo.org wrote: I've been reading over some of the articles about KDBus and have

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 7:25 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 25/02/14 17:30, Kay Sievers wrote: There is not real difference, everything is just a message, being a signal or a method. Only signals are limited to pure copied data, disallowing fds; therefore signals

Re: [systemd-devel] KDBus Signals and Timeouts

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 9:18 PM, Justin Brown justin.br...@fandingo.org wrote: On Tue, Feb 25, 2014 at 12:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 25.02.14 10:41, Justin Brown (justin.br...@fandingo.org) wrote: And broadcast signals should never be large datagrams, but

Re: [systemd-devel] pcre in daemons

2014-02-26 Thread Kay Sievers
On Wed, Feb 26, 2014 at 10:22 PM, Daniel J Walsh dwa...@redhat.com wrote: On 02/26/2014 03:05 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Feb 26, 2014 at 08:54:34PM +0100, Thomas H.P. Andersen wrote: The todo says: something pulls in pcre as shared object dependency into our daemons such as

Re: [systemd-devel] RTC on BeagleBone Black or embedded platforms

2014-02-27 Thread Kay Sievers
On Thu, Feb 27, 2014 at 4:46 PM, Mike bellyac...@gmail.com wrote: My biggest dilemma at this time right now is with the RTC. The BeagleBone Black does have a RTC and it gets assigned to /dev/rtc0. There is however now battery backup for this device. Assuming you meant no? I've added a

Re: [systemd-devel] [RFC/PATCH] tmpfiles: implement --transform=rpm

2014-03-01 Thread Kay Sievers
On Sun, Mar 2, 2014 at 3:06 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: +--transform=rpm Create files list suitable for RPM %%files section\n Hmm, can't we maybe come up with something that isn't specific to rpm or dpkg, something that is easily parsed

Re: [systemd-devel] kdbus vs. pipe based ipc performance

2014-03-03 Thread Kay Sievers
On Mon, Mar 3, 2014 at 10:35 PM, Stefan Westerfeld ste...@space.twc.de wrote: First of all: I'd really like to see kdbus being used as a general purpose IPC layer; so that developers working on client-/server software will no longer need to create their own homemade IPC by using primitives like

Re: [systemd-devel] kdbus vs. pipe based ipc performance

2014-03-03 Thread Kay Sievers
On Mon, Mar 3, 2014 at 11:06 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Mar 3, 2014 at 10:35 PM, Stefan Westerfeld ste...@space.twc.de wrote: First of all: I'd really like to see kdbus being used as a general purpose IPC layer; so that developers working on client-/server software

Re: [systemd-devel] kdbus vs. pipe based ipc performance

2014-03-03 Thread Kay Sievers
On Tue, Mar 4, 2014 at 5:00 AM, Kay Sievers k...@vrfy.org wrote: On Mon, Mar 3, 2014 at 11:06 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Mar 3, 2014 at 10:35 PM, Stefan Westerfeld ste...@space.twc.de wrote: First of all: I'd really like to see kdbus being used as a general purpose IPC

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-10 Thread Kay Sievers
On Mon, Mar 10, 2014 at 7:34 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 03/07/2014 07:26 PM, Lennart Poettering wrote: Since yesterday systemd in git can now discover root, /home, /srv and swap partitions automatically based on GPT type GUIDs, thus making /etc/fstab unnecessary for

Re: [systemd-devel] [PATCH] udev: properly detect reference to unexisting part of PROGRAM's result

2014-03-11 Thread Kay Sievers
On Mon, Feb 24, 2014 at 5:06 PM, Lukas Nykryn lnyk...@redhat.com wrote: --- src/udev/udev-event.c | 2 ++ 1 file changed, 2 insertions(+) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] build-sys: Fix move-to-rootlibdir

2014-03-11 Thread Kay Sievers
On Tue, Mar 11, 2014 at 11:42 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 11.03.14 18:14, Mike Gilbert (flop...@gentoo.org) wrote: Since we now use ln -s --relative, using this sed statement is redundant and causes broken symlinks to be installed. Hmm, wouldn't it be nicer

Re: [systemd-devel] [RFC][v3.13][v3.14][Regression] kthread:makekthread_create()killable

2014-03-19 Thread Kay Sievers
On Wed, Mar 19, 2014 at 4:54 PM, Joseph Salisbury joseph.salisb...@canonical.com wrote: A kernel bug report was opened against Ubuntu[0]. We performed a kernel bisect, and found that a change introduced by upstream linux kernel commit 786235eeb introduced the bug as of v3.13-rc1. The bug

Re: [systemd-devel] Building systemd from git

2014-03-20 Thread Kay Sievers
On Thu, Mar 20, 2014 at 3:02 PM, Kevin Wilson wkev...@gmail.com wrote: Thanks, Zbyszek. --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? No. Just check out git and run ./autogen.sh, it will tell you what to do. Kay

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh tho...@t-8ch.de wrote: While trying to use the discovereable partitions stuff I ran into the following: Running systemd-efi-boot-generator on my machine results in: Failed to read ESP partition UUID: Input/output error The cause for this is

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh tho...@t-8ch.de wrote: On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh tho...@t-8ch.de wrote: While trying to use the discovereable partitions stuff I ran into the following

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 6:24 PM, Thomas Weißschuh tho...@t-8ch.de wrote: On Fri, Mar 21, 2014 at 06:04:24PM +0100, Kay Sievers wrote: On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh tho...@t-8ch.de wrote: On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: On Fri, Mar 21, 2014 at 8

Re: [systemd-devel] [PATCH] README: Correct EFI requirements

2014-03-22 Thread Kay Sievers
On Sat, Mar 22, 2014 at 1:41 AM, Thomas Bächler tho...@archlinux.org wrote: systemd does not need or use CONFIG_EFI_VARS anywhere, this should be CONFIG_EFIVAR_FS instead. --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks, Kay

Re: [systemd-devel] [PATCH 2/2] domain: grab the domain's parent lock only when needed

2014-03-22 Thread Kay Sievers
On Fri, Mar 21, 2014 at 12:35 PM, Djalal Harouni tix...@opendz.org wrote: On Thu, Mar 20, 2014 at 10:58:21AM +0100, Daniel Mack wrote: /* link into parent domain */ if (parent) { What if 'parent' was already unrefed at this point? That can happen any time as soon we give up the

Re: [systemd-devel] [PATCH 2/2] domain: grab the domain's parent lock only when needed

2014-03-22 Thread Kay Sievers
On Sat, Mar 22, 2014 at 3:43 PM, Daniel Mack dan...@zonque.org wrote: On 03/21/2014 12:35 PM, Djalal Harouni wrote: I've two questions: 1) Can we improve it in ordre to reduce the lock hold time ? We don't consider that a very frequent operation, so we never thought about optimizing this

Re: [systemd-devel] [PATCH 2/2] domain: grab the domain's parent lock only when needed

2014-03-22 Thread Kay Sievers
On Sat, Mar 22, 2014 at 7:56 PM, Djalal Harouni tix...@opendz.org wrote: On Sat, Mar 22, 2014 at 07:37:38PM +0100, Kay Sievers wrote: On Sat, Mar 22, 2014 at 3:43 PM, Daniel Mack dan...@zonque.org wrote: Also it seems that now there is only support for one level of nested domains

Re: [systemd-devel] [PATCH 1/2] endpoint: free the policy_db on error path

2014-03-23 Thread Kay Sievers
On Sun, Mar 23, 2014 at 11:06 PM, Djalal Harouni tix...@opendz.org wrote: Signed-off-by: Djalal Harouni tix...@opendz.org --- endpoint.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 2/2] test-kdbus: rename check bus and domain functions

2014-03-23 Thread Kay Sievers
On Sun, Mar 23, 2014 at 11:06 PM, Djalal Harouni tix...@opendz.org wrote: Signed-off-by: Djalal Harouni tix...@opendz.org --- test/test-kdbus.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) Applied. Thanks, Kay ___ systemd-devel

[systemd-devel] [ANNOUNCE] systemd 212

2014-03-25 Thread Kay Sievers
, Gerd Hoffmann, Greg Kroah-Hartman, Hendrik Brueckner, Jason St. John, Josh Triplett, Kay Sievers, Lennart Poettering, Marc-Antoine Perennou, Michael Marineau, Michael Olbrich, Miklos Vajna, Patrik Flykt, poma, Sebastian Thorarensen, Thomas Bächler, Thomas

Re: [systemd-devel] [ANNOUNCE] systemd 212

2014-03-25 Thread Kay Sievers
On Wed, Mar 26, 2014 at 1:45 AM, Stephan Raue mailingli...@openelec.tv wrote: systemd-212 breaks if we run autoreconf before configuring and building with: autoreconf: running: /home/stephan/projects/openelec-master/build.OpenELEC-Generic.x86_64-devel/toolchain/bin/automake --add-missing

Re: [systemd-devel] [ANNOUNCE] systemd 212

2014-03-25 Thread Kay Sievers
On Wed, Mar 26, 2014 at 2:37 AM, Stephan Raue mailingli...@openelec.tv wrote: Am 26.03.2014 02:16, schrieb Kay Sievers: On Wed, Mar 26, 2014 at 1:45 AM, Stephan Raue mailingli...@openelec.tv wrote: systemd-212 breaks if we run autoreconf before configuring and building with: autoreconf

Re: [systemd-devel] [PATCH 1/3] core: Move user generator directories to XDG_RUNTIME_DIR

2014-03-28 Thread Kay Sievers
On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev hri...@venev.name wrote: Predictable names and more consistent. --- src/core/manager.c | 48 +++- 1 file changed, 11 insertions(+), 37 deletions(-) diff --git a/src/core/manager.c b/src/core/manager.c

Re: [systemd-devel] [PATCH 2/3] core: Put transient user units in XDG_RUNTIME_DIR instead of XDG_CONFIG_HOME.

2014-03-28 Thread Kay Sievers
On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev hri...@venev.name wrote: They are temporary and should not clutter the configuration directory. --- src/core/unit.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/src/core/unit.c

Re: [systemd-devel] [PATCH 1/3] core: Move user generator directories to XDG_RUNTIME_DIR

2014-03-28 Thread Kay Sievers
On Fri, Mar 28, 2014 at 7:41 PM, Hristo Venev hri...@venev.name wrote: On Fri, 2014-03-28 at 19:00 +0100, Kay Sievers wrote: On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev hri...@venev.name wrote: Predictable names and more consistent. --- src/core/manager.c | 48

Re: [systemd-devel] Some useful patches

2014-03-28 Thread Kay Sievers
On Fri, Mar 28, 2014 at 7:38 PM, Hristo Venev hri...@venev.name wrote: On Fri, 2014-03-28 at 19:06 +0100, Kay Sievers wrote: On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev hri...@venev.name wrote: The first patch moves the user generator directories to XDG_RUNTIME_DIR. This way the path

Re: [systemd-devel] [PATCH 2/3] core: Put transient user units in XDG_RUNTIME_DIR instead of XDG_CONFIG_HOME.

2014-03-28 Thread Kay Sievers
On Fri, Mar 28, 2014 at 7:43 PM, Hristo Venev hri...@venev.name wrote: On Fri, 2014-03-28 at 19:02 +0100, Kay Sievers wrote: On Fri, Mar 28, 2014 at 6:38 PM, Hristo Venev hri...@venev.name wrote: They are temporary and should not clutter the configuration directory. --- src/core/unit.c

Re: [systemd-devel] [PATCH] kdbus: Check for bloom parameter in make bus command

2014-03-29 Thread Kay Sievers
On Sat, Mar 29, 2014 at 5:54 PM, Ingo van Lil ing...@gmx.de wrote: When handling a KDBUS_CMD_BUS_MAKE command the kernel must make sure that the message contains a bloom parameter item to avoid a null- pointer dereference. Signed-off-by: Ingo van Lil ing...@gmx.de --- bus.c | 2 +-

Re: [systemd-devel] [PATCH 2/4] endpoint: protect the idr tree on release

2014-03-31 Thread Kay Sievers
On Mon, Mar 31, 2014 at 2:41 AM, Djalal Harouni tix...@opendz.org wrote: endpoint.c | 2 ++ Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 4/4] connection: unref ep and bus and free match_db on error path

2014-03-31 Thread Kay Sievers
On Mon, Mar 31, 2014 at 2:41 AM, Djalal Harouni tix...@opendz.org wrote: connection.c | 2 +- Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 3/4] handle: change return value from -EFAULT to -EPERM

2014-03-31 Thread Kay Sievers
On Mon, Mar 31, 2014 at 2:41 AM, Djalal Harouni tix...@opendz.org wrote: Return -EPERM if current does not have the appropriate privileges to create custom endpoints. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 2/2] kdbus: use kdbus_conn_find_peer() where appropriate

2014-03-31 Thread Kay Sievers
On Mon, Mar 31, 2014 at 2:43 AM, Djalal Harouni tix...@opendz.org wrote: connection.c | 7 ++- match.c | 14 ++ names.c | 5 + Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] pci.ids confusion

2014-04-14 Thread Kay Sievers
On Sun, Apr 13, 2014 at 6:58 AM, Jerome Leclanche adys...@gmail.com wrote: This is a followup of a chat on #systemd. The pciids-devel list is dead and someone recommended I post here instead. While browsing some debug logs, I came accross a confusing message: systemd[1]: Found device M4A785TD

Re: [systemd-devel] gummiboot can't be installed on ESP which is soft RAID1 metadata=0.9 partition

2014-04-14 Thread Kay Sievers
On Mon, Apr 14, 2014 at 9:22 AM, Francis Moreau francis.m...@gmail.com wrote: On 04/14/2014 06:16 PM, Lennart Poettering wrote: On Mon, 14.04.14 18:01, Francis Moreau (francis.m...@gmail.com) wrote: gummiboot install fails when ESP is MD RAID1 device using metadata 0.9 or 1.0. I don't think

Re: [systemd-devel] [systemd-commits] Makefile.am man/udevadm.xml src/libudev src/shared src/test src/udev

2014-04-14 Thread Kay Sievers
On Mon, Apr 14, 2014 at 9:39 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Apr 14, 2014 at 09:29:54AM -0700, Kay Sievers wrote: On Mon, Apr 14, 2014 at 8:52 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Apr 13, 2014 at 04:58:31PM -0700, Kay Sievers wrote

Re: [systemd-devel] [systemd-commits] Makefile.am man/udevadm.xml src/libudev src/shared src/test src/udev

2014-04-14 Thread Kay Sievers
On Mon, Apr 14, 2014 at 10:03 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Apr 14, 2014 at 09:51:08AM -0700, Kay Sievers wrote: On Mon, Apr 14, 2014 at 9:39 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Apr 14, 2014 at 09:29:54AM -0700, Kay Sievers wrote

Re: [systemd-devel] [PATCH] Handle Unix domain socket connections from outside our namespace

2014-04-19 Thread Kay Sievers
On Thu, Apr 17, 2014 at 4:24 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Apr 16, 2014 at 06:39:07PM +0200, Eelco Dolstra wrote: NixOS uses Unix domain sockets for certain host - container interaction; i.e. the host connects to a socket visible in the container's directory

Re: [systemd-devel] [PATCH] Handle Unix domain socket connections from outside our namespace

2014-04-19 Thread Kay Sievers
On Sun, Apr 20, 2014 at 5:30 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: PID1 crashes with this code, I have reverted the commit for now. Please have a look. systemd[1]: Code should not be reached 'Unhandled socket type.' at src/core/socket.c:684, function

Re: [systemd-devel] [PATCH] libudev: replace name_to_handle_at with normal sscanf

2014-04-20 Thread Kay Sievers
On Sun, Apr 20, 2014 at 5:36 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Hi Kay, it seems that handles are not crucial, and the simplified version below works too. Is there something I'm missing? The name_to_handle API works properly with bind mounts, it's the more reliable API.

Re: [systemd-devel] [systemd-commits] 3 commits - src/libsystemd src/network src/udev

2014-04-21 Thread Kay Sievers
On Sun, Apr 20, 2014 at 10:48 PM, Tom Gundersen t...@jklm.no wrote: On Sun, Apr 20, 2014 at 3:16 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Apr 20, 2014 at 05:45:18AM -0700, Tom Gundersen wrote: commit 6190b9f9d2574428d560458a99f2838041cfdaac Author: Tom Gundersen

Re: [systemd-devel] [PATCH] libudev: replace name_to_handle_at with normal sscanf

2014-04-21 Thread Kay Sievers
On Sun, Apr 20, 2014 at 8:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Apr 20, 2014 at 03:53:05PM +0200, Kay Sievers wrote: On Sun, Apr 20, 2014 at 5:36 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Hi Kay, it seems that handles are not crucial

Re: [systemd-devel] [PATCH] names: take the registry write lock in kdbus_name_release()

2014-04-22 Thread Kay Sievers
On Fri, Apr 18, 2014 at 9:55 PM, David Herrmann dh.herrm...@gmail.com wrote: On Fri, Apr 18, 2014 at 3:16 AM, Djalal Harouni tix...@opendz.org wrote: Take the write lock in kdbus_name_release() instead of kdbus_cmd_name_release() in order to reduce the lock hold time. This change permits to

Re: [systemd-devel] [PATCH] libudev: replace name_to_handle_at with normal sscanf

2014-04-24 Thread Kay Sievers
On Thu, Apr 24, 2014 at 7:35 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 24.04.14 07:28, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Have you checked that EOPNOTSUPP is really the error that is returned by name_to_handle_at() if the kernel has the entire syscall

Re: [systemd-devel] udevd-work: ressize 1024 too short

2014-04-24 Thread Kay Sievers
On Tue, Mar 25, 2014 at 1:36 PM, Robert Milasan rmila...@suse.com wrote: Hello, seems that under some conditions in udev_rules_apply_to_event (@TK_M_PROGRAM) the fact that result is 1024 bytes creates problems if the output of the running command/app is bigger then 1024 bytes. +++

Re: [systemd-devel] [PATCH] Set default polling interval on removable devices as well

2014-04-26 Thread Kay Sievers
On Sat, Apr 26, 2014 at 4:46 PM, Martin Pitt martin.p...@ubuntu.com wrote: udev's 60-persistent-storage.rules enables in-kernel polling if block is built as a module. But that doesn't work if it is built into the kernel, as done by Debian and Ubuntu (for efficiency, as pretty much everyone

Re: [systemd-devel] kvm modules don't load any more with kernel = 3.11

2014-04-28 Thread Kay Sievers
On Mon, Apr 28, 2014 at 12:09 PM, Martin Pitt martin.p...@ubuntu.com wrote: Hello all, a while ago we got a report (https://launchpad.net/bugs/1207705) that with kernel = 3.11 the kvm modules (in particular, kvm_intel) don't get autoloaded any more. Andy (CC'ed) fixed that back then with the

Re: [systemd-devel] [PATCH] Add support for TuxOnIce hibernation

2014-04-29 Thread Kay Sievers
On Tue, Apr 29, 2014 at 1:16 PM, Julien Muchembled j...@jmuchemb.eu wrote: Homepage: http://tuxonice.net/ --- src/shared/sleep-config.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c index cf1cd40..d1f7fb1 100644 ---

Re: [systemd-devel] [PATCH] Add support for TuxOnIce hibernation

2014-04-29 Thread Kay Sievers
On Tue, Apr 29, 2014 at 2:36 PM, Julien Muchembled j...@jmuchemb.eu wrote: Le 04/29/14 13:39, Kay Sievers a écrit : Is this available in the upstream kernel, or planned to to be merged? It's not available in vanilla. I don't know if it's planned to be merged. Systemd does not support any

Re: [systemd-devel] [PATCH] rules: add by-parttypeuuid rule for GPT labeled partitions

2014-05-09 Thread Kay Sievers
On Fri, May 9, 2014 at 11:31 PM, Sage Weil s...@inktank.com wrote: The Ceph OSD initialization relies on identifying GPT partitions by type in order to mount data volumes and start daemons. Currently we ship this rule separately, but it is awkward to duplicate the conditional logic that

Re: [systemd-devel] [PATCH] rules: add by-parttypeuuid rule for GPT labeled partitions

2014-05-09 Thread Kay Sievers
On Sat, May 10, 2014 at 12:00 AM, Sage Weil s...@inktank.com wrote: On Fri, 9 May 2014, Kay Sievers wrote: On Fri, May 9, 2014 at 11:31 PM, Sage Weil s...@inktank.com wrote: The Ceph OSD initialization relies on identifying GPT partitions by type in order to mount data volumes and start

Re: [systemd-devel] [PATCH] connection: fix kernel oop when conn_name not set

2014-05-12 Thread Kay Sievers
On Mon, May 12, 2014 at 3:24 PM, Jacek Janczyk j.janc...@samsung.com wrote: kernel oops when connection name (kdbus_conn.name) not set via HELLO message but requested with attach flags KDBUS_ATTACH_CONN_NAME. Hmm, here does it crash? Seems the code that attaches the string checks for the string

Re: [systemd-devel] [PATCH] rules: add by-parttypeuuid rule for GPT labeled partitions

2014-05-12 Thread Kay Sievers
On Sat, May 10, 2014 at 12:34 AM, Sage Weil s...@inktank.com wrote: On Sat, 10 May 2014, Kay Sievers wrote: On Sat, May 10, 2014 at 12:00 AM, Sage Weil s...@inktank.com wrote: On Fri, 9 May 2014, Kay Sievers wrote: On Fri, May 9, 2014 at 11:31 PM, Sage Weil s...@inktank.com wrote

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 2:30 AM, Andy Kittner andy.kitt...@gmail.com wrote: On 14/05/14 18:33, Lennart Poettering wrote: On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@gmail.com) wrote: | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node '/dev/mapper/swap' found, link to

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 10:57 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 05/15/2014 08:16 PM, Lennart Poettering wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: [...] So, as it

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 10:57 PM, Chris Murphy li...@colorremedies.com wrote: On May 15, 2014, at 12:16 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 11:15 PM, Andy Kittner andy.kitt...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 18:27, Lennart Poettering wrote: Well, something appears to create your device nodes, and it shouldn't do that... On a udev system userspace never

Re: [systemd-devel] [PATCH 1/1] build-sys: build gummiboot executable only if HAVE_BLKID

2014-05-15 Thread Kay Sievers
On Wed, May 14, 2014 at 11:10 AM, Kang Hu hukangu...@gmail.com wrote: src/setup/setup.c depends on blkid library. so build gummiboot binary only if blkid library is available. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] test-kdbus: fixed unterminated string

2014-05-15 Thread Kay Sievers
On Mon, May 12, 2014 at 3:35 PM, Jacek Janczyk j.janc...@samsung.com wrote: Unterminated string array is used to populate random bus name in check_prepare_env(). Added proper termination. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Kay Sievers
On Fri, May 16, 2014 at 1:20 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 19:02, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 15/05/14 18:34, Lennart Poettering escribió: On Thu, 15.05.14 18:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote:

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-16 Thread Kay Sievers
On Fri, May 16, 2014 at 12:30 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 07.05.14 08:54, Emil Sjölin (emil.sjo...@axis.com) wrote: This fix makes sure that the package installation will work on systems using versions of 'GNU coreutils' older than 8.16. Please see

Re: [systemd-devel] [PATCH] gudev: avoid using export-symbols-regex

2014-05-20 Thread Kay Sievers
On Wed, Apr 23, 2014 at 11:43 AM, Cristian Rodríguez crrodrig...@opensuse.org wrote: There is no need for this hackery, just hide the internal functions using glib 's G_GNUC_INTERNAL macro. Hmm, why is that a hack? Explicitly exporting functions with a well-defined prefix sounds more robust

Re: [systemd-devel] bulid: linking order is irrelevant

2014-05-21 Thread Kay Sievers
On Thu, May 22, 2014 at 9:53 AM, Jan Engelhardt jeng...@inai.de wrote: Linking order is not a problem with .la files, as .la files track their dependencies -- just like .so files. It is a generally a problem that the build system tools do not solve. We rely on gc-sections, platforms without

Re: [systemd-devel] [PATCH] sd-dhcp-client: Sets broadcast flag to 1

2014-05-29 Thread Kay Sievers
On Thu, May 29, 2014 at 4:42 PM, Camilo Aguilar camilo.agui...@gmail.com wrote: gah, the link for 2 is https://github.com/bldewolf/dhcpcd/commit/3bc21a1a09852407df89a363c67d7575efa081c8 instead 2. The network interface says that it needs broadcast Do you see that layer2 file in /sys on the

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-05-31 Thread Kay Sievers
On Sat, May 31, 2014 at 7:45 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: El 31/05/14 13:00, Samuli Suominen escribió: A proper git formatted patch for inclusion. IN my opinion, we should just make KMOD a mandatory dependency, drop all ifdefs, error out if not found. Sound fine to

Re: [systemd-devel] [PATCH] udevd: add --event-timeout commandline option

2014-06-02 Thread Kay Sievers
On Mon, Jun 2, 2014 at 4:47 PM, Hannes Reinecke h...@suse.de wrote: On large configurations some events take longer than the default 30 seconds. Killing those events will leave the machine halfway configured. So add a commandline option '--event-timeout' to handle these cases. Why are they

Re: [systemd-devel] [RFC] Split keymap conversion functions to separate library

2014-06-03 Thread Kay Sievers
On Tue, Jun 3, 2014 at 10:58 AM, Michal Sekletar msekl...@redhat.com wrote: Currently systemd-localed does conversions from X11 keymap to VConsole keymap and vice-versa. There was a request coming from Anaconda installer team at Red Hat which was about splitting this functionality to separate

Re: [systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-03 Thread Kay Sievers
On Mon, Jun 2, 2014 at 5:57 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new()

Re: [systemd-devel] [PATCH] connection: pin the subjective cred for KDBUS_POLICY_OWN

2014-06-03 Thread Kay Sievers
On Sat, May 31, 2014 at 10:23 PM, Djalal Harouni tix...@opendz.org wrote: Make sure that the credentials of the connection at creation time will last so the kdbus_policy_check_own_access() will work as expected. Applied. Thanks, Kay ___ systemd-devel

Re: [systemd-devel] [PATCH v2] domain: rework kdbus_domain_new() error path to fix a BUG_ON()

2014-06-03 Thread Kay Sievers
On Tue, Jun 3, 2014 at 5:31 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new()

Re: [systemd-devel] commit 235c6e628199221b7885f159367614b7105547cf is incorrect

2014-06-05 Thread Kay Sievers
On Thu, Jun 5, 2014 at 12:06 AM, Cristian Rodríguez crrodrig...@opensuse.org wrote: Commit 235c6e628199221b7885f159367614b7105547cf build-sys: accommodate gcc-4.9.0 link-time optimization (LTO) changes systemd fails to build (symbols not found/resolved during cgls link step) under

Re: [systemd-devel] systemd-213: regression with zram

2014-06-09 Thread Kay Sievers
On Mon, Jun 9, 2014 at 4:31 PM, Alexander E. Patrakov patra...@gmail.com wrote: 09.06.2014 20:11, Kay Sievers wrote: On Mon, Jun 9, 2014 at 4:02 PM, Alexander E. Patrakov patra...@gmail.com wrote: 09.06.2014 19:26, Kai Krakow wrote: Alexander E. Patrakov patra...@gmail.com schrieb: I

Re: [systemd-devel] [PATCH 1/1] udev: really exclude device-mapper from block device ownership event locking

2014-06-10 Thread Kay Sievers
On Tue, Jun 10, 2014 at 3:51 PM, Christian Hesse m...@eworm.de wrote: Arguments were wrong order, no? Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] udev: check the return value from udev_enumerate_scan_devices

2014-06-10 Thread Kay Sievers
On Wed, Jun 4, 2014 at 11:40 PM, Thomas H.P. Andersen pho...@gmail.com wrote: From: Thomas Hindoe Paaboel Andersen pho...@gmail.com The return value from udev_enumerate_scan_devices was stored but never used. I assume this was meant to be checked. Applied. Thanks, Kay

Re: [systemd-devel] [PATCH] log: honour the kernel's quiet cmdline argument

2014-06-10 Thread Kay Sievers
On Tue, Jun 3, 2014 at 7:44 PM, Ronny Chevalier chevalier.ro...@gmail.com wrote: It was forgotten in b1e90ec515408aec2702522f6f68c4920b56375b See https://bugs.freedesktop.org/show_bug.cgi?id=79582 Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [ANNOUNCE] systemd 214

2014-06-12 Thread Kay Sievers
On Wed, Jun 11, 2014 at 8:49 PM, Alexander E. Patrakov patra...@gmail.com wrote: 11.06.2014 23:00, Lennart Poettering wrote: CHANGES WITH 214: * As an experimental feature, udev now tries to lock the disk device node (flock(LOCK_SH|LOCK_NB)) while it executes

Re: [systemd-devel] [PATCH 1/2] connection: fix cpu stall by checking kdbus item alignment

2014-06-12 Thread Kay Sievers
On Wed, Jun 11, 2014 at 6:27 PM, Djalal Harouni tix...@opendz.org wrote: Fix the following stall triggered by a policy holder hello: call test/kdbus-util.c:kdbus_hello_registrar() and pass KDBUS_HELLO_POLICY_HOLDER as a flag. While we are it make sure that kdbus_cmd_conn_update() also checks

Re: [systemd-devel] [PATCH 2/2] kdbus-test: fix kdbus item alignment in kdbus_hello_registrar()

2014-06-12 Thread Kay Sievers
On Wed, Jun 11, 2014 at 6:27 PM, Djalal Harouni tix...@opendz.org wrote: Currently running the test-kdbus-activator test will fail with -EINVAL To fix this, remove the redundant offsetof() macros since it is already handled. The KDBUS_ITEM_SIZE() will expand into KDBUS_ITEM_HEADER_SIZE()

Re: [systemd-devel] [PATCH] util.h: KDBUS_ITEM_VALID fixed

2014-06-17 Thread Kay Sievers
On Tue, Jun 17, 2014 at 12:38 PM, Jacek Janczyk j.janc...@samsung.com wrote: Missing character leading to wrong variable name restored. Signed-off-by: Jacek Janczyk j.janc...@samsung.com --- util.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks, Kay

Re: [systemd-devel] udevd: skip cd/dvd devices in synthesize_change

2014-06-18 Thread Kay Sievers
On Wed, Jun 18, 2014 at 8:17 PM, Robert Milasan rmila...@suse.com wrote: If we are running udevd from a LiveCD or ISO image, it can happen that udevd wont find the cd/dvd in time, causing a failure. I've attached the patch which seems to fix the issue. Change events are triggered when some

Re: [systemd-devel] Systemd stops

2014-06-23 Thread Kay Sievers
On Mon, Jun 23, 2014 at 12:28 PM, Jay D Bhatt jay.bh...@igate.com wrote: My systemd stops indefinitely at this point: [ OK ] Reached target Login Prompts. As Lennart suggested, I looked at my kernel version which is 3.0.35, which is = 3.0, so should not give problem for systemd

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com wrote: Hi, we are getting this error on one of our machines. The machine is a xen host running systemd/udev 210. First, systemd 210 has no locking

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 12:41 PM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 12:22:35 +0200 Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 11:38:17 +0200 Robert Milasan rmila...@suse.com wrote

Re: [systemd-devel] udev: unable to flock(/dev/sda), skipping event

2014-06-24 Thread Kay Sievers
On Tue, Jun 24, 2014 at 12:46 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 12:41 PM, Robert Milasan rmila...@suse.com wrote: On Tue, 24 Jun 2014 12:22:35 +0200 Kay Sievers k...@vrfy.org wrote: On Tue, Jun 24, 2014 at 11:58 AM, Robert Milasan rmila...@suse.com wrote: On Tue

Re: [systemd-devel] [RFC 5/8] HACK1: optimize copy operations in kdbus_conn_queue_alloc()

2014-06-25 Thread Kay Sievers
On Wed, Jun 25, 2014 at 11:13 AM, AKASHI Takahiro takahiro.aka...@linaro.org wrote: This function copies the reply message directly into receiver's buffer (pool slice). Looking into the implementation closely, however, there are multiple occurrences of copy operations, kdbus_pool_slice_copy(),

Re: [systemd-devel] [RFC 6/8] HACK2: blocking ioctl(CMD_MSG_RECV)

2014-06-25 Thread Kay Sievers
On Wed, Jun 25, 2014 at 11:13 AM, AKASHI Takahiro takahiro.aka...@linaro.org wrote: In the current implementation, ioctl(CMD_MSG_RECV) returns immediately if no message has been queued, and so a service process has to wait by explicitly calling poll() system call. If such a process needs to

Re: [systemd-devel] [PATCH 3/4] connection: use the already cached metadata if KDBUS_HELLO_CACHE_META is set

2014-06-27 Thread Kay Sievers
On Fri, Jun 27, 2014 at 12:32 PM, Djalal Harouni tix...@opendz.org wrote: For connections with the KDBUS_HELLO_CACHE_META flag dup the metadata/credentials from handle or from the HELLO cmd, and use it to construct kdbus kmsg object, this improves benchmark by ~50% The KDBUS_HELLO_CACHE_META

Re: [systemd-devel] [PATCH] rules: don't enable usb pm for Avocent devices

2014-06-27 Thread Kay Sievers
On Wed, Jun 25, 2014 at 1:57 PM, Tom Hirst tom.hi...@ipe-systems.co.uk wrote: The Avocent KVM over IP devices doesn't work correctly with USB power management enabled. --- rules/42-usb-hid-pm.rules | 4 1 file changed, 4 deletions(-) Applied. Thanks, Kay

Re: [systemd-devel] [systemd-commits] 5 commits - Makefile-man.am man/daemon.xml man/file-hierarchy.xml tmpfiles.d/systemd.conf

2014-06-30 Thread Kay Sievers
On Mon, Jun 30, 2014 at 8:38 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Jun 30, 2014 at 11:10:15AM -0700, Lennart Poettering wrote: +varlistentry +termfilename/usr/lib/filename/term +

  1   2   3   4   5   6   7   8   9   10   >