[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

restarting ntp



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!

Reply to: