Re: [systemd-devel] [PATCH v3 0/2] Move initscript parsing to a generator

2014-05-31 Thread Thomas H.P. Andersen
This needs some more work. Currently only initscripts linked from the rc?d dirs are generated. We of course need to generate them all and have a way to run the generator after a new initscript is installed. Or do we want to run it just in time instead? On May 30, 2014 3:28 PM, Thomas H.P.

Re: [systemd-devel] [PATCH v3 0/2] Move initscript parsing to a generator

2014-05-31 Thread Tom Gundersen
On 31 May 2014 08:39, Thomas H.P. Andersen pho...@gmail.com wrote: This needs some more work. Currently only initscripts linked from the rc?d dirs are generated. We of course need to generate them all and have a way to run the generator after a new initscript is installed. Or do we want to run

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

2014-05-31 Thread Samuli Suominen
1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has #include libkmod.h and there is no anykind of #ifdef -logic behind it so kmod is hardcoded

Re: [systemd-devel] [PATCH] [RFC] Move handling of sysv initscripts to a generator

2014-05-31 Thread Andrey Borzenkov
В Thu, 29 May 2014 16:11:25 +0200 Thomas H.P. Andersen pho...@gmail.com пишет: What about the SysVStartPriority= option set in native .service's? Is there any non-trivial use case for it? The only usage I have seen was in rc.local emulation and right now none of services installed here defines

Re: [systemd-devel] [PATCH v3 0/2] Move initscript parsing to a generator

2014-05-31 Thread Thomas H.P. Andersen
On Sat, May 31, 2014 at 11:34 AM, Tom Gundersen t...@jklm.no wrote: On 31 May 2014 08:39, Thomas H.P. Andersen pho...@gmail.com wrote: This needs some more work. Currently only initscripts linked from the rc?d dirs are generated. We of course need to generate them all and have a way to run

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

2014-05-31 Thread Samuli Suominen
On 31/05/14 14:14, Samuli Suominen wrote: 1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has #include libkmod.h and there is no anykind of

[systemd-devel] Archlinux setup WLAN-Problems

2014-05-31 Thread Lucas Thieme
Hey guys, I just began setting up arch linux. Now I have some Errors while setting up the W-LAN. There are various errors. I think it may be caused by the systemd driver configuration. Is here someone who can help me? Greetz. Lucas. Gesendet mit AquaMail für Android http://www.aqua-mail.com

Re: [systemd-devel] Archlinux setup WLAN-Problems

2014-05-31 Thread Greg KH
On Sat, May 31, 2014 at 04:30:00PM +0200, Lucas Thieme wrote: Hey guys, I just began setting up arch linux. Now I have some Errors while setting up the W-LAN. There are various errors. I think it may be caused by the systemd driver configuration. Is here someone who can help me? Given that

Re: [systemd-devel] Archlinux setup WLAN-Problems

2014-05-31 Thread Leonid Isaev
On Sat, 31 May 2014 17:27:11 +0200 Lucas Thieme l...@thiemeonline.de wrote: configurated correct in/etc/rc.conf, and I thought, systemd replaced it. Yes, more than a year ago... Anyway, this is a wrong mailing list for your question. Go to bbs.archlinux.org and ask on the forums. -- Leonid

Re: [systemd-devel] Archlinux setup WLAN-Problems

2014-05-31 Thread Mantas Mikulėnas
rc.conf had many things, some of them not belonging to the boot scripts. It used to list active netcfg profiles once, later got simplified to configuring one Ethernet interface (before sysvinit was removed entirely). Was a rather bad place for wireless settings though – after all, WiFi networks

[systemd-devel] [PATCH] hostnamectl: correct IDs for remote hosts

2014-05-31 Thread Rico Sagner
If hostnamectl is used with the --host option it does not show the correct machine and boot IDs of the remote host. The IDs are read by hostnamectl locally instead of querying dbus on the remote host. This patch makes systemd-hostnamed offer the IDs via dbus and hostnamectl retrieve it this way.

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

2014-05-31 Thread Samuli Suominen
On 31/05/14 17:10, Samuli Suominen wrote: On 31/05/14 14:14, Samuli Suominen wrote: 1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has

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

2014-05-31 Thread Samuli Suominen
A proper git formatted patch for inclusion. From 9be13cce871d1d7275acee8bcb106cd2f9e909b7 Mon Sep 17 00:00:00 2001 From: Mike Gilbert flop...@gentoo.org Date: Sat, 31 May 2014 19:58:47 +0300 Subject: [PATCH] Fix building with --disable-kmod --disable-networkd when kmod is not installed. ---

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

2014-05-31 Thread Cristian Rodríguez
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. -- Cristian I don't know the key to success, but the key to failure is trying to please everybody.

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

2014-05-31 Thread Djalal Harouni
Make sure that the credentials of the connection at creation time will last so the kdbus_policy_check_own_access() will work as expected. Signed-off-by: Djalal Harouni tix...@opendz.org --- connection.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/connection.c

[systemd-devel] [PATCH] tests: do not use systemctl status --failed

2014-05-31 Thread Ronny Chevalier
since v212 calling systemctl status without arguments will show a overall system state --- test/TEST-01-BASIC/test.sh | 2 +- test/TEST-02-CRYPTSETUP/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index

[systemd-devel] [PATCH v4 0/2] Move initscript parsing to a generator

2014-05-31 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen pho...@gmail.com Compared to the previous version this one generates a .service file for all initscripts in the sysvinit path that have execute permission. After that it will adjust the before/after/wants/conflicts based on the rc.d's. The patches have a few

[systemd-devel] [PATCH v4 1/2] Move handling of sysv initscripts to a generator

2014-05-31 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen pho...@gmail.com Reuses logic from service.c and the rc-local generator. Note that this drops reading of chkconfig entirely. It also drops reading runlevels from the LSB headers. The runlevels were only used to check for runlevels outside of the normal 1-5

[systemd-devel] [PATCH v4 2/2] Remove sysv parser from service.c

2014-05-31 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen pho...@gmail.com Parsing sysv files was moved to the sysv-generator in the previous commit. This patch removes the sysv parsing from serivce.c. To avoid introducing an extra compat option in .service fies for identifying sysv services we instead add a check

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 2/2] journald: Add UDP syslog listener

2014-05-31 Thread Lennart Poettering
On Wed, 28.05.14 22:30, Lubomir Rintel (lkund...@v3.sk) wrote: This is fairly simple, yet useful with netconsole. Remote socket address is not used to obtain hostname, it would be easy to fake it via UDP anyway, which is probably not desirable. If clients wish, they should identify

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

2014-05-31 Thread Lennart Poettering
On Sun, 01.06.14 06:23, Kay Sievers (k...@vrfy.org) wrote: 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

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

2014-05-31 Thread Lennart Poettering
On Sat, 31.05.14 19:43, Samuli Suominen (ssuomi...@gentoo.org) wrote: On 31/05/14 17:10, Samuli Suominen wrote: On 31/05/14 14:14, Samuli Suominen wrote: 1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of

Re: [systemd-devel] [PATCH] Drop the udev firmware loader

2014-05-31 Thread Lennart Poettering
On Fri, 30.05.14 04:32, Michael Biebl (mbi...@gmail.com) wrote: 2014-05-30 4:26 GMT+02:00 Greg KH gre...@linuxfoundation.org: You update systemd but you don't update the kernel? How does that make any sense? There might be very valid reasons why you need to stick with the old

Re: [systemd-devel] [PATCH] journald: collect process data from socket data

2014-05-31 Thread Lennart Poettering
On Fri, 30.05.14 12:45, Piotr Wilczek (p.wilc...@samsung.com) wrote: This patch adds posibility for journal to get process data from socket data (if available) instead of from procfs. Additionally a new procinfo structure is added to store all process data in single place. This data include