Re: [systemd-devel] logging in RAM and journald configuration issue

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 17:42, Dave Howorth (syst...@howorth.org.uk) wrote: > On 2019-03-20 Lennart Poettering wrote: > > > On Mi, 20.03.19 18:08, Dave Howorth (syst...@howorth.org.uk) wrote: > > > > > > > > At present AFAICT the log2ram.service runs > > > Before=systemd-journald.service and various

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-04-02 Thread Dave Howorth
On 2019-03-20 Lennart Poettering wrote: > On Mi, 20.03.19 18:08, Dave Howorth (syst...@howorth.org.uk) wrote: > > > > > At present AFAICT the log2ram.service runs > > Before=systemd-journald.service and various other services, so I > > think that aspect is covered. > > I am not sure what this

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 18:56, Debraj Manna (subharaj.ma...@gmail.com) wrote: > Thanks again for all the replies. > > I am on Ubuntu 16.04 which is using systemd version 239. It appears to me > that systemd-time-wait-sync.service is not present on this version of > systemd. > > I have one more question

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Debraj Manna
Thanks again for all the replies. I am on Ubuntu 16.04 which is using systemd version 239. It appears to me that systemd-time-wait-sync.service is not present on this version of systemd. I have one more question related to this. If I switch to using systemd's timesyncd.service then in my service

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 14:31, Reindl Harald (h.rei...@thelounge.net) wrote: > >>> can you please stop cure replys instead just post to the list breaking > >>> others threading and reply-list buttons? > >>> > >> > >> Can you please stop yelling and ranting at users every day and instead just > >> post

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 12:53, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > On Tue, Apr 02, 2019 at 12:32:58PM +0200, Lennart Poettering wrote: > > I thought people have noticed by now that systemd is really about > > removing unnecessary shell scripts from all clean system boot > > codepaths. > >

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Reindl Harald
Am 02.04.19 um 12:34 schrieb Lennart Poettering: > On Di, 02.04.19 13:01, Mantas Mikulėnas (graw...@gmail.com) wrote: > >> On Tue, Apr 2, 2019 at 12:33 PM Reindl Harald >> wrote: >> >>> can you please stop cure replys instead just post to the list breaking >>> others threading and reply-list

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Debraj Manna
Thanks again for all the replies. I am on Ubuntu 16.04 which is using systemd version 239. It appears to me that systemd-time-wait-sync.service is not present on this version of systemd. I have one more question related to this. If I switch to using systemd's timesyncd.service then in my service

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Marc Haber
On Tue, Apr 02, 2019 at 12:32:58PM +0200, Lennart Poettering wrote: > I thought people have noticed by now that systemd is really about > removing unnecessary shell scripts from all clean system boot > codepaths. The problem is that millions of professional systems administrators do violently

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 13:01, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Tue, Apr 2, 2019 at 12:33 PM Reindl Harald > wrote: > > > can you please stop cure replys instead just post to the list breaking > > others threading and reply-list buttons? > > > > Can you please stop yelling and ranting at

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 11:58, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > On Tue, Apr 02, 2019 at 10:17:26AM +0200, Lennart Poettering wrote: > > Well packaged NTP servers should have a separate .service unit that > > waits until an NTP sync is reached. For example, systemd's own > >

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Marc Haber
On Tue, Apr 02, 2019 at 10:17:26AM +0200, Lennart Poettering wrote: > Well packaged NTP servers should have a separate .service unit that > waits until an NTP sync is reached. For example, systemd's own > systemd-timesyncd.service comes with a companion > systemd-time-wait-sync.service that does

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Mantas Mikulėnas
On Tue, Apr 2, 2019 at 12:33 PM Reindl Harald wrote: > can you please stop cure replys instead just post to the list breaking > others threading and reply-list buttons? > Can you please stop yelling and ranting at users every day and instead just post something useful? > > Am 02.04.19 um

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 14:47, Debraj Manna (subharaj.ma...@gmail.com) wrote: > Thanks for replying. Below is the service file for ntpd > > support@vrni-platform:/etc/init.d$ sudo systemctl cat ntp.service > # /run/systemd/generator.late/ntp.service > # Automatically generated by systemd-sysv-generator >

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Reindl Harald
can you please stop cure replys instead just post to the list breaking others threading and reply-list buttons? Am 02.04.19 um 11:25 schrieb Debraj Manna: > I do see a ntp-wait . >  Can some one let me know what > corresponding condition I should place in my

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Debraj Manna
I do see a ntp-wait . Can some one let me know what corresponding condition I should place in my service unit file to wait for this? On Tue, Apr 2, 2019 at 2:47 PM Debraj Manna wrote: > Thanks for replying. Below is the service file for ntpd > >

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Debraj Manna
Thanks for replying. Below is the service file for ntpd support@vrni-platform:/etc/init.d$ sudo systemctl cat ntp.service # /run/systemd/generator.late/ntp.service # Automatically generated by systemd-sysv-generator [Unit] Documentation=man:systemd-sysv-generator(8) SourcePath=/etc/init.d/ntp

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 10:05, Reindl Harald (h.rei...@thelounge.net) wrote: > Am 02.04.19 um 09:44 schrieb Debraj Manna: > > > > We have a service that starts at boot. We need to ensure it doesn't > > start until the system clock has been synchronized via ntp. The > > machines are using |ntpd| > >

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Lennart Poettering
On Di, 02.04.19 13:14, Debraj Manna (subharaj.ma...@gmail.com) wrote: > We have a service that starts at boot. We need to ensure it doesn't start > until the system clock has been synchronized via ntp. The machines are > using ntpd. Well packaged NTP servers should have a separate .service unit

Re: [systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Reindl Harald
Am 02.04.19 um 09:44 schrieb Debraj Manna: > > We have a service that starts at boot. We need to ensure it doesn't > start until the system clock has been synchronized via ntp. The > machines are using |ntpd| After=ntpd.service Wants=ntpd.service

[systemd-devel] How to ensure a systemd unit waits for ntpd to sync before starting?

2019-04-02 Thread Debraj Manna
We have a service that starts at boot. We need to ensure it doesn't start until the system clock has been synchronized via ntp. The machines are using ntpd. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org