Re: [systemd-devel] Services with multiple pre-requisites

2020-12-21 Thread Andrei Borzenkov
21.12.2020 20:23, freedesk...@priatel.co.uk пишет: > Perhaps I'm missing something, but that's still not doing what I expect. > > Here's what I have... > > #- /etc/systemd/system/first.target -# > [Unit] > Description=Started first > Wants=third.service > > #- /etc/systemd/system/sec

Re: [systemd-devel] Services with multiple pre-requisites

2020-12-21 Thread freedesktop
Perhaps I'm missing something, but that's still not doing what I expect. Here's what I have... #- /etc/systemd/system/first.target -# [Unit] Description=Started first Wants=third.service #- /etc/systemd/system/second.target -# [Unit] Description=Started second Wants=third.service

Re: [systemd-devel] Services with multiple pre-requisites

2020-12-21 Thread Lennart Poettering
On Mo, 21.12.20 14:43, freedesk...@priatel.co.uk (freedesk...@priatel.co.uk) wrote: > Hi > > I have two "primary" services running on a Linux server with `systemd` that > may be started at approximately the same time, or could just as easily be > started days apart. When started, they take a few

Re: [systemd-devel] systemd 244 version Execstop issue

2020-12-21 Thread Lennart Poettering
On Do, 17.12.20 12:27, gowtham b (gowtham.gowtha...@gmail.com) wrote: > Hi, > > hope you are doing good > Facing issue in systemd 244 version Execstop is not executing while process > crashing. Did additional testing if we restart the process via systemd > "systemctl restart tr069pa" command Execs

Re: [systemd-devel] log_assert_failed_realm crash in systemd journal-file

2020-12-21 Thread Lennart Poettering
On Do, 17.12.20 13:20, Aditya Tayade (adityadtay...@gmail.com) wrote: > Hi, > > I am getting below crash in our CI environment with systemd v244-stable > which looks similar to issue #14943 > . So could you please > confirm if it is the same issue a

Re: [systemd-devel] service kills application differently on shutdown vs on stop

2020-12-21 Thread Reindl Harald
Am 14.12.20 um 17:22 schrieb John: Thank you for the reply, Colin. I found that to be the case[1]. I think everything is working as expected now. I still have quirks with the kodi-x11.service since it has to call xinit as well as the kodi binary but I do not know of a cleaner way to do it u

Re: [systemd-devel] Q: (simple) socket activation

2020-12-21 Thread Lennart Poettering
On Fr, 18.12.20 08:44, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I have a simple question: For a socket-unit I have: > LISTENUNIT > ACTIVATES > [::]:16514libvirtd-tls.socket

Re: [systemd-devel] networkd questions

2020-12-21 Thread Lennart Poettering
On Fr, 04.12.20 03:50, Dan Egli (d...@newideatest.site) wrote: > I've got an issue or two with networkd that I can't seem to resolve. I hope > someone here can help me. > > 1) I have a particular machine configured to forward and Masquerade ipv4 > packets. But when networkd loads, I see this in th

Re: [systemd-devel] Raw/translated keycode clashes in hwdb.d/60-keyboard.hwdb

2020-12-21 Thread Lennart Poettering
On Do, 03.12.20 04:22, Ardavast Dayleryan (ardav...@noiseoverip.com) wrote: > Hello, > > I'm trying to emit keypresses from an embedded device connected over a > serial port, I attach it as an "AT Raw Set 2 keyboard" with inputattach > like this: sudo inputattach --baud 9600 --ps2serkbd /dev/ttyAC

[systemd-devel] Services with multiple pre-requisites

2020-12-21 Thread freedesktop
Hi I have two "primary" services running on a Linux server with `systemd` that may be started at approximately the same time, or could just as easily be started days apart. When started, they take a few seconds to reach "ready" state, and can signal that readiness however I choose. I have a third

Re: [systemd-devel] systemd 244 version Execstop issue

2020-12-21 Thread gowtham b
Hi All, could you please any help on this issue. Thanks, Gowtham On Thu, Dec 17, 2020 at 12:27 PM gowtham b wrote: > Hi, > > hope you are doing good > Facing issue in systemd 244 version Execstop is not executing while > process crashing. Did additional testing if we restart the process via >

Re: [systemd-devel] Sandboxing options

2020-12-21 Thread Christopher Wong
Hi Lennart, Thanks for your reply! After some struggles I managed to figure out that I was missing the SECCOMP in systemd 244 that I was running. Once I have enabled SECCOMP and managed to build systemd with it then all the below options except for UMask was available for me. I will leave UMas

Re: [systemd-devel] log_assert_failed_realm crash in systemd journal-file

2020-12-21 Thread Paul Menzel
Dear Aditya, Am 21.12.20 um 04:30 schrieb Aditya Tayade: Could you please help with this. I think, you testing applying the patch or upgrading to a newer systemd version will give you the quickest results. Upstream systemd only support the last two releases. Kind regards, Paul