Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193875 > unrolled thread

restarting ntp

Started byMichael Grant <mgrant@grant.org>
First post2018-03-17 12:50 +0100
Last post2018-03-18 11:20 +0100
Articles 4 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  restarting ntp Michael Grant <mgrant@grant.org> - 2018-03-17 12:50 +0100
    Re: restarting ntp Liam O'Toole <liam.p.otoole@gmail.com> - 2018-03-17 15:10 +0100
    Re: restarting ntp Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-03-18 03:40 +0100
      Re: restarting ntp Karol Augustin <karol@augustin.pl> - 2018-03-18 11:20 +0100

#193875 — restarting ntp

FromMichael Grant <mgrant@grant.org>
Date2018-03-17 12:50 +0100
Subjectrestarting ntp
Message-ID<vuivv-1IR-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I restarted ntp today and noticed this in the logs:

Mar 17 07:12:41 bottom systemd[1]:
/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
'SuccessAction' in section 'Service'
Mar 17 07:12:42 bottom systemd[1]:
/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
'SuccessAction' in section 'Service'
Mar 17 07:12:43 bottom systemd[1]:
/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
'SuccessAction' in section 'Service'
Mar 17 07:12:44 bottom systemd[1]:
/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
'SuccessAction' in section 'Service'
Mar 17 07:12:44 bottom systemd[1]:
/lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
'SuccessAction' in section 'Service'
Mar 17 07:12:50 bottom systemd[1]: Stopping Network Time Service...

So I looked at this line in the system-update-cleanup.service file:

    SuccessAction=reboot

It's the last line in the file in the [Service] section.  A little research
shows that this line seems to belong in the [Unit] section.

Dare I move it?  Not sure if this is a known bug or if this is just some
rot that's occurred over time on my debian systems.

I don't really know what this file does with respect to stopping ntp but it
would be a bit odd if my system rebooted when I simply restarted ntp!

[toc] | [next] | [standalone]


#193876

FromLiam O'Toole <liam.p.otoole@gmail.com>
Date2018-03-17 15:10 +0100
Message-ID<vukH0-3gl-13@gated-at.bofh.it>
In reply to#193875
On 2018-03-17, Michael Grant <mgrant@grant.org> wrote:
> --f403043615085592a505679a4cd2
> Content-Type: text/plain; charset="UTF-8"
>
> I restarted ntp today and noticed this in the logs:
>
> Mar 17 07:12:41 bottom systemd[1]:
> /lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
> 'SuccessAction' in section 'Service'
> Mar 17 07:12:42 bottom systemd[1]:
> /lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
> 'SuccessAction' in section 'Service'
> Mar 17 07:12:43 bottom systemd[1]:
> /lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
> 'SuccessAction' in section 'Service'
> Mar 17 07:12:44 bottom systemd[1]:
> /lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
> 'SuccessAction' in section 'Service'
> Mar 17 07:12:44 bottom systemd[1]:
> /lib/systemd/system/system-update-cleanup.service:35: Unknown lvalue
> 'SuccessAction' in section 'Service'
> Mar 17 07:12:50 bottom systemd[1]: Stopping Network Time Service...
>
> So I looked at this line in the system-update-cleanup.service file:
>
>     SuccessAction=reboot
>
> It's the last line in the file in the [Service] section.  A little research
> shows that this line seems to belong in the [Unit] section.
>
> Dare I move it?  Not sure if this is a known bug or if this is just some
> rot that's occurred over time on my debian systems.
>
> I don't really know what this file does with respect to stopping ntp but it
> would be a bit odd if my system rebooted when I simply restarted ntp!
>

The file /lib/systemd/system/system-update-cleanup.service is unknown to
the package manager in stretch. What distro and version are you running?

[toc] | [prev] | [next] | [standalone]


#193883

FromJonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM>
Date2018-03-18 03:40 +0100
Message-ID<vuwoN-25f-1@gated-at.bofh.it>
In reply to#193875
Michael Grant:

> It's the last line in the file in the [Service] section.  A little 
> research shows that this line seems to belong in the [Unit] section.
>
The people that you should talk to are Lennart Poettering who wrote 
that, and Zbigniew Jędrzejewski-Szmek who reviewed it.

* 
https://github.com/systemd/systemd/commit/7ddcdb6072745fe96dee4df08f5f874c057069e4

* https://github.com/systemd/systemd/pull/8335

[toc] | [prev] | [next] | [standalone]


#193884

FromKarol Augustin <karol@augustin.pl>
Date2018-03-18 11:20 +0100
Message-ID<vuDzX-6VB-5@gated-at.bofh.it>
In reply to#193883
On 2018-03-18 2:19, Jonathan de Boyne Pollard wrote:
> Michael Grant:
> 
>> It's the last line in the file in the [Service] section.  A little research shows that this line seems to belong in the [Unit] section.
>>
> The people that you should talk to are Lennart Poettering who wrote
> that, and Zbigniew Jędrzejewski-Szmek who reviewed it.
> 
> *
> https://github.com/systemd/systemd/commit/7ddcdb6072745fe96dee4df08f5f874c057069e4
> 
> * https://github.com/systemd/systemd/pull/8335

I have created pull reqest for it:
https://github.com/systemd/systemd/pull/8478

k.


-- 
Karol Augustin
karol@augustin.pl
http://karolaugustin.pl/
+353 85 775 5312

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web