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


Groups > linux.debian.user > #193876

Re: restarting ntp

From Liam O'Toole <liam.p.otoole@gmail.com>
Newsgroups linux.debian.user
Subject Re: restarting ntp
Date 2018-03-17 15:10 +0100
Message-ID <vukH0-3gl-13@gated-at.bofh.it> (permalink)
References <vuivv-1IR-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.debian.user | Previous | Next — Previous in thread | 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