Re: [systemd-devel] Any published books on systemd? A cookbook?

2020-08-28 Thread Andrei Borzenkov
28.08.2020 17:47, Tom Browder пишет: > I want to create a service file that has to consider other services. I have What does it mean? > looked at the man pages and probably don't have enough life expectancy to > properly grok them. > If you tell us what you try to achieve, someone may have an

[systemd-devel] Any published books on systemd? A cookbook?

2020-08-28 Thread Tom Browder
I want to create a service file that has to consider other services. I have looked at the man pages and probably don't have enough life expectancy to properly grok them. Can anyone point to a good book or cookbook for systemd? Digital Ocean has the best I've found so far. Most "recipes" seem to

Re: [systemd-devel] Antw: [EXT] Journal message timestamps

2020-08-28 Thread Mark Corbin
On 28/08/2020 08:06, Ulrich Windl wrote: Mark Corbin schrieb am 27.08.2020 um 12:33 in Nachricht : Hello I am working on time synchronisation issues at boot for systems without an RTC (using balenaOS on a Raspberry Pi 3) and have some questions about how journald assigns timestamps to log

[systemd-devel] Antw: [EXT] Re: Journal message timestamps

2020-08-28 Thread Ulrich Windl
>>> Pekka Paalanen schrieb am 28.08.2020 um 09:54 in Nachricht <20200828105459.00eb21eb@eldfell>: > On Thu, 27 Aug 2020 11:33:04 +0100 > Mark Corbin wrote: > >> Hello >> >> I am working on time synchronisation issues at boot for systems without >> an RTC (using balenaOS on a Raspberry Pi 3)

Re: [systemd-devel] Antw: [EXT] Journal message timestamps

2020-08-28 Thread Tomasz Torcz
On Fri, Aug 28, 2020 at 10:48:18AM +0300, Mantas Mikulėnas wrote: > On Fri, Aug 28, 2020, 10:06 Ulrich Windl > wrote: > > > >>> Mark Corbin schrieb am 27.08.2020 um 12:33 in > > Nachricht > > : > > > Hello > > > > > > I am working on time synchronisation issues at boot for systems without > > >

Re: [systemd-devel] Journal message timestamps

2020-08-28 Thread Pekka Paalanen
On Thu, 27 Aug 2020 11:33:04 +0100 Mark Corbin wrote: > Hello > > I am working on time synchronisation issues at boot for systems without > an RTC (using balenaOS on a Raspberry Pi 3) and have some questions > about how journald assigns timestamps to log messages. > > When I boot my system

Re: [systemd-devel] Antw: [EXT] Journal message timestamps

2020-08-28 Thread Mantas Mikulėnas
On Fri, Aug 28, 2020, 10:06 Ulrich Windl wrote: > >>> Mark Corbin schrieb am 27.08.2020 um 12:33 in > Nachricht > : > > Hello > > > > I am working on time synchronisation issues at boot for systems without > > an RTC (using balenaOS on a Raspberry Pi 3) and have some questions > > about how

[systemd-devel] Antw: [EXT] Journal message timestamps

2020-08-28 Thread Ulrich Windl
>>> Mark Corbin schrieb am 27.08.2020 um 12:33 in Nachricht : > Hello > > I am working on time synchronisation issues at boot for systems without > an RTC (using balenaOS on a Raspberry Pi 3) and have some questions > about how journald assigns timestamps to log messages. > > When I boot my

[systemd-devel] Antw: [EXT] A sh -c '${name} and $name' are treated inconsistently within a .service unit

2020-08-28 Thread Ulrich Windl
>>> schrieb am 27.08.2020 um 18:11 in Nachricht : > Consider > > [Unit] > Description=Is it looking for ${} construct in the wrong place? > [Service] > Type=oneshot > ExecStart=/bin/bash ‑c 'set ‑x; declare ‑r str="1 2"; echo ${str}; echo $str; It seems systemd substitutes ${str} before the