Re: [systemd-devel] How to unlock a blocking sd_bus_wait() call

2016-01-08 Thread Simon McVittie
On 07/01/16 20:15, Iñigo Martínez wrote: > Do you think that it is a good idea a thread using sd_bus_wait that > can be cancelled and cleaned later ? You had a problem and you solved it with threads, and have two now you problem[Segmentation fault, core dumped.] :-) If you use an event loop like

Re: [systemd-devel] User service with suid executable

2016-01-08 Thread Simon McVittie
On 07/01/16 23:14, Martin Novák wrote: > I've created this (toy) user service for running desktop of differnt > user I don't think a user service is an appropriate tool for this job. If you have sudo privileges, you can use a system service, or perhaps even a user service that runs as the other us

Re: [systemd-devel] How to suppress coredumps when systemd-coredump is in use?

2016-01-08 Thread Simon McVittie
On 08/01/16 04:31, Robert O'Callahan wrote: > http://rr-project.org has a test suite which runs a lot of programs that > intentionally crash with core-dumping signals. dbus has a similar thing in its test suite. The feature you want is PR_SET_DUMPABLE. See:

Re: [systemd-devel] User service with suid executable

2016-01-08 Thread Martin Novák
On 01/08/2016 11:27 AM, Simon McVittie wrote: > On 07/01/16 23:14, Martin Novák wrote: >> I've created this (toy) user service for running desktop of differnt >> user > > I don't think a user service is an appropriate tool for this job. If you > have sudo privileges, you can use a system service, o

Re: [systemd-devel] How to unlock a blocking sd_bus_wait() call

2016-01-08 Thread Lennart Poettering
On Thu, 07.01.16 21:15, Iñigo Martínez (inigomarti...@gmail.com) wrote: > What about the second solution ? > > Do you think that it is a good idea a thread using sd_bus_wait that > can be cancelled and cleaned later ? No, we do not suport thread cancellation and have no intention to do so. Quite

[systemd-devel] radvd and sysctl systemd under Debian

2016-01-08 Thread William Hay
I'm running a Debian Jessie ARM system whose hardware I recently upgraded. This allowed me to upgrade the kernel to the standard Jessie kernel and switch to systemd. However I am having a few issues with getting radvd to start on boot. Ther kernel is: linux-image-3.16.0-4-armmp-lpae 3.16.7-

[systemd-devel] how to get sd_notify state/variables from dbus?

2016-01-08 Thread Rick Richardson
I have a fleet of applications that need to pass some critical variables back to systemd so that our services monitor can collect them. My hope is that this can be done via sd_notify as it is very much a config-management and process monitoring related task. Currently my monitor subscribes to Pro