Summary: | dev-db/etcd: unable to start etcd without the correct permissions to /var/lib/etcd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Amit Ugol <amit.ugol> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/24140 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 654138 | ||
Bug Blocks: |
Description
Amit Ugol
2020-12-27 18:20:52 UTC
We really need a feature to force overwrite of existing permissions, and this is what bug 654138 is about. If we want to do a chown in pkg_preinst or postinst, then we need to be careful to avoid a root privilege escalation via "chown -R" as in bug 630972. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c88e3fe2e538eb9854d74f1d5f2a46c5e91190 commit f6c88e3fe2e538eb9854d74f1d5f2a46c5e91190 Author: Marcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com> AuthorDate: 2022-02-10 02:11:53 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-02-10 02:25:20 +0000 dev-db/etcd: fix tmpfile permission for /var/lib Closes: https://bugs.gentoo.org/761954 Closes: https://github.com/gentoo/gentoo/pull/24140 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marcos Rodrigues Gonzalez <mrgonzalez1275@gmail.com> Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-db/etcd/files/etcd.tmpfiles.d.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |