[systemd-devel] Antw: [EXT] Re: Journald: Re-use /var/log/journal hash entry after system upgrade

2022-03-01 Thread Ulrich Windl
>>> Mantas Mikulenas schrieb am 01.03.2022 um 16:52 in Nachricht : > On Tue, Mar 1, 2022 at 4:39 PM eric.zalu...@vertiv.com < > eric.zalu...@vertiv.com> wrote: > >> [ System Environment ] >> On an embedded x86-64 Linux system, I’m running systemd v241. I have >> Systemd-Journald

Re: [systemd-devel] From dbus notification, how to know service entered failed state and will not start without admin action

2022-03-01 Thread Michal Koutný
Hello. On Sat, Feb 19, 2022 at 09:28:18AM +0530, Prashantkumar dhotre wrote: > I see that in OnFailure behaviour is changed and these units in OnFailure > gets triggerd when service is failed-and-will-not-restart-automatically. >

Re: [systemd-devel] Restarting "onshot" services

2022-03-01 Thread Michal Koutný
Hello. On Thu, Feb 24, 2022 at 03:35:13PM +0100, Ulrich Windl wrote: > Is that intentional? It was, see https://github.com/systemd/systemd/commit/10e72727ee (perhaps some other commits too, this was the first that popped up on me). > (systemd 228 of SLES12 SP5) The commmit above is from

Re: [systemd-devel] Journald: Re-use /var/log/journal hash entry after system upgrade

2022-03-01 Thread Mantas Mikulėnas
On Tue, Mar 1, 2022 at 4:39 PM eric.zalu...@vertiv.com < eric.zalu...@vertiv.com> wrote: > [ System Environment ] > On an embedded x86-64 Linux system, I’m running systemd v241. I have > Systemd-Journald logging set to persistent with SystemMaxUse and > RuntimeMaxUse both set to 512MB.

Re: [systemd-devel] Syntax check for a new service?

2022-03-01 Thread Tom Browder
On Tue, Mar 1, 2022 at 08:06 Mantas Mikulėnas wrote: ... > That actually makes it relatively privileged – it has full access to > *your* files and processes... So unless accessing your data is the > service's explicit purpose (e.g. > ... The app serves html from its base (working) directory and

Re: [systemd-devel] Syntax check for a new service?

2022-03-01 Thread Mantas Mikulėnas
On Tue, Mar 1, 2022 at 2:32 PM Tom Browder wrote: > On Sat, Feb 26, 2022 at 12:06 Mantas Mikulėnas wrote: > ... > >> Use the Environment= option to set environment variables. >> > > Thanks, Mantas. That works great. > > One more question: I'm thinking of making the service have myself as the >

Re: [systemd-devel] Syntax check for a new service?

2022-03-01 Thread Tom Browder
On Sat, Feb 26, 2022 at 12:06 Mantas Mikulėnas wrote: ... > Use the Environment= option to set environment variables. > Thanks, Mantas. That works great. One more question: I'm thinking of making the service have myself as the user (non-privileged). Is that a bad practice since I'm also the