Re: [systemd-devel] Moving systemd-bootchart to a standalone repository

2016-02-24 Thread Simon Peeters
2016-02-18 19:16 GMT+01:00 Lennart Poettering : > On Thu, 18.02.16 11:32, Daniel Mack (dan...@zonque.org) wrote: > >> On 02/17/2016 08:02 PM, Umut Tezduyar Lindskog wrote: >> > Hi, >> > >> > src/shared & src/basic have very useful code that upstream have been >> > static linking to most binaries. M

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-16 Thread Simon Peeters
2015-12-16 9:47 GMT+00:00 Reindl Harald : > > > Am 15.12.2015 um 18:59 schrieb Simon Peeters: >> >> 2015-12-10 15:20 GMT+00:00 Reindl Harald : >>> >>> >>> Am 10.12.2015 um 15:46 schrieb Jóhann B. Guðmundsson: >>>&g

Re: [systemd-devel] Query regarding "EnvironmentFile"

2015-12-15 Thread Simon Peeters
2015-12-10 15:20 GMT+00:00 Reindl Harald : > > Am 10.12.2015 um 15:46 schrieb Jóhann B. Guðmundsson: >> >> If you are unaware of any other use case for it > > > EnvironmentFile=-/etc/sysconfig/httpd > ExecStart=/usr/sbin/httpd $OPTIONS -D FOREGROUND > > [root@testserver:~]$ cat /etc/sysconfig/httpd

[systemd-devel] socket-activated containers with domain sockets

2015-05-16 Thread Simon Peeters
hej all. I have a kind off weird setup using socket-activated containers: nginx on the host listens on port 80 and has a 'proxy_pass http://unix:/run/http/$host;' directive. then I have webserver@.socket listening on 'ListenStream=/run/http/%I' which in turn activates a container. this works fi

Re: [systemd-devel] is there a plan for NIC teaming support ?

2015-03-09 Thread Simon Peeters
2015-03-05 5:41 GMT+01:00 Branko : > I have a need to put my NICs in "RAID0" so to speak, but according to > materials I have found on net I can't use NIC bonding driver because I would > need LACP (IEEE whatever) aware L2 switch, so I was refered to teaming > driver, which should be ( if those fol

Re: [systemd-devel] Jenkins Failing and Not Updating Github Mirror

2015-01-17 Thread Simon Peeters
So the solution would be to make zlib available on the jenkins machine (David?), or make zlib an optional dep (Lennart?). about the github mirror not being updated: that is how David set up the jenkins, so the github mirror is always at the latest successfully building commi

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-31 Thread Simon Peeters
2014-12-31 11:12 GMT+00:00 Martin Pitt : > Simon Peeters [2014-12-29 15:01 +]: >> I have no preference between the 2, but moving the pc file to >> $libdir/pkgconfig just does not make sense. > > Why not? pkg-config looks in both /usr/share and /usr/lib, so it > doe

Re: [systemd-devel] "dynamic" uid allocation (was: [PATCH] loopback setup in unprivileged containers)

2014-12-29 Thread Simon Peeters
2014-12-30 6:49 GMT+00:00 Simon Peeters : > 2014-12-29 14:14 GMT+00:00 Tom Gundersen : >> On Mon, Dec 29, 2014 at 2:34 PM, Lennart Poettering >> wrote: > >>> I am open to adding support for this, but I think the allocation of >>> the UID ranges should rea

[systemd-devel] "dynamic" uid allocation (was: [PATCH] loopback setup in unprivileged containers)

2014-12-29 Thread Simon Peeters
Also I have written this to be generic, so that (If anybod ever uses this) it could also be used for f.ex guest sessions, ldap users,... if anybody wants to help out: feel free to do so. if you are interested and have questions: shoot! Greetings Simon Peeters [1] https://git

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-29 Thread Simon Peeters
2014-12-29 13:02 GMT+00:00 Martin Pitt : > Mike Gilbert [2014-12-28 12:41 -0500]: >> From Lennart's commit message, it seems like this was done intentionally. > > The addition of libdir was certainly intentional, that's why I didn't > propose to just remove libdir. But it looks like this was just m

Re: [systemd-devel] Hackfest at FOSDEM 2015?

2014-11-20 Thread Simon Peeters
> Brussels. I am all for it, but we'd really need somebody to organize > it, i.e. find a room for us. > > Anyone volunteering for this? If nobody else steps up, I might do it, but I do have a very tight schedule currently, so I would rather have someone else do it. If somebody else does this and fo

Re: [systemd-devel] Shell expressions in EnvironmentFile

2014-10-07 Thread Simon Peeters
] > ExecStartPre=/something/that/sets/var > ExecStart=/some/file $var ExecStart=/bin/sh -c ". /something/that/sets/var; /some/file $var" in other words: If you want shell behaviour, use a shell. > Is there some way to get dynamically determined data into the > environment

[systemd-devel] nss-mymachines and virtual machines

2014-09-26 Thread Simon Peeters
hej, In the light of my linux classes i was looking into hooking up vagrant with machined in order to be able to use nss-mymachines to resolve the ip address on the host-only adaptor. Unfortunatly the network side of machined seems to only work with containers (since afaik it looks for a veth pair

Re: [systemd-devel] [PATCH] timedated: add configure option to set name of controlled NTP service

2014-08-26 Thread Simon Peeters
2014-08-26 14:37 GMT+02:00 Lennart Poettering : > On Tue, 26.08.14 16:34, Andrei Borzenkov (arvidj...@gmail.com) wrote: > >> > I don't really think that timedated should manage an NTP server like >> > ntpd/chrony. timedated's primary job is to be a service to GNOME and >> > other DEs. But if an adm

Re: [systemd-devel] Match section of .link file not working

2014-08-25 Thread Simon Peeters
2014-08-25 19:46 GMT+02:00 Kay Sievers : > On Mon, Aug 25, 2014 at 7:25 PM, Lennart Poettering > wrote: >> On Sun, 24.08.14 06:49, Simon Peeters (peeters.si...@gmail.com) wrote: >> >>> >> This should be the value of ID_PATH property, not sysfs path. Check with &

Re: [systemd-devel] Match section of .link file not working

2014-08-25 Thread Simon Peeters
2014-08-25 20:16 GMT+02:00 Andrei Borzenkov : > В Sun, 24 Aug 2014 21:28:51 +0200 > Simon Peeters пишет: >> No, and yes. The wireless adaptor actually only exprts phy0. The >> kernel then by default creates wlan0. >> Then i use : >> # iw phy phy0 interface add w

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Simon Peeters
2014-08-24 20:29 GMT+02:00 Andrei Borzenkov : > В Sun, 24 Aug 2014 09:19:13 +0200 > Simon Peeters пишет: > >> >> Ok, so there is only one problem now: >> >> ID_PATH is the same for all my vif interfaces, and i need to select >> >> only one of them. >

Re: [systemd-devel] Match section of .link file not working

2014-08-24 Thread Simon Peeters
>> Ok, so there is only one problem now: >> ID_PATH is the same for all my vif interfaces, and i need to select >> only one of them. >> > > Please show "udevadm info -q all" for each interface. P: /devices/ocp/4740.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/net/wlan0 E: DEVPATH=/devi

Re: [systemd-devel] Match section of .link file not working

2014-08-23 Thread Simon Peeters
2014-08-24 6:45 GMT+02:00 Simon Peeters : > 2014-08-24 6:23 GMT+02:00 Andrei Borzenkov : >> В Sun, 24 Aug 2014 03:04:03 +0200 >> Simon Peeters пишет: >> >>> Hej all, >>> >>> I have a system on wich i wish to randomise the mac address of one >>

Re: [systemd-devel] Match section of .link file not working

2014-08-23 Thread Simon Peeters
2014-08-24 6:23 GMT+02:00 Andrei Borzenkov : > В Sun, 24 Aug 2014 03:04:03 +0200 > Simon Peeters пишет: > >> Hej all, >> >> I have a system on wich i wish to randomise the mac address of one >> specific interface. This is important because it is a wireless vif,

[systemd-devel] Match section of .link file not working

2014-08-23 Thread Simon Peeters
to device wlv3 ... And the mac address is not randomised. This feels like a bug to me, any toughts what could cause this? This is on 215 (archlinux arm does not yet have 216). Simon Peeters. ___ systemd-devel mailing list systemd-devel@lists.freedeskto

Re: [systemd-devel] About systemd in initrd support

2014-08-23 Thread Simon Peeters
mageia, fedora and RHEL. > Thanks for you work. > > Best regards, > Simon Peeters ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] timer: name the stamp file consistently

2014-06-27 Thread Simon Peeters
2014-06-27 19:49 GMT+02:00 Lennart Poettering : > > Hmm, are you saying the current logic is "no stamp file, trigger > immediately"? And you say it should be "no stamp file, pretend there was > one with the current time"? no, afaik what he is saying that the current logic is indeed, "no stamp file

[systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-17 Thread Simon Peeters
--- Makefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c593b51..178257b 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,8 @@ kdbus$(EXT)-y := \ obj-m += kdbus$(EXT).o -KERNELDIR ?= /lib/modules/$(shell uname -r)/bu

Re: [systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-17 Thread Simon Peeters
almost the same, but in a way that does not break gregs setup. What I did was: - Add a KERNELVER variable defaulting to $(shell uname -r) - replace all occurences of $(shell uname -r) with $(KERNELVER) maybe this is a viable solution? It allows people to use the default paths (/lib/modules/*/b

[systemd-devel] [PATCH] bus: fix match_parse for unquoted matches

2014-02-15 Thread Simon Peeters
--- src/libsystemd/sd-bus/bus-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c index ffc9756..8280488 100644 --- a/src/libsystemd/sd-bus/bus-match.c +++ b/src/libsystemd/sd-bus/bus-match.c @@ -814,7 +

Re: [systemd-devel] recipe for target 'dbus1-generator-install-hook' failed

2014-02-13 Thread Simon Peeters
On 02/13/14 21:29, Peeters Simon wrote: hello all, I usually run systemd from git using the arch aur package systemd-git and yaourt to compile and install this, but this currently fails with LN dbus1-generator-install-hook what="" && wants=runlevel3.target && dir=/usr/lib/systemd/sys

[systemd-devel] [PATCH 3/5] shared: util.c: unify split and split_quoted

2014-01-03 Thread Simon Peeters
--- src/shared/util.c | 88 --- src/shared/util.h | 15 ++ 2 files changed, 36 insertions(+), 67 deletions(-) diff --git a/src/shared/util.c b/src/shared/util.c index 2350204..db3051d 100644 --- a/src/shared/util.c +++ b/src/shared/util.

[systemd-devel] [PATCH 2/5] util: CACHED_METHOD macro

2014-01-03 Thread Simon Peeters
the CACHED_METHOD macro is used to cache the return value of a method. example: CACHED_METHOD(bool, a_cached_method) { return some_dificult_and_slow_stuff(); } --- src/shared/apparmor-util.c | 16 - src/shared/ima-util.c | 11 +++-- src/shared/macro.h | 16 ++

[systemd-devel] [PATCH 4/5] util.c: use read_one_line_file where possible

2014-01-03 Thread Simon Peeters
--- src/shared/util.c | 48 +++- 1 file changed, 15 insertions(+), 33 deletions(-) diff --git a/src/shared/util.c b/src/shared/util.c index db3051d..354d7eb 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -404,8 +404,7 @@ char *split(const cha

[systemd-devel] [PATCH 5/5] strv: multiple cleanups

2014-01-03 Thread Simon Peeters
- turn strv_merge into strv_extend_strv. appending strv b to the end of strv a instead of creating a new strv - strv_append: remove in favor of strv_extend and strv_push. - strv_remove: write slightly more elegant - strv_remove_prefix: remove unused function - strv_overlap: use strv_contains - s

[systemd-devel] [PATCH 1/5] shared: procfs_file_alloca: handle pid==0

2014-01-03 Thread Simon Peeters
when pid is set to 0 use /proc/self --- src/shared/audit.c | 10 ++ src/shared/cgroup-util.c | 5 + src/shared/util.c| 35 +++ src/shared/util.h| 8 ++-- 4 files changed, 16 insertions(+), 42 deletions(-) diff --git a/src/sha

[systemd-devel] various cleanups

2014-01-03 Thread Simon Peeters
Hello, I have tried to do some cleanups in src/shared The "CACHED_METHOD" one might be going a bit to far, so feel free to drop it if you don't like it. [PATCH 1/5] shared: procfs_file_alloca: handle pid==0 [PATCH 2/5] util: CACHED_METHOD macro [PATCH 3/5] shared: util.c: unify split and split_

[systemd-devel] [PATCH 1/2] bus: make bus_print_all_properties work for non machinectl cases

2013-11-06 Thread Simon Peeters
add a destination parameter and skip properties we can't read --- src/libsystemd-bus/bus-util.c | 16 +++- src/libsystemd-bus/bus-util.h | 2 +- src/machine/machinectl.c | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/libsystemd-bus/bus-util.c b/src/l

[systemd-devel] [PATCH 1/2] bus-util: add ssh and polkit connection methods

2013-10-29 Thread Simon Peeters
bus_connect_system_ssh is shamelessly copied from Tom Gundersen's wip patches --- src/libsystemd-bus/bus-util.c | 61 +++ src/libsystemd-bus/bus-util.h | 2 ++ 2 files changed, 63 insertions(+) diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bu

[systemd-devel] [PATCH 2/2] hostnamectl: port to sd-bus

2013-10-29 Thread Simon Peeters
--- Makefile.am | 5 +- src/hostname/hostnamectl.c| 335 -- src/libsystemd-bus/bus-util.h | 40 + src/shared/macro.h| 3 + 4 files changed, 142 insertions(+), 241 deletions(-) diff --git a/Makefile.am b/Makefile.am

[systemd-devel] [PATCH] Move bus_error to dbus-common and remove bus_error_message_or_strerror

2013-04-10 Thread Simon Peeters
bus_error and bus_error_message_or_strerror dit almost exactly the same, so use only one of them and place it in dbus-common. --- src/core/bus-errors.h| 13 - src/core/load-fragment.c | 2 +- src/core/main.c | 2 +- src/core/path.c | 2 +- src/core/service.c

[systemd-devel] [PATCH][V3] systemd-analyze: rewrite in C.

2013-02-04 Thread Simon Peeters
Written by Peeters Simon . Makefile stuff and cleaned up a bit by Auke Kok . --- Fixed some stuff and dit some more cleanup. This should just cover the same usage as the old systemd-analyze, but we can add more functionality afterwards (systemctl dot, other output formats,...) This is the rebase

[systemd-devel] [PATCH] systemd-analyze: rewrite in C.

2013-02-04 Thread Simon Peeters
Written by Peeters Simon . Makefile stuff and cleaned up a bit by Auke Kok . --- Makefile.am| 21 +- src/analyze/systemd-analyze.c | 575 + src/analyze/systemd-analyze.in | 328 --- 3 files changed, 585 insertions(+)