Re: [systemd-devel] user service not starting on login

2019-05-09 Thread Mantas Mikulėnas
On Fri, May 10, 2019 at 7:57 AM Mantas Mikulėnas wrote: > A direct conversion of jackdbus to a systemd service would look like this > – because of the way jackdbus is written, it always needs that extra > command to be sent over D-Bus (either by running `jack_control start` or by > using the

Re: [systemd-devel] user service not starting on login

2019-05-09 Thread Mantas Mikulėnas
On Fri, May 10, 2019 at 5:22 AM Matt Zagrabelny wrote: > Greetings, > > I am attempting to get a user service running on my session login. > > The unit is called jack. I've enabled it via: > > $ systemctl --user enable jack > > When I boot up the system and log in I see that it is inactive. I

[systemd-devel] user service not starting on login

2019-05-09 Thread Matt Zagrabelny
Greetings, I am attempting to get a user service running on my session login. The unit is called jack. I've enabled it via: $ systemctl --user enable jack When I boot up the system and log in I see that it is inactive. I can start it manually without issue: $ systemctl --user status jack ●

Re: [systemd-devel] EFI loader partition unknown

2019-05-09 Thread Chris Murphy
On Wed, May 8, 2019 at 3:52 AM Lennart Poettering wrote: > > eOn Mo, 06.05.19 10:26, Chris Murphy (li...@colorremedies.com) wrote: > > > Waiting for device (parent + 2 partitions) to appear... > > Found writable 'root' partition (UUID > > 87d5a92987174be9ad216482074d1409) of type xfs without

Re: [systemd-devel] Explain status "Loaded: not-found (Reason: No such file or directory)"

2019-05-09 Thread Reindl Harald
Am 09.05.19 um 12:25 schrieb Ulrich Windl: > I'm developing a service and getting the status of my target gives: > ● iotwatch.target >Loaded: not-found (Reason: No such file or directory) >Active: active since Thu 2019-05-09 12:00:56 CEST; 18min ago > > I guess it's not a file named

Re: [systemd-devel] refcount of bus returned from sd_bus_default_system

2019-05-09 Thread Stanislav Angelovič
Thank you Lennart for detailed explanation. I realized a few things in sd-bus behavior (and in my wrong approach to default bus -- yes I forgot about hello message) when I debugged the thing earlier today, and now your explanation cleared that up pretty nicely to me. I see again that sd-bus

Re: [systemd-devel] Wtrlt: Antw: Re: Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Lennart Poettering
On Do, 09.05.19 15:52, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > (Sorry, I didn't sent to the list before) > >>> Ulrich Windl schrieb am 09.05.2019 um > >>> 14:25 > in Nachricht <5cd44c9a.ed38.00a...@rz.uni-regensburg.de>: > Michael Biebl schrieb am 09.05.2019 um 12:26 in

Re: [systemd-devel] Can I enable/disable a target?

2019-05-09 Thread Lennart Poettering
On Do, 09.05.19 12:27, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > Whenever I try to enable or disable a target (that exists), I get > "Failed to execute operation: No such file or directory". What file > or directory, please? Or what is the command trying to say? Well,

Re: [systemd-devel] Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Lennart Poettering
On Do, 09.05.19 12:22, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I had to subscribe to this list, even though I'm no systemd > fan. Still I'll have to deal with it as the distribution we use > switched to systemd... Fantastic lead-in. This is a perfect intro if you are

Re: [systemd-devel] Explain status "Loaded: not-found (Reason: No such file or directory)"

2019-05-09 Thread Lennart Poettering
On Do, 09.05.19 12:25, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I'm developing a service and getting the status of my target gives: > ● iotwatch.target >Loaded: not-found (Reason: No such file or directory) >Active: active since Thu 2019-05-09 12:00:56 CEST; 18min

Re: [systemd-devel] refcount of bus returned from sd_bus_default_system

2019-05-09 Thread Lennart Poettering
On Mi, 08.05.19 22:50, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Heya, > > when writing sdbus-c++, we've observed that sd_bus_default_system function > called in a fresh new thread returns a bus with initial ref count 2. We > built our code upon that assumption -- we had to unref the

Re: [systemd-devel] Wtrlt: Antw: Re: Can I enable/disable a target?

2019-05-09 Thread Michael Biebl
Am Do., 9. Mai 2019 um 15:52 Uhr schrieb Ulrich Windl : > > (Sorry, I didn't send to the list before) > >>> Ulrich Windl schrieb am 09.05.2019 um > >>> 14:28 > in Nachricht <5cd44cae.ed38.00a...@rz.uni-regensburg.de>: > Michael Biebl schrieb am 09.05.2019 um 12:29 in > Nachricht > >

Re: [systemd-devel] Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Andrei Borzenkov
09.05.2019 13:22, Ulrich Windl пишет: > Hi! > > I had to subscribe to this list, even though I'm no systemd fan. Still I'll > have to deal with it as the distribution we use switched to systemd... > > I'm porting my LSB code to systemd, and I'm having some trouble. Cause of the > trouble (and

Re: [systemd-devel] Explain status "Loaded: not-found (Reason: No such file or directory)"

2019-05-09 Thread Andrei Borzenkov
09.05.2019 13:25, Ulrich Windl пишет: > Hi! > > I'm developing a service and getting the status of my target gives: > ● iotwatch.target >Loaded: not-found (Reason: No such file or directory) >Active: active since Thu 2019-05-09 12:00:56 CEST; 18min ago > > I guess it's not a file named

Re: [systemd-devel] Inherit MAC address for bridge from physical device

2019-05-09 Thread Andrei Borzenkov
09.05.2019 12:49, Olaf Hering пишет: > With ifcfg or NetworkManager it is possible to have generic config files for > every system to configure a bridge on the one and only physical network > interface. See the examples below how such configuration looks like. > > With systemd-networkd it is

Re: [systemd-devel] Any defined exit code for a generator?

2019-05-09 Thread Lennart Poettering
On Do, 09.05.19 12:29, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > The manual page of generators does not talk about exit codes in case > of an error. Is there any handling of exit codes in systemd? We log about non-zero exit statusses from generator executables, but

[systemd-devel] Wtrlt: Antw: Re: Any defined exit code for a generator?

2019-05-09 Thread Ulrich Windl
(Sorry, I didn't send to the list before) >>> Ulrich Windl schrieb am 09.05.2019 um >>> 14:34 in Nachricht <5cd44ccd.ed38.00a...@rz.uni-regensburg.de>: Michael Biebl schrieb am 09.05.2019 um 12:43 in Nachricht > : > > Am Do., 9. Mai 2019 um 12:29 Uhr schrieb Ulrich Windl > > : > >> >

[systemd-devel] Wtrlt: Antw: Re: Can I enable/disable a target?

2019-05-09 Thread Ulrich Windl
(Sorry, I didn't send to the list before) >>> Ulrich Windl schrieb am 09.05.2019 um >>> 14:28 in Nachricht <5cd44cae.ed38.00a...@rz.uni-regensburg.de>: Michael Biebl schrieb am 09.05.2019 um 12:29 in Nachricht > : > > Am Do., 9. Mai 2019 um 12:27 Uhr schrieb Ulrich Windl > > : > >> >

[systemd-devel] Wtrlt: Antw: Re: Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Ulrich Windl
(Sorry, I didn't sent to the list before) >>> Ulrich Windl schrieb am 09.05.2019 um >>> 14:25 in Nachricht <5cd44c9a.ed38.00a...@rz.uni-regensburg.de>: Michael Biebl schrieb am 09.05.2019 um 12:26 in Nachricht > : > > Hi > > > > Am Do., 9. Mai 2019 um 12:22 Uhr schrieb Ulrich Windl

[systemd-devel] Wtrlt: Antw: Re: Can I enable/disable a target?

2019-05-09 Thread Ulrich Windl
(Sorry, I didn't sent to the list before) >>> Ulrich Windl schrieb am 09.05.2019 um 13:22 in Nachricht <5cd44c66.ed38.00a...@rz.uni-regensburg.de>: Michael Biebl schrieb am 09.05.2019 um 12:29 in Nachricht > : > > Am Do., 9. Mai 2019 um 12:27 Uhr schrieb Ulrich Windl > > : > >> > >> Hi! >

Re: [systemd-devel] Can I enable/disable a target?

2019-05-09 Thread Michael Biebl
[Please do not send this message to me privately only] Am Do., 9. Mai 2019 um 13:22 Uhr schrieb Ulrich Windl : > > >>> Michael Biebl schrieb am 09.05.2019 um 12:29 in > Nachricht > : > > Am Do., 9. Mai 2019 um 12:27 Uhr schrieb Ulrich Windl > > : > >> > >> Hi! > >> > >> Whenever I try to enable

Re: [systemd-devel] Any defined exit code for a generator?

2019-05-09 Thread Michael Biebl
Am Do., 9. Mai 2019 um 12:29 Uhr schrieb Ulrich Windl : > > Hi! > > The manual page of generators does not talk about exit codes in case of an > error. Is there any handling of exit codes in systemd? exit codes > 0 returned by the generator are treated as errors and systemd will log about this

Re: [systemd-devel] Can I enable/disable a target?

2019-05-09 Thread Michael Biebl
Am Do., 9. Mai 2019 um 12:27 Uhr schrieb Ulrich Windl : > > Hi! > > Whenever I try to enable or disable a target (that exists), I get "Failed to > execute operation: No such file or directory". What file or directory, > please? Or what is the command trying to say? Can you share the target unit

[systemd-devel] Any defined exit code for a generator?

2019-05-09 Thread Ulrich Windl
Hi! The manual page of generators does not talk about exit codes in case of an error. Is there any handling of exit codes in systemd? Regards, Ulrich ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] Can I enable/disable a target?

2019-05-09 Thread Ulrich Windl
Hi! Whenever I try to enable or disable a target (that exists), I get "Failed to execute operation: No such file or directory". What file or directory, please? Or what is the command trying to say? Regards, Ulrich ___ systemd-devel mailing list

Re: [systemd-devel] Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Michael Biebl
Hi Am Do., 9. Mai 2019 um 12:22 Uhr schrieb Ulrich Windl : > Despite of that I'm missing a "systemctl validate ..." command. That way I > wouldn't need to execute start, status, stop, just to find out that some > settings are rejected. There is "systemd-analyze verify". -- Why is it that

[systemd-devel] Explain status "Loaded: not-found (Reason: No such file or directory)"

2019-05-09 Thread Ulrich Windl
Hi! I'm developing a service and getting the status of my target gives: ● iotwatch.target Loaded: not-found (Reason: No such file or directory) Active: active since Thu 2019-05-09 12:00:56 CEST; 18min ago I guess it's not a file named "Reason" that's missing. Despite of my recommendation

[systemd-devel] Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-09 Thread Ulrich Windl
Hi! I had to subscribe to this list, even though I'm no systemd fan. Still I'll have to deal with it as the distribution we use switched to systemd... I'm porting my LSB code to systemd, and I'm having some trouble. Cause of the trouble (and possible reason for systemd's unpopularity) seems to

[systemd-devel] Inherit MAC address for bridge from physical device

2019-05-09 Thread Olaf Hering
With ifcfg or NetworkManager it is possible to have generic config files for every system to configure a bridge on the one and only physical network interface. See the examples below how such configuration looks like. With systemd-networkd it is apparently required to specify the MAC in the