Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41107 - [ntp] Upgrade overwrote service file
Attached to Project:
Arch Linux
Opened by IMBJR (IMBJR) - Sunday, 06 July 2014, 10:38 GMT
Last edited by Allan McRae (Allan) - Sunday, 06 July 2014, 12:47 GMT
Opened by IMBJR (IMBJR) - Sunday, 06 July 2014, 10:38 GMT
Last edited by Allan McRae (Allan) - Sunday, 06 July 2014, 12:47 GMT
|
DetailsDescription:
Upgrade of ntp package from 4.2.7.p441-1 to 4.2.7.p446-1 caused ntpd.service file to be overwritten, causing custom parameters to ntpd to be lost and re-enabling undesired IPv6 functionality. Additional info: * package version(s) 4.2.7.p446-1 * config and/or log files etc. I've customised /etc/systemd/system/multi-user.target.wants/ntpd.service with the following: ExecStart=/usr/bin/ntpd -g -4 -u ntp:ntp -p /run/ntpd.pid This got overwritten when the package was upgraded. Steps to reproduce: Upgraded the package and ntpd.service was overwritten. No .pacnew file was generated. |
This task depends upon
The proper way is create /etc/systemd/system/ntpd.service and symlink that one.
I've even a custom service set up just as you describe. This bug can be closed.