From: Vieri <rentorbuy@yahoo.com>
To: gentoo-proxy-maint@lists.gentoo.org, Sarah White <kuzetsa@gmail.com>
Subject: Re: [gentoo-proxy-maint] Repoman: Need user access
Date: Wed, 12 Dec 2018 15:04:39 +0000 (UTC) [thread overview]
Message-ID: <1904594251.3314969.1544627080002@mail.yahoo.com> (raw)
In-Reply-To: <31d54c0c-b54b-7530-fd62-d4397845698e@gmail.com>
On Wednesday, December 12, 2018, 2:56:39 PM GMT+1, Sarah White <kuzetsa@gmail.com> wrote:
>
> This is the correct workaround. The problem goes away any time I've
> experienced it by making sure my non-root user is member of the portage
> user group, and verifying permissions on DISTDIR (typically
> /usr/portage/distfiles) - the most I've ever had to do was re-log or
> reboot after checking those settings.
I'll try to add my user to the portage group.
Before doing so, I also tried to run "emerge --sync" as root, but running repoman as the user still yields the same message.
I was kind of hoping not to touch the user's groups especially since it's a pam-winbind authenticated user.
Anyway, as I apparently have no choice I did:
# usermod -a -G portage my_user
# groups my_user
portage domain users
Now I get this:
$ repoman manifest
*** the local copy of metadata.xsd needs to be refetched, doing that now
--2018-12-12 15:54:01-- https://www.gentoo.org/xml-schema/metadata.xsd
[snip]
2018-12-12 15:54:02 (109 MB/s) - '/usr/portage/distfiles/metadata.xsd.c_zl6in2' saved [18186/18186]
>>> Creating Manifest for blabla
I'm not 100% sure, but the file doesn't seem to have changed (at least based on the timestamp).
To sum it all up:
1) is it safe/common practice to add the user to the portage group?
2) can 1) be avoided by running repoman as root just once and only when this type of error shows up?
Thanks,
Vieri
next prev parent reply other threads:[~2018-12-12 15:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1225721988.3156666.1544604161605.ref@mail.yahoo.com>
2018-12-12 8:42 ` [gentoo-proxy-maint] Repoman: Need user access Vieri
2018-12-12 13:32 ` Joonas Niilola
2018-12-12 13:56 ` Sarah White
2018-12-12 15:04 ` Vieri [this message]
2018-12-13 16:04 ` Thomas Deutschmann
2018-12-14 7:36 ` Vieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1904594251.3314969.1544627080002@mail.yahoo.com \
--to=rentorbuy@yahoo.com \
--cc=gentoo-proxy-maint@lists.gentoo.org \
--cc=kuzetsa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox