Summary: | =sys-apps/portage-2.3.43: synced files owned by root | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robin Bankhead <gentoo> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brunoferreirapinto, candrews, email200202, erkiferenc, fcoiffie, gentoo, jfostiguy, kfm, malocascio, vmatare+gbug |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 941607, 659322 |
Description
Robin Bankhead
2018-07-22 20:25:16 UTC
Hitting this too, it's preventing some packages from being updated easily The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=e356d53ceb10ee24969ee79766f30e5004395f81 commit e356d53ceb10ee24969ee79766f30e5004395f81 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-07-23 19:39:39 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-07-23 19:39:39 +0000 RsyncSync: fix _commit_download usersync privileges (bug 661834) Fix the _commit_download to drop privileges for the rsync call, in order to prevent it from creating files owned by root. Fixes: 84822ef7a214 ("rsync: quarantine data prior to verification (bug 660410)") Bug: https://bugs.gentoo.org/661834 lib/portage/sync/modules/rsync/rsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a11e6079130d61d8d8297215ffea32e2743cbd0 commit 2a11e6079130d61d8d8297215ffea32e2743cbd0 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-07-23 20:02:42 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-07-23 20:09:18 +0000 sys-apps/portage: revbump to 2.3.43-r1 #661834 - synced files owned by root #661906 - git sync continues despite key refresh failure Bug: https://bugs.gentoo.org/661834 Bug: https://bugs.gentoo.org/661906 Package-Manager: Portage-2.3.43, Repoman-2.3.10 .../portage/{portage-2.3.43.ebuild => portage-2.3.43-r1.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) sys-apps/portage-2.3.43-r1 didn't fix the problem. I changed all the files under portage directory to portage:portage ownership. After emerge sync, files owned by root appear again. (In reply to email200202 from comment #4) > sys-apps/portage-2.3.43-r1 didn't fix the problem. > > I changed all the files under portage directory to portage:portage > ownership. After emerge sync, files owned by root appear again. Make sure you have FEATURES="usersync" enabled. If that doesn't help, please check if the problem is suppressed by setting "sync-allow-hardlinks = no" in repos.conf. Also please post emerge --info output. Thanks Zac Medico The portage directory itself was owned by root and I didn't have usersync feature. Now it is working. *** Bug 663746 has been marked as a duplicate of this bug. *** Fixed in portage-2.3.43-r1 and later. |