Summary: | net-misc/dhcpcd-9.4.0-r1 NTP server hook for net-misc/chrony-4.2 looks for config file in wrong place | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Head <bugs> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christopher Head
2022-03-17 04:51:18 UTC
@Sam: Do you know why we install chrony.conf in /etc/chrony instead of /etc? I looked at the chrony ebuild and didn't see a reason for this. Thanks, William (In reply to William Hubbs from comment #1) This dates back to when the package was added in 2002. https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=27bd7e317f720113cc10b017bb02275370628c7d (In reply to William Hubbs from comment #1) > @Sam: > Do you know why we install chrony.conf in /etc/chrony instead of /etc? > I looked at the chrony ebuild and didn't see a reason for this. > > Thanks, > > William I'm fine with moving it as long as we install a compat symlink. Could you give a patch? It's too awkward to really move out of the directory, so let's instead symlink the /etc/chrony.conf file to inside. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bccc7ae446ae4f100cdd87227a636541769ecde6 commit bccc7ae446ae4f100cdd87227a636541769ecde6 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-18 22:51:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-18 22:51:40 +0000 net-misc/chrony: install chronyd.conf symlink It's easier to just install a symlink from /etc/chronyd.conf -> /etc/chrony/chronyd.conf than move the directory out and cause disruption for users. Needed for alignment with other distros but also because dhcpcd looks there for its ntp hook. Closes: https://bugs.gentoo.org/835461 Signed-off-by: Sam James <sam@gentoo.org> net-misc/chrony/chrony-4.3-r3.ebuild | 264 +++++++++++++++++++++++++++++++++++ net-misc/chrony/chrony-9999.ebuild | 6 +- 2 files changed, 269 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623c01dffa7caefbea2909dbba4c7ed32fd589c3 commit 623c01dffa7caefbea2909dbba4c7ed32fd589c3 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-18 22:52:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-18 22:54:38 +0000 net-misc/chrony: chrony.conf, not chronyd.conf Bug: https://bugs.gentoo.org/835461 Fixes: bccc7ae446ae4f100cdd87227a636541769ecde6 Signed-off-by: Sam James <sam@gentoo.org> net-misc/chrony/{chrony-4.3-r3.ebuild => chrony-4.3-r4.ebuild} | 2 +- net-misc/chrony/chrony-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) |