Re: [systemd-devel] systemd-notify

2019-04-18 Thread Josef Moellers
On 18.04.19 18:17, Felipe Sateler wrote: > On Thu, 18 Apr 2019 14:21:09 +0200, Josef Moellers wrote: > >> Hi, >> >> We're currently working on a bug which afaict is due to a race >> condition: >> >> 1) systemd starts xenstored.service >> 2) /etc/xen/scripts/launch-xenstore does its work (starts /

Re: [systemd-devel] systemd-notify

2019-04-18 Thread Felipe Sateler
On Thu, 18 Apr 2019 14:21:09 +0200, Josef Moellers wrote: > Hi, > > We're currently working on a bug which afaict is due to a race > condition: > > 1) systemd starts xenstored.service > 2) /etc/xen/scripts/launch-xenstore does its work (starts /usr/lib/xen/ > bin/init-xenstore-domain) > 3) /etc

Re: [systemd-devel] systemd-notify

2019-04-18 Thread Josef Moellers
On 18.04.19 15:35, Lennart Poettering wrote: > On Do, 18.04.19 14:21, Josef Moellers ([email protected]) wrote: > >> Hi, >> >> We're currently working on a bug which afaict is due to a race condition: >> >> 1) systemd starts xenstored.service >> 2) /etc/xen/scripts/launch-xenstore does its work (s

Re: [systemd-devel] systemd-notify

2019-04-18 Thread Lennart Poettering
On Do, 18.04.19 14:21, Josef Moellers ([email protected]) wrote: > Hi, > > We're currently working on a bug which afaict is due to a race condition: > > 1) systemd starts xenstored.service > 2) /etc/xen/scripts/launch-xenstore does its work (starts > /usr/lib/xen/bin/init-xenstore-domain) > 3) /et

[systemd-devel] systemd-notify

2019-04-18 Thread Josef Moellers
Hi, We're currently working on a bug which afaict is due to a race condition: 1) systemd starts xenstored.service 2) /etc/xen/scripts/launch-xenstore does its work (starts /usr/lib/xen/bin/init-xenstore-domain) 3) /etc/xen/scripts/launch-xenstore runs "systemd-notify --ready" 4) "systemd-notify -

[systemd-devel] Failed to inhibit: The operation inhibition has been requested for is already running

2019-04-18 Thread Tom
Hi all, I'm trying to create a simple timer that will wake up the system from suspend and run an operation with systemd-inhibit. Contents of test.service: [Unit] Description=Test [Service] Type=oneshot ExecStart=/bin/systemd-inhibit /bin/su user -c "echo 'Test' > $HOME/asdf" Contents of test.t