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


Groups > linux.debian.user > #193875

restarting ntp

From Michael Grant <mgrant@grant.org>
Newsgroups linux.debian.user
Subject restarting ntp
Date 2018-03-17 12:50 +0100
Message-ID <vuivv-1IR-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[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!

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web