Re: [systemd-devel] How to build systemd with statically linking

2014-03-02 Thread Samuli Suominen
On 01/03/14 22:07, Lennart Poettering wrote: On Sat, 01.03.14 20:36, Samuli Suominen (ssuomi...@gentoo.org) wrote: On 01/03/14 20:11, Lennart Poettering wrote: On Sat, 01.03.14 17:46, Ȳ�翵 (j-zero.hw...@samsung.com) wrote: Hello, I've tried to build systemd(v43) with statically linking.

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

2014-03-02 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 02, 2014 at 06:14:58AM +0100, Kay Sievers wrote: 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

[systemd-devel] [PATCH] metadata: use the subjective cred of current

2014-03-02 Thread Djalal Harouni
In kdbus_meta_append_*() we want to get the subjective context, so instead of using __task_cred() which reference the objective cred, use current_cred() to access the subjective cred. Signed-off-by: Djalal Harouni tix...@opendz.org --- Compile tested and make check metadata.c | 14

Re: [systemd-devel] Set environment for user@.service

2014-03-02 Thread Lennart Poettering
On Sun, 02.03.14 11:22, subi.the.dream.wal...@gmail.com (subi.the.dream.wal...@gmail.com) wrote: Hi, Before systemd 209, I put 'Environment=ENV=%h/.somedir' in /etc/user@.service.d/env.conf to set some variables. Now since %h is not available for system units anymore, I take the

Re: [systemd-devel] How to build systemd with statically linking

2014-03-02 Thread Lennart Poettering
On Sun, 02.03.14 12:05, Samuli Suominen (ssuomi...@gentoo.org) wrote: Why would you do something like that? That's just broken. Also the API between udevd and libudev is not stable, you should never mix different implementations. Lennart Well, believe it or not, there are people

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
On Sat, 01.03.14 14:46, Colin Walters (walt...@verbum.org) wrote: Hi! So for OSTree I am trying to move to a model where services populate the contents of /var on *start*. See previous discussion here: https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg07859.html The

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
On Sat, 01.03.14 20:18, Tom Gundersen (t...@jklm.no) wrote: On Sat, Mar 1, 2014 at 8:04 PM, Michael Biebl mbi...@gmail.com wrote: 2014-03-01 19:47 GMT+01:00 Colin Walters walt...@verbum.org: On Sat, Mar 1, 2014 at 1:44 PM, Michael Biebl mbi...@gmail.com wrote: I vaguely remember that

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
On Sat, 01.03.14 19:46, Colin Walters (walt...@verbum.org) wrote: Certainly it magnifies the pain for the RPM world in that there's nothing that scans the build directory and says hey you installed something that looks like a tmpfiles.d snippet, let me auto-generate some postinst shell

Re: [systemd-devel] binding tmpfiles.d to unit startup

2014-03-02 Thread Lennart Poettering
On Sat, 01.03.14 21:01, Colin Walters (walt...@verbum.org) wrote: On Sat, Mar 1, 2014 at 2:46 PM, Colin Walters walt...@verbum.org wrote: RuntimeDirectory=/run/mydaemon PersistentStateDirectory=/var/lib/mydaemon Btw, see also this thread:

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

2014-03-02 Thread Lennart Poettering
On Sun, 02.03.14 15:38, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Sun, Mar 02, 2014 at 06:14:58AM +0100, Kay Sievers wrote: On Sun, Mar 2, 2014 at 3:06 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: +--transform=rpm Create files list

Re: [systemd-devel] [PATCH] TODO: Simple conditionals in tmpfiles

2014-03-02 Thread Lennart Poettering
On Fri, 28.02.14 06:36, Josh Triplett (j...@joshtriplett.org) wrote: --- Strawman proposal, open to suggestions. A change like this would make tmpfiles flexible enough to detect what permission configuration an admin wants to use and go along with that. In general, set a directory's

Re: [systemd-devel] [PATCH] README: audit no longer breaks container

2014-03-02 Thread Lennart Poettering
On Thu, 20.02.14 05:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Feb 20, 2014 at 02:53:28AM +0100, Jason A. Donenfeld wrote: Ever since the seccomp trick, this is no longer an issue. --- README | 7 --- 1 file changed, 7 deletions(-) diff --git a/README

Re: [systemd-devel] [PATCH] core: add default extra dependency option

2014-03-02 Thread Lennart Poettering
On Fri, 28.02.14 20:45, WaLyong Cho (walyong@samsung.com) wrote: On 02/28/2014 06:16 PM, Thomas Bächler wrote: Am 28.02.2014 10:02, schrieb WaLyong Cho: systemd is already provide a special unit. If the type of unit is service then that is 'basic.target'. Additionally default extra

[systemd-devel] Process Manager?

2014-03-02 Thread David Farning
Over the last couple of weeks I have been looking over and testing the systemd. Thanks for all the hard work and interesting ideas. One issue that has come to mind is the quality and structure of the documentation. The quality and clarity of the documentation can be as important as the quality

Re: [systemd-devel] Process Manager?

2014-03-02 Thread Samuli Suominen
On 03/03/14 03:48, David Farning wrote: Over the last couple of weeks I have been looking over and testing the systemd. Thanks for all the hard work and interesting ideas. One issue that has come to mind is the quality and structure of the documentation. The quality and clarity of the

Re: [systemd-devel] StartLimitAction Feature

2014-03-02 Thread Usman
So actually i want to listen on dbus and somehow get a message when an application has restarted N number of times within time T and will not be started anymore. How do I differentiate this case from normal application Release message that I do get each time it restarts?

Re: [systemd-devel] Process Manager?

2014-03-02 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 02, 2014 at 07:48:26PM -0600, David Farning wrote: I would would be happy to work on upstream wiki site to help with communication But I want to be careful not to overstep. Hi, quite a few people work on the documentation, but there still are extensive gaps. The TODO list

Re: [systemd-devel] StartLimitAction Feature

2014-03-02 Thread Lennart Poettering
On Sun, 02.03.14 18:00, Usman (deser...@yahoo.com) wrote: So actually i want to listen on dbus and somehow get a message when an application has restarted N number of times within time T and will not be started anymore. How do I differentiate this case from normal application Release message

Re: [systemd-devel] [PATCH] core: add default extra dependency option

2014-03-02 Thread WaLyong Cho
On 03/03/2014 08:40 AM, Lennart Poettering wrote: On Fri, 28.02.14 20:45, WaLyong Cho (walyong@samsung.com) wrote: On 02/28/2014 06:16 PM, Thomas Bächler wrote: Am 28.02.2014 10:02, schrieb WaLyong Cho: systemd is already provide a special unit. If the type of unit is service then that

Re: [systemd-devel] Process Manager?

2014-03-02 Thread David Farning
I am approaching the situation from a slightly different perspective. The recent acceptance of systemd as the default init system in Debian and the statement by Canonical that Ubuntu will default to systemd, possibly as soon as 14.10, means that there will be an influx of new developers and

Re: [systemd-devel] StartLimitAction Feature

2014-03-02 Thread Usman
Thanks Lenart. Will give it a shot. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-02 Thread Mike Gilbert
The symlink is created in bindir (/usr/bin), and points to a binary which lives in rootlibexecdir (/lib/systemd or /usr/lib/systemd). A relative symlink does not work here. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-02 Thread Michael Biebl
2014-03-03 5:37 GMT+01:00 Mike Gilbert flop...@gentoo.org: The symlink is created in bindir (/usr/bin), and points to a binary which lives in rootlibexecdir (/lib/systemd or /usr/lib/systemd). A relative symlink does not work here. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1

[systemd-devel] Compilation with gcc-4.9 fails

2014-03-02 Thread Jan Engelhardt
Just informing you… When building with GCC 4.9.0 [svn r208221], then the following happens: $ make [...] make --no-print-directory all-recursive Making all in . CC src/libsystemd/sd-bus/libsystemd_la-sd-bus.lo CC src/libsystemd/sd-bus/libsystemd_la-bus-control.lo CC

[systemd-devel] Per session systemd?

2014-03-02 Thread Yuxuan Shui
Hi, This mail might be a little bit later for the topic, but I would like to share my thoughts anyway. Before systemd 206 was released, there are a few users (I don't know how many of them are there, but there's a page about it on archlinux's wiki. So I guess it's a well-known use case.) who use