public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500
Date: Fri, 23 Aug 2019 16:00:49 -0400	[thread overview]
Message-ID: <93f9b2e7-a6bb-d189-984a-c3cc59aee88d@gentoo.org> (raw)
In-Reply-To: <1b35b1e13779f36ef0840293917c41069af9e4b9.camel@gentoo.org>

On 8/23/19 3:45 PM, Michał Górny wrote:
>>
>> That used to be acceptable, since the "enewuser" command with the home
>> directory was part of the package that used that directory. But now that
>> the user data are in another package, we can't depend on them reliably.
>>
> 
> ...and why is that, exactly?  Are you assuming that someone will take
> over the dedicated user for another purpose and change its home
> directory?
> 

The fact that the home directory can change is a feature that you
yourself went out of the way to support. We can't rely on the value of
ACCT_USER_HOME in a dependency, and nothing is gained by doing so -- so
why do it? That's one reason.

It also greatly simplifies the guidelines. Have you ever refactored
something and had it just feel right? This just feels right. I think
most developers don't care about these details and would just like to
get the job done. If we can give them a list of a few simple guidelines
to follow, then everyone's happy.

If we put the keepdir/fowners/fperms in the logically-correct place, it
allows us to also say: don't use a home directory owned by another
package (use the default). That in turn prevents acct-user packages from
clobbering the permissions and ownership on stuff that belongs to
somebody else. All pros, no cons.


  reply	other threads:[~2019-08-23 20:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 19:27 [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500 Alexey 'Alexxy' Shvetsov
2019-08-23 19:39 ` Mike Gilbert
2019-08-23 19:48   ` Alexey 'Alexxy' Shvetsov
2019-08-24 12:27     ` Ulrich Mueller
2019-08-23 19:40 ` Michael Orlitzky
2019-08-23 19:45   ` Michał Górny
2019-08-23 20:00     ` Michael Orlitzky [this message]
2019-08-23 19:49   ` Alexey 'Alexxy' Shvetsov
2019-09-06 18:20 ` [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 400/400 Alexey 'Alexxy' Shvetsov

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=93f9b2e7-a6bb-d189-984a-c3cc59aee88d@gentoo.org \
    --to=mjo@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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