From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 476F1138334 for ; Fri, 23 Aug 2019 19:41:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3057E07B3; Fri, 23 Aug 2019 19:41:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EBC2E077F for ; Fri, 23 Aug 2019 19:41:00 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 37AEB349AAD for ; Fri, 23 Aug 2019 19:40:59 +0000 (UTC) Subject: Re: [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500 To: gentoo-dev@lists.gentoo.org References: <4014662.zbG8OKGobv@t490> From: Michael Orlitzky Message-ID: Date: Fri, 23 Aug 2019 15:40:54 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <4014662.zbG8OKGobv@t490> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 89722cb2-2a9b-4452-822b-36399059e589 X-Archives-Hash: a245094a372f088fb64319d8c88ea6c0 On 8/23/19 3:27 PM, Alexey 'Alexxy' Shvetsov wrote: > +DESCRIPTION="User for the slurm - Highly Scalable Resource Manager" > +ACCT_USER_ID=500 > +ACCT_USER_HOME=/var/lib/slurm > +ACCT_USER_HOME_PERMS=0770 > +ACCT_USER_GROUPS=( slurm ) If your package uses that directory, I would recommend you not rely on it being created (with special permissions) as a side effect of installing the acct-user package: https://archives.gentoo.org/gentoo-dev/message/fc55ac57cd92d9c1e156d13c882b08cf 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.