Summary: | sys-apps/portage-2.3.51: write permission on PORTAGE_TMPDIR during sync | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Fabio Rossi <rossi.f> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=683040 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 671498 | ||
Attachments: | emerge-info.gz |
Description
Fabio Rossi
2018-11-24 17:09:47 UTC
Created attachment 556126 [details]
emerge-info.gz
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=8ddc902ba8cb4712a2a8b49f46951c8ec326a678 commit 8ddc902ba8cb4712a2a8b49f46951c8ec326a678 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-01-03 02:48:32 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-01-03 06:21:42 +0000 rsync: use ${PORTAGE_TMPDIR}/portage (bug 671808) Write temporary timestamp files in ${PORTAGE_TMPDIR}/portage, since writing files directly in ${PORTAGE_TMPDIR} is generally unexpected. Also, use the rsync --inplace option, since it's writing to a temp file created in advance and the usersync user does not necessarily have write access to the parent directory. Bug: https://bugs.gentoo.org/671808 Bug: https://bugs.gentoo.org/336503 Fixes: 3f7f72cf339d ("Bug #336503 - Use PORTAGE_TMPDIR for the emerge --sync server timestamp") Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/sync/modules/rsync/rsync.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549e77312735f9f19863daafaef0382ab1a2157f commit 549e77312735f9f19863daafaef0382ab1a2157f Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-01-04 04:01:57 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-01-04 06:03:28 +0000 sys-apps/portage: version bump to 2.3.54 #671808 rsync: fix usersync timestamp file permission issue #673738 fix PORTAGE_TMPDIR=/ edge case #673900 validate unshare calls Bug: https://bugs.gentoo.org/671808 Bug: https://bugs.gentoo.org/673738 Bug: https://bugs.gentoo.org/673900 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-2.3.54.ebuild | 270 +++++++++++++++++++++++++++++++++ 2 files changed, 271 insertions(+) Fixed in portage-2.3.62. |