[arch-general] arch-general Digest, Vol 123, Issue 4
Wayne Song
geekwsong at gmail.com
Sat May 9 08:12:53 UTC 2015
unsubscribe
On Sat, Jan 3, 2015 at 2:35 AM, <arch-general-request at archlinux.org> wrote:
> Send arch-general mailing list submissions to
> arch-general at archlinux.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.archlinux.org/listinfo/arch-general
> or, via email, send a message with subject or body 'help' to
> arch-general-request at archlinux.org
>
> You can reach the person managing the list at
> arch-general-owner at archlinux.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of arch-general digest..."
>
>
> Today's Topics:
>
> 1. list of user/group ids supplied by official packages
> (member graysky)
> 2. Re: makepkg as root (Ralf Mardorf)
> 3. Re: makepkg as root (member graysky)
> 4. Re: list of user/group ids supplied by official packages
> (Troy Engel)
> 5. Re: list of user/group ids supplied by official packages
> (Troy Engel)
> 6. Re: list of user/group ids supplied by official packages
> (member graysky)
> 7. Re: list of user/group ids supplied by official packages
> (Troy Engel)
> 8. Re: makepkg as root (Eli Schwartz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 2 Jan 2015 07:50:49 -0500
> From: member graysky <graysky at archlinux.us>
> To: arch-general at archlinux.org
> Subject: [arch-general] list of user/group ids supplied by official
> packages
> Message-ID:
> <
> CAO_nJAboyXF5dhJbvE27F95dC5oqqaWRQy2bhet_iNNmwsv4oQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Is there a list of user/group IDs that official packages from [core]
> [extra] and [community] provide? I wish to insure that the user/group
> id in an AUR package I provide[1] does not conflict a user created by
> an official package. I can grep for 'useradd' in my abs tree and
> parse through the resulting 137 lines but there must be a better way.
> Thanks.
>
> 1. https://aur.archlinux.org/packages/kodi-standalone-service
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 2 Jan 2015 14:09:19 +0100
> From: Ralf Mardorf <ralf.mardorf at rocketmail.com>
> To: arch-general at archlinux.org
> Subject: Re: [arch-general] makepkg as root
> Message-ID: <20150102140919.001b7b0e at archlinux>
> Content-Type: text/plain; charset=US-ASCII
>
> I am/was an '--asroot' user too. Does a feaure request makes sense?
>
> Happy New Year!
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 2 Jan 2015 08:12:51 -0500
> From: member graysky <graysky at archlinux.us>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] makepkg as root
> Message-ID:
> <CAO_nJAY7Y2hiwgKT=6QdH=
> o3dx4X_V0H0sY0-CtavNyn4cACOQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Don't think you'll get it added back officially. See the discussion in
> Allan's blog: http://allanmcrae.com/2014/12/pacman-4-2-released/
>
> On Fri, Jan 2, 2015 at 8:09 AM, Ralf Mardorf
> <ralf.mardorf at rocketmail.com> wrote:
> > I am/was an '--asroot' user too. Does a feaure request makes sense?
> >
> > Happy New Year!
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 2 Jan 2015 08:48:17 -0600
> From: Troy Engel <troyengel+arch at gmail.com>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] list of user/group ids supplied by
> official packages
> Message-ID:
> <
> CAO7q0mnLYfMkYf63hjZrUbADjHj14+PEuD0KNU3avGh6zJNUZQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, Jan 2, 2015 at 6:50 AM, member graysky <graysky at archlinux.us>
> wrote:
> > Is there a list of user/group IDs that official packages from [core]
> > [extra] and [community] provide? I wish to insure that the user/group
> > id in an AUR package I provide[1] does not conflict a user created by
> > an official package. I can grep for 'useradd' in my abs tree and
> > parse through the resulting 137 lines but there must be a better way.
> > Thanks.
>
> There's a wiki-based effort to track them here:
>
> https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
>
> A valiant initiative, I'll survey my system(s) and see if I can
> contribute anything...
>
> -te
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 2 Jan 2015 08:57:01 -0600
> From: Troy Engel <troyengel+arch at gmail.com>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] list of user/group ids supplied by
> official packages
> Message-ID:
> <CAO7q0m=
> QxsO-wBtDxjpkUD6nbF+r7VK2+a3H1ovJf_DTOo1PLw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, Jan 2, 2015 at 8:48 AM, Troy Engel <troyengel+arch at gmail.com>
> wrote:
> >
> > https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
>
> ...and the first one I came across wasn't listed (git), I looked at
> it's .INSTALL file and see it's dynamic:
>
> ====
> post_install() {
> if ! getent group git >/dev/null; then
> groupadd --system git
> fi
> if ! getent passwd git >/dev/null; then
> useradd --system -c 'git daemon user' -g git -d / -s /bin/bash git
> fi
> }
> ====
>
> So there are core/extra/community packages using the system dynamic
> method which is probably what you should do as well, since everyone's
> 'git' UID/GID are most likely different. :( Makes it hard if you need
> to align across a cluster/shared filesystem, though.
>
> -te
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 2 Jan 2015 10:00:29 -0500
> From: member graysky <graysky at archlinux.us>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] list of user/group ids supplied by
> official packages
> Message-ID:
> <CAO_nJAY6xsCDqYnLJt2oSwtcvTAKDxeBycqP-=
> cB+PM3e-E+wg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Thanks for that link and for the info on dynamic UID's.
>
> On Fri, Jan 2, 2015 at 9:57 AM, Troy Engel <troyengel+arch at gmail.com>
> wrote:
> > On Fri, Jan 2, 2015 at 8:48 AM, Troy Engel <troyengel+arch at gmail.com>
> wrote:
> >>
> >> https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
> >
> > ...and the first one I came across wasn't listed (git), I looked at
> > it's .INSTALL file and see it's dynamic:
> >
> > ====
> > post_install() {
> > if ! getent group git >/dev/null; then
> > groupadd --system git
> > fi
> > if ! getent passwd git >/dev/null; then
> > useradd --system -c 'git daemon user' -g git -d / -s /bin/bash git
> > fi
> > }
> > ====
> >
> > So there are core/extra/community packages using the system dynamic
> > method which is probably what you should do as well, since everyone's
> > 'git' UID/GID are most likely different. :( Makes it hard if you need
> > to align across a cluster/shared filesystem, though.
> >
> > -te
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 2 Jan 2015 09:14:07 -0600
> From: Troy Engel <troyengel+arch at gmail.com>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] list of user/group ids supplied by
> official packages
> Message-ID:
> <CAO7q0m=wvB7E=Kmo=ZTu92CsYUfonNm=
> Hncu7+4Afq5qSnPH9A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, Jan 2, 2015 at 9:00 AM, member graysky <graysky at archlinux.us>
> wrote:
> >
> > Thanks for that link and for the info on dynamic UID's.
>
> You're welcome - and I think you've helped uncover a small bug (well,
> enhancement) - I found two new systemd* users with suspiciously high
> UIDs:
>
> systemd-journal-remote:x:998:998:systemd Journal Remote:/:/sbin/nologin
> systemd-journal-upload:x:997:997:systemd Journal Upload:/:/sbin/nologin
>
> I'm pretty sure since package 'filesystem' isn't creating them (just
> checked) that systemd is creating them dynamically at runtime,
> searching through code now to prepare a bug report...
>
> -te
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 2 Jan 2015 13:35:52 -0500
> From: Eli Schwartz <eschwartz93 at gmail.com>
> To: General Discussion about Arch Linux <arch-general at archlinux.org>
> Subject: Re: [arch-general] makepkg as root
> Message-ID:
> <CAAp_6BtPWs+0YZvig+bhcpUsMf+HUshbrXWbH=
> QNu93zcK8V6w at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> '--asroot' was removed with deliberation and forethought.
>
> If anyone can think of a compelling reason the developers have not thought
> of, perhaps you will have luck convincing them. Random feature requests
> saying you want it probably don't qualify... at least explain why you are
> not able to simply run 'makepkg' in another user account.
>
> I do have to wonder, though, why... one is running as root by default???
> Why else would '--asroot' be needed?
>
> -- Eli Schwartz
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> arch-general mailing list
> arch-general at archlinux.org
> https://lists.archlinux.org/listinfo/arch-general
>
> ------------------------------
>
> End of arch-general Digest, Vol 123, Issue 4
> ********************************************
>
More information about the arch-general
mailing list