Re: [systemd-devel] Converting xinetd files

2022-02-10 Thread Paul Menzel
Dear Wol, Am 11.02.22 um 01:57 schrieb Wol: I've found the pid0 blog, and had no real trouble (I think, I haven't tested it yet :-) converting an xinetd setup. Please always provide the URL, if you refer to some resource. But the documentation (man systemd.service) didn't tell me how to

Re: [systemd-devel] Converting xinetd files

2022-02-10 Thread Stephen Hemminger
On Fri, 11 Feb 2022 01:53:32 + Wol wrote: > On 11/02/2022 01:08, Stephen Hemminger wrote: > > On Fri, 11 Feb 2022 00:57:11 + > > Wol wrote: > > > >> I've found the pid0 blog, and had no real trouble (I think, I haven't > >> tested it yet :-) converting an xinetd setup. > >> > >> But

Re: [systemd-devel] Converting xinetd files

2022-02-10 Thread Wol
On 11/02/2022 01:08, Stephen Hemminger wrote: On Fri, 11 Feb 2022 00:57:11 + Wol wrote: I've found the pid0 blog, and had no real trouble (I think, I haven't tested it yet :-) converting an xinetd setup. But the documentation (man systemd.service) didn't tell me how to convert a couple

Re: [systemd-devel] Converting xinetd files

2022-02-10 Thread Stephen Hemminger
On Fri, 11 Feb 2022 00:57:11 + Wol wrote: > I've found the pid0 blog, and had no real trouble (I think, I haven't > tested it yet :-) converting an xinetd setup. > > But the documentation (man systemd.service) didn't tell me how to > convert a couple of settings, namely xinetd had "user="

[systemd-devel] Converting xinetd files

2022-02-10 Thread Wol
I've found the pid0 blog, and had no real trouble (I think, I haven't tested it yet :-) converting an xinetd setup. But the documentation (man systemd.service) didn't tell me how to convert a couple of settings, namely xinetd had "user=" and "group=". Okay, user= was root, so group= probably

[systemd-devel] Antw: Re: Antw: Re: [EXT] Re: Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 10.02.2022 um 14:15 in Nachricht : > On Thu, Feb 10, 2022 at 3:11 PM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> >>> Etienne Champetier schrieb am >> 10.02.2022 um >> 12:47 in Nachricht >> : >> > Le jeu. 10 févr. 2022 à 11:49, Ulrich Windl >>

Re: [systemd-devel] [EXT] Re: Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Mantas Mikulėnas
On Thu, Feb 10, 2022 at 3:08 PM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > >>> Mantas Mikulenas schrieb am 10.02.2022 um 12:30 in > Nachricht > : > > On Thu, Feb 10, 2022 at 12:41 PM Ulrich Windl < > > ulrich.wi...@rz.uni-regensburg.de> wrote: > > > >> >>> Ulrich Windl schrieb am

Re: [systemd-devel] Antw: Re: [EXT] Re: Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Mantas Mikulėnas
On Thu, Feb 10, 2022 at 3:11 PM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > >>> Etienne Champetier schrieb am > 10.02.2022 um > 12:47 in Nachricht > : > > Le jeu. 10 févr. 2022 à 11:49, Ulrich Windl > > a écrit : > >> > >> >>> Lennart Poettering schrieb am 10.02.2022 > um >

[systemd-devel] Antw: Re: [EXT] Re: Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Ulrich Windl
>>> Etienne Champetier schrieb am 10.02.2022 um 12:47 in Nachricht : > Le jeu. 10 févr. 2022 à 11:49, Ulrich Windl > a écrit : >> >> >>> Lennart Poettering schrieb am 10.02.2022 um 11:31 >> in >> Nachricht : >> > On Mi, 09.02.22 22:05, Etienne Champetier (champetier.etie...@gmail.com) >> >

Re: [systemd-devel] Failed to add PIDs to scope's control group: No such process

2022-02-10 Thread Lennart Poettering
On Do, 03.02.22 18:39, Gena Makhomed (g...@csdoc.com) wrote: > Hello, All! > > Periodically I see in /var/log/messages error message about > > Failed to add PIDs to scope's control group: No such process > Failed with result 'resources'. > > How I can resolve or workaround this error? It usually

Re: [systemd-devel] Need a systemd unit example that checks /etc/fstab for modification and sends a text message

2022-02-10 Thread Lennart Poettering
On Di, 08.02.22 17:27, Tony Rodriguez (unixpro1...@gmail.com) wrote: > From my understanding, it is frowned by systemd developers to > "automatically" reload systemd via "systemctl daemon-reload" when /etc/fstab > is modified.  Guessing this is why such functionality hasn't already been >

Re: [systemd-devel] Strange behavior of socket activation units

2022-02-10 Thread Tuukka Pasanen
Hello, Ok thank you for support and I'll figure out. Tuukka Lennart Poettering kirjoitti 10.2.2022 klo 12.50: On Do, 10.02.22 10:09, Tuukka Pasanen (pasanen.tuu...@gmail.com) wrote: Hello, Thank you for your sharp answer. Is there any way to debug what launches these sockets and makes

Re: [systemd-devel] [EXT] Re: Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Etienne Champetier
Le jeu. 10 févr. 2022 à 11:49, Ulrich Windl a écrit : > > >>> Lennart Poettering schrieb am 10.02.2022 um 11:31 > in > Nachricht : > > On Mi, 09.02.22 22:05, Etienne Champetier (champetier.etie...@gmail.com) > > wrote: > > > >> Hello systemd hackers, > >> > >> After flashing the firmware of some

Re: [systemd-devel] Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Etienne Champetier
Le jeu. 10 févr. 2022 à 11:31, Lennart Poettering a écrit : > > On Mi, 09.02.22 22:05, Etienne Champetier (champetier.etie...@gmail.com) > wrote: > > > Hello systemd hackers, > > > > After flashing the firmware of some pcie card I need to power cycle > > the server to finish the flashing

Re: [systemd-devel] [EXT] Re: Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Mantas Mikulėnas
On Thu, Feb 10, 2022 at 12:41 PM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > >>> Ulrich Windl schrieb am 10.02.2022 um 11:16 in Nachricht <6204E61B.426 > : > 161 : > 60728>: > Mantas Mikulenas schrieb am 10.02.2022 um 10:34 > in > > Nachricht > > : > > > On Thu, Feb 10, 2022

Re: [systemd-devel] systemd-journald namespace persistence

2022-02-10 Thread Lennart Poettering
On Mi, 09.02.22 10:18, Roger James (ro...@beardandsandals.co.uk) wrote: > How do I create a persistent systemd-journald namespace? > > I have a backup service that is run by a systemd timer. I would like that to > use it's own namespace. I can create the namespace manually using systemctl > start

Re: [systemd-devel] Strange behavior of socket activation units

2022-02-10 Thread Lennart Poettering
On Do, 10.02.22 10:09, Tuukka Pasanen (pasanen.tuu...@gmail.com) wrote: > Hello, > > Thank you for your sharp answer. Is there any way to debug what launches > these sockets and makes socket activation? these log messages look like they are generated client side. hence figure out where they come

[systemd-devel] Antw: [EXT] Re: Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 10.02.2022 um 11:31 in Nachricht : > On Mi, 09.02.22 22:05, Etienne Champetier (champetier.etie...@gmail.com) > wrote: > >> Hello systemd hackers, >> >> After flashing the firmware of some pcie card I need to power cycle >> the server to finish the flashing

Re: [systemd-devel] mdmon@md127 is stopped early

2022-02-10 Thread Lennart Poettering
On Mi, 09.02.22 17:16, Mariusz Tkaczyk (mariusz.tkac...@linux.intel.com) wrote: > It is probably wrong, but it worked this way for many years: > "Again: if your code is being run from the root file system, then this > logic suggested above is NOT for you. Sorry. Talk to us, we can > probably help

[systemd-devel] Antw: [EXT] Re: Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Ulrich Windl
>>> Ulrich Windl schrieb am 10.02.2022 um 11:16 in Nachricht <6204E61B.426 : 161 : 60728>: Mantas Mikulenas schrieb am 10.02.2022 um 10:34 in > Nachricht > : > > On Thu, Feb 10, 2022 at 11:21 AM Ulrich Windl < > > ulrich.wi...@rz.uni-regensburg.de> wrote: > > > >> Hi! > >> > >> I have a

Re: [systemd-devel] Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts

2022-02-10 Thread Lennart Poettering
On Mi, 09.02.22 22:05, Etienne Champetier (champetier.etie...@gmail.com) wrote: > Hello systemd hackers, > > After flashing the firmware of some pcie card I need to power cycle > the server to finish the flashing process. > For now I have a simple script in lib/systemd/system-shutdown/ running >

[systemd-devel] Antw: [EXT] Re: Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 10.02.2022 um 10:34 in Nachricht : > On Thu, Feb 10, 2022 at 11:21 AM Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> wrote: > >> Hi! >> >> I have a support case for SLES15 SP3 (systemd-246.16-7.33.1.x86_64) where >> smartd is restarted for no obvious reason.

Re: [systemd-devel] systemd.sockets vs xinetd

2022-02-10 Thread Lennart Poettering
On Do, 10.02.22 08:41, Yolo von BNANA (y...@bnana.de) wrote: > Hello, > > i read the following in an LPIC 1 Book: > > " > If you’ve done any investigation into systemd.sockets, you may believe that > it makes super servers like xinetd obsolete. At this point in time, that is > not true. The

Re: [systemd-devel] Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Mantas Mikulėnas
On Thu, Feb 10, 2022 at 11:21 AM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > Hi! > > I have a support case for SLES15 SP3 (systemd-246.16-7.33.1.x86_64) where > smartd is restarted for no obvious reason. Support says everything is fine, > but I disagree. > Specifically

[systemd-devel] Help understanding "notify" (SLES15 SP3 restarting smartd)

2022-02-10 Thread Ulrich Windl
Hi! I have a support case for SLES15 SP3 (systemd-246.16-7.33.1.x86_64) where smartd is restarted for no obvious reason. Support says everything is fine, but I disagree. Specifically smartd.service uses: [Service] Type=notify EnvironmentFile=-/var/lib/smartmontools/smartd_opts

Re: [systemd-devel] systemd.sockets vs xinetd

2022-02-10 Thread Michael Chapman
On Thu, 10 Feb 2022, Yolo von BNANA wrote: > Hello, > > i read the following in an LPIC 1 Book: > > " If you’ve done any investigation into systemd.sockets, you may believe > that it makes super servers like xinetd obsolete. At this point in time, > that is not true. The xinetd super server

Re: [systemd-devel] Strange behavior of socket activation units

2022-02-10 Thread Tuukka Pasanen
Hello, Thank you for your sharp answer. Is there any way to debug what launches these sockets and makes socket activation? Tuukka Lennart Poettering kirjoitti 7.2.2022 klo 14.40: My educated guess is that some script specific to mariadb in debian assumes that you only run templated