Summary: | emerge --sync: rsync: opendir failed: Permission denied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Efros <powerman-asdf> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Efros
2021-11-06 15:12:32 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/ I've noticed there is permission difference, but it's in /usr/portage/.tmp-unverified-download-quarantine. Problem is these directories are created by rsync itself: Before running `emerge --sync`: # ls -al /usr/portage/.tmp-unverified-download-quarantine total 220 drwxrwxr-x 37 portage portage 4096 Nov 7 04:47 . drwxrwxr-x 175 portage portage 4096 Nov 7 04:44 .. drwxr-xr-x 408 portage portage 12288 Nov 7 04:45 acct-user drwxr-xr-x 5 portage portage 4096 Nov 7 04:45 app-antivirus drwxr-xr-x 52 portage portage 4096 Nov 7 04:45 app-backup drwxr-xr-x 218 portage portage 4096 Nov 7 04:45 app-emacs drwxr-xr-x 29 portage portage 4096 Sep 25 08:06 app-forensics drwxr-xr-x 295 portage portage 12288 Nov 7 04:45 app-misc drwxr-xr-x 14 portage portage 4096 Nov 7 04:45 app-mobilephone drwxr-xr-x 194 portage portage 4096 Nov 7 04:45 app-vim drwxr-xr-x 69 portage portage 4096 Nov 7 04:45 dev-cpp drwxr-xr-x 21 portage portage 4096 Nov 7 04:45 dev-lisp drwxr-xr-x 235 portage portage 12288 Nov 7 04:45 dev-php drwxr-xr-x 332 portage portage 20480 Nov 7 04:47 dev-ruby drwxr-xr-x 34 portage portage 4096 Nov 7 04:46 dev-scheme drwxr-xr-x 64 portage portage 4096 Nov 7 04:46 games-board drwxr-xr-x 22 portage portage 4096 Oct 18 12:00 games-engines drwxr-xr-x 32 portage portage 4096 Nov 7 04:46 gnome-base drwxr-xr-x 11 portage portage 4096 Sep 13 08:55 gnustep-base drwxr-xr-x 229 portage portage 12288 Nov 7 04:46 kde-apps drwxr-xr-x 82 portage portage 4096 Nov 7 04:46 kde-frameworks drwxr-xr-x 2 portage portage 20480 Sep 22 16:23 licenses drwxr-xr-x 14 portage portage 4096 Nov 7 04:46 mate-base drwxr-xr-x 24 portage portage 4096 Nov 7 04:46 media-tv drwxr-xr-x 158 portage portage 4096 Nov 7 04:46 media-video drwxr-xr-x 28 portage portage 4096 Nov 7 04:46 net-firewall drwxr-xr-x 10 portage portage 4096 Oct 23 19:34 net-nntp drwxr-xr-x 45 portage portage 4096 Nov 7 04:46 net-p2p drwxr-xr-x 30 portage portage 4096 Nov 7 04:46 perl-core drwxr-xr-x 13 portage portage 4096 Nov 7 04:46 profiles drwxr-xr-x 54 portage portage 4096 Nov 7 04:46 sci-electronics drwxr-xr-x 294 portage portage 12288 Nov 7 04:46 sys-apps drwxr-xr-x 31 portage portage 4096 Nov 7 04:46 sys-power drwxr-xr-x 172 portage portage 4096 Nov 7 04:46 virtual drwxr-xr-x 74 portage portage 4096 Nov 7 04:46 www-apps drwxr-xr-x 8 portage portage 4096 Nov 7 04:46 www-plugins drwxr-xr-x 15 portage portage 4096 Nov 7 04:46 xfce-base # As you see, there is no dev-perl/ at all. While executing `emerge --sync`: # ls -ld /usr/portage/.tmp-unverified-download-quarantine/dev-per l/Date-* drwxr-xr-x 2 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Calc drwxr-xr-x 2 portage portage 4096 Oct 23 19:34 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Extract drwxr-xr-x 3 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-ICal drwxr-xr-x 2 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Leapyear drwxr-xr-x 2 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Manip drwxr-xr-x 3 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Pcalc drwx------ 2 portage portage 4096 Nov 7 02:44 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Range drwxr-xr-x 2 portage portage 4096 Nov 7 04:45 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Date-Simple # ls -ld /usr/portage/.tmp-unverified-download-quarantine/dev-per l/Spreadsheet-* drwxr-xr-x 2 portage portage 4096 Sep 13 08:55 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Spreadsheet-ParseExcel drwxr-xr-x 2 portage portage 4096 Oct 23 19:34 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Spreadsheet-WriteExcel drwx------ 2 portage portage 4096 Nov 7 02:45 /usr/portage/.tmp-unverified-download-quarantine/dev-perl/Spreadsheet-XLSX Still, rsync runs as portage:portage so it should have access to directories with 0700 perms. I've fixed this by replacing /etc/portage/repos.conf/gentoo.conf with version from another server. Broken: [DEFAULT] main-repo = gentoo [gentoo] location = /usr/portage sync-type = rsync sync-uri = rsync://rsync.nl.gentoo.org/gentoo-portage Working: [DEFAULT] main-repo = gentoo [gentoo] location = /usr/portage sync-type = rsync sync-uri = rsync://rsync.gentoo.org/gentoo-portage auto-sync = yes sync-rsync-verify-jobs = 1 sync-rsync-verify-metamanifest = yes sync-rsync-verify-max-age = 24 sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc sync-openpgp-keyserver = hkps://keys.gentoo.org sync-openpgp-key-refresh-retry-count = 40 sync-openpgp-key-refresh-retry-overall-timeout = 1200 sync-openpgp-key-refresh-retry-delay-exp-base = 2 sync-openpgp-key-refresh-retry-delay-max = 60 sync-openpgp-key-refresh-retry-delay-mult = 4 sync-webrsync-verify-signature = yes |