[systemd-devel] [PATCH] build: Fix compile failure, KMOD_CFLAGS missing..again..

2014-05-19 Thread Cristian Rodríguez
--- Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index f2a3bbd..bea3876 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4195,6 +4195,8 @@ endif # -- if ENABLE_RESOLVED +

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-19 Thread Djalal Harouni
On Mon, May 19, 2014 at 07:52:20PM +0200, Tom Gundersen wrote: > On Sun, May 18, 2014 at 10:30 PM, Cristian Rodríguez > wrote: > > --- > > src/journal/test-journal-stream.c | 2 +- > > src/libsystemd/sd-login/sd-login.c | 2 +- > > src/shared/util.c | 4 ++-- > > 3 files changed

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-19 Thread Thomas H.P. Andersen
On Mon, May 19, 2014 at 9:01 PM, Cristian Rodríguez wrote: > El 19/05/14 13:52, Tom Gundersen escribió: > >> I can't reproduce this warning, but more importantly, why is this >> necessary in this function and not the subsequent noes (which all >> seem to be more or less equivalent)? > > What compi

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-19 Thread Brandon Black
On Fri, May 16, 2014 at 9:38 AM, Lennart Poettering wrote: > On Thu, 15.05.14 20:57, Brandon Black (blbl...@gmail.com) wrote: > > > On Thu, May 15, 2014 at 6:40 PM, Lennart Poettering > > wrote: > > > > > > But again, it's generally not a good idea to keep file locks for a > > > longer period of t

Re: [systemd-devel] Services with Access to User Sessions

2014-05-19 Thread Mantas Mikulėnas
On Mon, May 19, 2014 at 9:55 PM, Justin Brown wrote: > > I'm having some difficulty setting up a systemd service that needs > access to a "user session" (probably not the correct term). I want to > configure shairport as a systemd service. Shairport is an open source > implementation of Apple's Ai

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-19 Thread Cristian Rodríguez
El 19/05/14 13:52, Tom Gundersen escribió: > I can't reproduce this warning, but more importantly, why is this > necessary in this function and not the subsequent noes (which all > seem to be more or less equivalent)? What compiler did you tried ? happens with GCC 4.9.0 r209782. -- Cristian

[systemd-devel] Services with Access to User Sessions

2014-05-19 Thread Justin Brown
I'm having some difficulty setting up a systemd service that needs access to a "user session" (probably not the correct term). I want to configure shairport as a systemd service. Shairport is an open source implementation of Apple's AirPlay and is used to play audio from an iOS device on a Linux co

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-19 Thread Tom Gundersen
On Sun, May 18, 2014 at 10:30 PM, Cristian Rodríguez wrote: > --- > src/journal/test-journal-stream.c | 2 +- > src/libsystemd/sd-login/sd-login.c | 2 +- > src/shared/util.c | 4 ++-- > 3 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/journal/test-journal-s

Re: [systemd-devel] Unit swap.target & Unit boot.mount

2014-05-19 Thread poma
When already dealing with the boot problem, why not simplify more! dracut-037-11.git20140402.fc21.x86_64 $ ls /usr/lib/dracut/modules.d/ ... /etc/dracut.conf.d/omit_dracut-modules.conf # man 5 dracut.conf # turn off modules omit_dracutmodules+=" bash biosdevname btrfs busybox caps cifs cms co

Re: [systemd-devel] [PATCH] build: Honour SUID_CFLAGS and SUID_LDFLAGS

2014-05-19 Thread Simon McVittie
On 18/05/14 16:47, Cristian Rodríguez wrote: > OK, Let's try [building everything -fPIE] instead. Hopefully things have improved since 2011, but my experience with dbus[1] has been that this works fine on mainstream architectures, but frequently fails on embedded architectures (arm* family, mips*

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

2014-05-19 Thread Peter Rajnoha
On 05/15/2014 11:38 PM, Lennart Poettering wrote: > On Thu, 15.05.14 23:15, Andy Kittner (andy.kitt...@gmail.com) wrote: > >> | May 15 22:06:47 pinky systemd[1]: Mounted Runtime Directory. >> | May 15 22:06:47 pinky systemd[1]: Mounted Lock Directory. > > This looks like remains from a *really* o

Re: [systemd-devel] [PATCH 1/2] path-util: add path_make_relative()

2014-05-19 Thread Tanu Kaskinen
On Fri, 2014-05-16 at 18:46 +0200, Lennart Poettering wrote: > On Sat, 03.05.14 11:52, Tanu Kaskinen (tanu.kaski...@linux.intel.com) wrote: > > > In user_dirs() in path-lookup.c, I want to replace this: > > symlink("../../../.config/systemd/user", data_home); > > with > > symlink(c