Re: [systemd-devel] Journal message timestamps

2020-09-08 Thread Dave Howorth
On Tue, 8 Sep 2020 07:18:15 -0400 "Kevin P. Fleming" wrote: > On Tue, Sep 8, 2020 at 7:12 AM Reindl Harald > wrote: > > > your playground is in > > /etc/systemd/system/fake-hwclock.service.d/myoverrides.conf > > > > and yes that is important so that you don#t have to redo your > > changes after

Re: [systemd-devel] Journal message timestamps

2020-09-08 Thread Kevin P. Fleming
On Tue, Sep 8, 2020 at 7:12 AM Reindl Harald wrote: > your playground is in > /etc/systemd/system/fake-hwclock.service.d/myoverrides.conf > > and yes that is important so that you don#t have to redo your changes > after each and every update and way better than cloning the whole > unit-file in /e

Re: [systemd-devel] Journal message timestamps

2020-09-08 Thread Reindl Harald
Am 08.09.20 um 13:06 schrieb Mark Corbin: > Change /lib/systemd/system/fake-hwclock.service to add > 'systemd-journald.service' to the end of the 'Before' line this is *system* area and the admin has no business to touch anything there as well as packages have no business to touch admin area in

Re: [systemd-devel] Journal message timestamps

2020-09-08 Thread Mark Corbin
On 04/09/2020 22:02, Dave Howorth wrote: On Fri, 4 Sep 2020 17:59:02 +0200 Lennart Poettering wrote: On Do, 27.08.20 11:33, Mark Corbin (m...@dibsco.co.uk) wrote: Hello I am working on time synchronisation issues at boot for systems without an RTC (using balenaOS on a Raspberry Pi 3) and

Re: [systemd-devel] Journal message timestamps

2020-09-07 Thread Lennart Poettering
On Mo, 07.09.20 14:12, Mantas Mikulėnas (graw...@gmail.com) wrote: > > To fix that we'd have to keep a separate log of boot ids or so > > somewhere, which we could use as auxiliary source of truth if all we > > have are bootids+monotonic time which came first by comparing boot > > ids. But that wo

Re: [systemd-devel] Journal message timestamps

2020-09-07 Thread Mantas Mikulėnas
On Fri, Sep 4, 2020 at 6:59 PM Lennart Poettering wrote: > On Do, 27.08.20 11:33, Mark Corbin (m...@dibsco.co.uk) 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 > ho

Re: [systemd-devel] Journal message timestamps

2020-09-05 Thread Kevin P. Fleming
I've run into similar issues and resorted to adding battery-backed RTCs to my RPis in order to ensure that the kernel's clock would be set to something 'reasonable' very early in the boot process (although it's still not ideal since the RTC drivers are loaded as modules so the kernel's code for doi

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 22:02, Dave Howorth (syst...@howorth.org.uk) wrote: > > (btw, systemd-timesyncd does what fake-hwclock does automatically, and > > also does SNTP. it should be fine for most usecases, no need to resort > > to fake-hwclock) > > > > Lennart > > This is a serious problem for anybody r

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Dave Howorth
On Fri, 4 Sep 2020 17:59:02 +0200 Lennart Poettering wrote: > On Do, 27.08.20 11:33, Mark Corbin (m...@dibsco.co.uk) 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

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 28.08.20 10:54, Pekka Paalanen (ppaala...@gmail.com) wrote: > 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 > > abou

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Do, 27.08.20 11:33, Mark Corbin (m...@dibsco.co.uk) 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] 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 an

[systemd-devel] Journal message timestamps

2020-08-27 Thread Mark Corbin
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 and look at the journal I see an initial date/time for kernel message