Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891397 - dev-db/etcd installs outdated and unused configuration file
Summary: dev-db/etcd installs outdated and unused configuration file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-01-19 15:56 UTC by Azamat H. Hackimov
Modified: 2023-01-20 07:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2023-01-19 15:56:39 UTC
According to documentation (https://etcd.io/docs/v3.4/op-guide/configuration/), etcd uses YAML-formatted file configuration, but ebuild installs own file /etc/etcd/etcd.conf. This file never used by etcd, it useless. Need to update ebuild to use etcd.conf.yml (here example: https://github.com/etcd-io/etcd/blob/release-3.4/etcd.conf.yml.sample).
Comment 1 Larry the Git Cow gentoo-dev 2023-01-20 07:10:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baecf6809f8c5569d74d816b26c997d4f0fc0726

commit baecf6809f8c5569d74d816b26c997d4f0fc0726
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2023-01-19 15:57:57 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2023-01-20 07:10:20 +0000

    dev-db/etcd: fixes to package
    
    Update to EAPI8.
    Update init.d/conf.d files to use correct options and new config file, update
    tmpfiles.d configuration.
    
    Closes: https://bugs.gentoo.org/891397
    Closes: https://bugs.gentoo.org/829695
    Closes: https://bugs.gentoo.org/766015
    Closes: https://github.com/gentoo/gentoo/pull/29172
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 dev-db/etcd/etcd-3.4.16-r1.ebuild      | 79 ++++++++++++++++++++++++++++++++++
 dev-db/etcd/files/etcd.confd-r1        |  1 +
 dev-db/etcd/files/etcd.initd-r1        | 27 ++++++++++++
 dev-db/etcd/files/etcd.service-r1      | 17 ++++++++
 dev-db/etcd/files/etcd.tmpfiles.d.conf |  2 +-
 dev-db/etcd/metadata.xml               |  6 +--
 6 files changed, 127 insertions(+), 5 deletions(-)