GNU logs - #39023, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: symphonia@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 07 Jan 2020 21:32:02 +0000
Resent-Message-ID: <handler.39023.B.157843270224706 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39023 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.157843270224706
          (code B ref -1); Tue, 07 Jan 2020 21:32:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Jan 2020 21:31:42 +0000
Received: from localhost ([127.0.0.1]:49494 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iowRy-0006QQ-0e
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2020 16:31:42 -0500
Received: from lists.gnu.org ([209.51.188.17]:36477)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <symphonia@HIDDEN>) id 1iowQ4-0006Lt-Nm
 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2020 16:29:45 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:33064)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <symphonia@HIDDEN>) id 1iowQ3-00023h-5c
 for bug-guix@HIDDEN; Tue, 07 Jan 2020 16:29:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <symphonia@HIDDEN>) id 1iowQ0-0006vk-Rm
 for bug-guix@HIDDEN; Tue, 07 Jan 2020 16:29:42 -0500
Received: from knopi.disroot.org ([178.21.23.139]:53684)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <symphonia@HIDDEN>)
 id 1iowQ0-0006t5-92
 for bug-guix@HIDDEN; Tue, 07 Jan 2020 16:29:40 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 7C4B9237F6
 for <bug-guix@HIDDEN>; Tue,  7 Jan 2020 22:29:38 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ntza9bp1kjTE for <bug-guix@HIDDEN>;
 Tue,  7 Jan 2020 22:29:37 +0100 (CET)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578432577; bh=ogl0qtqVbmJnjLQwO3+13exL04DtJHJKpz4TjoAgPtQ=;
 h=Date:From:Subject:To;
 b=Iyw9HvpefuVfOXgwuvJr28REG5DQkxFWTrpegsLj8yaTLuvAYziCYcfKiIGfBd8Zn
 z/uqSeTicSKCCNooj2Jr+r6QclA5jQAtzB7ZospVCt5mmirziHE5ByF8tOCPFESpUw
 yJBeV43kvoQAwaSwrX0osVRfBSQ+EHFPU5VY6CrC3PsyQT1BOQgy9e3W6UiSOgQtKF
 nylfrc8empmIciat+5eeCvfKOieYQ5iZ6zyt8kh00vLEUBvb04EHjvJzmoaIsZM6DR
 6IYzjjnRdHxbMxAfmUmC0rXtrpkPHxevy4eW1ZxHWo63ed5aPsaY+PBWjs1ZGz54Lv
 Ry5nUdfCuyVPQ==
Date: Tue, 07 Jan 2020 21:29:36 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: symphonia@HIDDEN
Message-ID: <4678e0a6a529877fee91a452424115c1@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 178.21.23.139
X-Spam-Score: -1.4 (-)
X-Mailman-Approved-At: Tue, 07 Jan 2020 16:31:40 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

The commands in https://guix.gnu.org/manual/en/guix.html#Build-Environmen=
t-Setup=0Ado not work on busybox-based systems such as Alpine Linux by de=
fault.=0AThis is because they do not have 'groupadd' or 'useradd' by defa=
ult (from 'shadow' package).=0A=0A# groupadd --system guixbuild=0A# for i=
 in `seq -w 1 10`;=0A  do=0A    useradd -g guixbuild -G guixbuild        =
   \=0A            -d /var/empty -s `which nologin`    \=0A            -c=
 "Guix build user $i" --system    \=0A            guixbuilder$i;=0A  done=
=0A=0AI suggest adding another example which works by default on busybox.=
=0AExplanation: -S means 'add system group/user'; -h is 'home directory';=
 -g is 'GECOS field'=0AAlso, Alpine Linux fails to boot if /var/empty is =
not owned by root, so that needs to be fixed afterward as well.=0A=0Aaddg=
roup -S guixbuild=0Afor i in `seq -w 1 10`;=0Ado=0Aadduser -G guixbuild \=
=0A-h /var/empty -s `which nologin` \=0A-g "Guix build user $i" -S \=0Agu=
ixbuilder$i;=0Adone=0Achown root:root /var/empty # /var/empty must be own=
ed by root, fix permission after `adduser` modified it




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: symphonia@HIDDEN
Subject: bug#39023: Acknowledgement (binary installation manual doesn't
 work on Alpine Linux)
Message-ID: <handler.39023.B.157843270224706.ack <at> debbugs.gnu.org>
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
X-Gnu-PR-Message: ack 39023
X-Gnu-PR-Package: guix
Reply-To: 39023 <at> debbugs.gnu.org
Date: Tue, 07 Jan 2020 21:32:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 39023 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
39023: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39023
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 08 Jan 2020 12:35:02 +0000
Resent-Message-ID: <handler.39023.B39023.157848686010946 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: symphonia@HIDDEN
Cc: 39023 <at> debbugs.gnu.org
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157848686010946
          (code B ref 39023); Wed, 08 Jan 2020 12:35:02 +0000
Received: (at 39023) by debbugs.gnu.org; 8 Jan 2020 12:34:20 +0000
Received: from localhost ([127.0.0.1]:49826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ipAXT-0002qU-Oo
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2020 07:34:19 -0500
Received: from mail-ed1-f54.google.com ([209.85.208.54]:42521)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1ipAXS-0002qG-2N
 for 39023 <at> debbugs.gnu.org; Wed, 08 Jan 2020 07:34:18 -0500
Received: by mail-ed1-f54.google.com with SMTP id e10so2398019edv.9
 for <39023 <at> debbugs.gnu.org>; Wed, 08 Jan 2020 04:34:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=c5nVhKIQEaoopHv1yB0lQwr3kN4aEhi9SUeQGRuYg74=;
 b=aMG3ZMfjC4q673Q/5Nos7VZtkjMxi0R7F44Dnnm/CqPB7PpbXtLwZLugynyje1My2h
 /BIk3ioWPun6QBa78FCyLY3uEGoMtz5co+SDClUUPROINuY3N+32b2th63KHlivJHhyl
 FDhRQkR5vHN12xpiROg2MTq//fvcg8ViBnQsgKOVnd/UagPc2oaN/6xD4DuIbH7BMm2D
 oHoDASEYMxALEEpbEuij0OClvPHLGu05K8oFydLRwyMdiL3Oh/GCXyyi9dxMTTfkKOqW
 s6/OFyTaeGBACJoAnXeRvzNwPK0vQEsuiq50EGVYj6VrIX09Wedq/Cq3pwVsxYilb008
 8iHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=c5nVhKIQEaoopHv1yB0lQwr3kN4aEhi9SUeQGRuYg74=;
 b=WQRX12YtMA6vf/Ayar67Q8RMULqMQEmkP1XtGVFKS8k0fxK8167pGpST9ZgqGivbO/
 8dW5HFoTVqqa72wVtHI6da02lnBEIaMOBSigBWQw60V1pDQOVlF8pTKKoTninvkNWqDC
 0ETYGQ53iPsszCkzuJs47zCwP2f9567eYUaS/VgJw6no+2/l3Ec5u2DWXoR5qB/ce1p/
 Wvku47kVeya1UzFjDalkyjB695Jcl0OwmnLHfEj0y3UnHfHcDqAXGa9WzFxn4PItJH7p
 YZZ3jAwhN2omWx5NfVUQ244Daet8XOpLbmkAprBQI8tbMcqjN+yJcIYftI2NhhBxDiFs
 77lQ==
X-Gm-Message-State: APjAAAXMspJCGNsLA9ISB5J0ZLV/0hI3KHCuWROKthLZT8DIRPotozO0
 e1tcBn4p4cokiE+WT+mRV+U/y+z+rQa1AF8hcg==
X-Google-Smtp-Source: APXvYqwlbwc0/cHWlZafwtw3dKERxDIUCUFPbQv+GX1Qx8uvfA8BgLLfqRJuzsq71puOfAXA+YBljV9THmASRG1hbpw=
X-Received: by 2002:a17:906:2894:: with SMTP id
 o20mr4639639ejd.199.1578486852008; 
 Wed, 08 Jan 2020 04:34:12 -0800 (PST)
MIME-Version: 1.0
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
In-Reply-To: <4678e0a6a529877fee91a452424115c1@HIDDEN>
From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Date: Wed, 8 Jan 2020 13:34:00 +0100
Message-ID: <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

<symphonia@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. jan. 7., K, 22:3=
2):
>
> The commands in https://guix.gnu.org/manual/en/guix.html#Build-Environmen=
t-Setup
> do not work on busybox-based systems such as Alpine Linux by default.
> This is because they do not have 'groupadd' or 'useradd' by default (from=
 'shadow' package).
>
> # groupadd --system guixbuild
> # for i in `seq -w 1 10`;
>   do
>     useradd -g guixbuild -G guixbuild           \
>             -d /var/empty -s `which nologin`    \
>             -c "Guix build user $i" --system    \
>             guixbuilder$i;
>   done
>
> I suggest adding another example which works by default on busybox.
> Explanation: -S means 'add system group/user'; -h is 'home directory'; -g=
 is 'GECOS field'
> Also, Alpine Linux fails to boot if /var/empty is not owned by root, so t=
hat needs to be fixed afterward as well.
>
> addgroup -S guixbuild
> for i in `seq -w 1 10`;
> do
> adduser -G guixbuild \
> -h /var/empty -s `which nologin` \
> -g "Guix build user $i" -S \
> guixbuilder$i;
> done
> chown root:root /var/empty # /var/empty must be owned by root, fix permis=
sion after `adduser` modified it
>
>
>
I assume that the command you gave would work on non-busybox also. I
would say we should replace the
command we have with this more compatible one.

I would wait for a few more responses, though.

If that sounds good to you could you create a patch to that effect?

Best regards,
g_bor
--=20
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: adduser/addgroup vs useradd/groupadd
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
In-Reply-To: <4678e0a6a529877fee91a452424115c1@HIDDEN>
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 01:45:02 +0000
Resent-Message-ID: <handler.39023.B39023.157965748318140 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39023 <at> debbugs.gnu.org, =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Cc: symphonia@HIDDEN
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157965748318140
          (code B ref 39023); Wed, 22 Jan 2020 01:45:02 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 01:44:43 +0000
Received: from localhost ([127.0.0.1]:48809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iu54U-0004iW-Tk
	for submit <at> debbugs.gnu.org; Tue, 21 Jan 2020 20:44:43 -0500
Received: from mail-qv1-f46.google.com ([209.85.219.46]:44042)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iu54T-0004iJ-D3
 for 39023 <at> debbugs.gnu.org; Tue, 21 Jan 2020 20:44:41 -0500
Received: by mail-qv1-f46.google.com with SMTP id n8so2484518qvg.11
 for <39023 <at> debbugs.gnu.org>; Tue, 21 Jan 2020 17:44:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to:cc;
 bh=ojyooHVAxPyQcQhYLT1Sua1QSLMywoYEjFlHTeE8bcA=;
 b=gIUwbEtrb44rqf6pDDb2e5xTn/ASSSbMIVE0MwDWmsJ0vgYn7MyggwhUx99o8/PxvK
 WG1q7nuHV8SkZhi+M2pzwwk9dShkGy5IoUHt45pvFhx1xCTnXhgbWKY7FBvurm6VoHKp
 3gYgeHd/kNTs4R8HY4RYrR0aF4b5496zttnvymzJ7hWmnP3kfNiBwrE1SyfQp+gMvaYC
 8RzNhJCLXcWV5+r3G+9cRrNJF30ZEGaxSxSGvEOsZ0snGgSkY2vM8MKaZ1+5SZFO3dtZ
 SVWVvFh0hoxlOXZ4lVbTxDxMuUSnC/WWVhua8VWq6ARZ5RnQX0M3mdMm+1PqpGNfZuS3
 WBKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=ojyooHVAxPyQcQhYLT1Sua1QSLMywoYEjFlHTeE8bcA=;
 b=mafcL+GSRajnxAu7Mh5j8W7iND7Da9klyB+vAfh8had78goQVgrjzrVGWxAaiPgaDt
 LWBzlOUnAdfhxJzY31mzliEC3b0OI7DX/ay5U9zLEc4ClwKeBT1t6i0zm20384bScj6s
 WB1pJlRwmyiSZVvJ/Up/NW9IaXb8Rs997bBFE2wVRElyd0ougDk/276AYDSkaSfHSNDz
 yXRTzgfiHF5NaF6ZEAYUpUCfepBDvXx8S3t+9W5U2bQk0q5qI2RTphkSEBAeM/jJlKMq
 80CuhM8XquQby+gOWGTnqR7yUcVBzzTA1AZoCFEdivhUbPHB1Q/ycYrjc4vKPLDin7pS
 natw==
X-Gm-Message-State: APjAAAWBGac53W4tQ+3rFpcRYVA35GpeKgn0Lfv9IcZkEc1zujcpZCxF
 +lYpCl8ByJUrzPPSkvJXicKCcgbNA/7SIxEDgIMB4TYl
X-Google-Smtp-Source: APXvYqxM5VPUKMh4FlURpvxOg58nzO8x14ZG0Hm4n6kj4m1vXlP1A7YhEZk0W9BFPO6Vhjv5qTbzyiFRlyie89clzbE=
X-Received: by 2002:ad4:46ce:: with SMTP id g14mr8104241qvw.67.1579657475618; 
 Tue, 21 Jan 2020 17:44:35 -0800 (PST)
MIME-Version: 1.0
From: zimoun <zimon.toutoune@HIDDEN>
Date: Wed, 22 Jan 2020 02:44:24 +0100
Message-ID: <CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Dear,

The bug [1] reports that useradd/groupadd are not provided on BusyBox.
And for example, they had this discussion [2].

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39023
[2] http://lists.busybox.net/pipermail/busybox/2016-February/083907.html


For example, on Debian, adduser is a Perl script calling useradd under the hood.

And the current Guix manual says:

<<
On a GNU/Linux system, a build user pool may be created like this
(using Bash syntax and the shadow commands):
>>

where the parenthesis should be understood as: "adapt to your distribution".


Two options:

 a/ explicitly notice in the parenthesis that the chunk needs to be
adapted; mentioning adduser/addgroup instead of useradd/groupadd for
example.

 b/ replace useradd/groupadd by adduser/addgroup using the
corresponding options.

The option b/ means that 'adduser/addgroup' is more portable (more
chance to work on everywhere GNU/linux). I am not convinced.

Personally, I am in favor for option a/.


What do the *NIX gurus think?

All the best,
simon




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: Tobias Geerinckx-Rice <me@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 03:54:01 +0000
Resent-Message-ID: <handler.39023.B39023.157966521030389 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39023 <at> debbugs.gnu.org
Cc: symphonia@HIDDEN, =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157966521030389
          (code B ref 39023); Wed, 22 Jan 2020 03:54:01 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 03:53:30 +0000
Received: from localhost ([127.0.0.1]:48844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iu758-0007u5-Cq
	for submit <at> debbugs.gnu.org; Tue, 21 Jan 2020 22:53:30 -0500
Received: from tobias.gr ([80.241.217.52]:57670)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1iu756-0007tv-01
 for 39023 <at> debbugs.gnu.org; Tue, 21 Jan 2020 22:53:28 -0500
Received: by tobias.gr (OpenSMTPD) with ESMTP id 42287acc;
 Wed, 22 Jan 2020 03:53:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc
 :subject:references:in-reply-to:date:message-id:mime-version
 :content-type; s=2018; i=me@HIDDEN; bh=Z+FzJkp+wKa/iFWZoFg5ea
 yVr4j2fvtZGvMIqUTwwi4=; b=PRa3BABy4/veDaNlo+VFH9y38rwe0FjUDP6dQ9
 vMXbwiBlUm1wDFD9xPoB9LR64nQVSBEWcthkZGfliXaKidHWqo3Q6zv5sZcqfThu
 Y/NUxGg5rY6NDGnhEaR4fpm0HJu1YGfVjswy3zctGYQjDe2kgEGvTOBbDUg8TBHM
 LuE7Lrd7jbnfQDwDbNRr73eVmxjsz0OlgUuY7lUSFKDaT7GokjJY/7gFx8YlyRc2
 /cHBOvmWZ/TEpYcN7auapo2bRpANL9AJRXAJkhrRMoMz8Vrf2jj9Cf+AxQ7lSFfY
 3UXiP6aYl+2sJcdYZo4jFFIai7BncC4dG3i2FwMcYeePooMA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f54a0976
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 22 Jan 2020 03:53:25 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
In-reply-to: <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
Date: Wed, 22 Jan 2020 04:53:26 +0100
Message-ID: <87ftg89mfd.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

G=C3=A1bor,

G=C3=A1bor Boskovits =E5=86=99=E9=81=93=EF=BC=9A
> <symphonia@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. jan. 7., K,=20
> 22:32):
>> I suggest adding another example which works by default on=20
>> busybox.

[=E2=80=A6]

>> addgroup -S guixbuild

[=E2=80=A6]

> I assume that the command you gave would work on non-busybox=20
> also. I
> would say we should replace the
> command we have with this more compatible one.

It doesn't even work on Guix:

  nckx@berlin ~$ adduser
  -bash: adduser: command not found

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4nxzYACgkQ2Imw8BjF
STwpRxAAkhZn1gJNBx4jl2ecjj/VoFx1Jc/Kq+wqJMGsvQ2p303jZe0a/WQLv9IH
Bl63wptq5rL92RHSmV3Qzr60jeM9Q7Kfe3FlASnh2Sl1TZDtVK8W/G5K6ojeKlXK
3jqYjSq1H8zZteTJoqZWSH2Q837Elf8nwOi7DJy2xXBGjo0fyC1rLVALpVHk05ms
qUWWgDByVkHrA2yMh5JlskDgybilIWzk8TYn2ngoIU88Kleu+udwvzeF+TijdVAX
6i0jxAT0ptu/Y1m2Ze5jUlJgYUjbCw/vPw2nh1yLui3OUt7yyFyk6jCEvpvP4jjS
8GYpV3oaIHFelC8D7Xr0PARJXuU0x0HbIKVyWT5/6jQn8oSCJB7feVe6PVwdowyH
bY0F2UrwJfrya8Y8/QbI6iH2MolvUxpOWxmhbfG3QcD9y6Q6OCPlbG+mGjGHM4vL
DEGtnFOSsQnhyeW8F4lN2ZAhaVWLAm7HIpsAiB+ZvNJVxrrorrbUGAK3R/QZD+bb
9e40xdSE/ylqskpsaCiCLFNeqKYCyVu6jTTQOKOohtHgmbrZyrD+GLoFN5kb2oBl
pZgtm56zUmUJ+qKYED6CyvfDUNcZqrxSxUSRF5BbJsVjQBe5J15FbOzmMZ76Jmbv
2C6OJn4HC4cEUPftopxovdArnHhiNLsTKpUd0e0l0kUNPuRaICs=
=2i74
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: adduser/addgroup vs useradd/groupadd
Resent-From: Tobias Geerinckx-Rice <me@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 04:04:01 +0000
Resent-Message-ID: <handler.39023.B39023.157966581031528 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39023 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune@HIDDEN>
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157966581031528
          (code B ref 39023); Wed, 22 Jan 2020 04:04:01 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 04:03:30 +0000
Received: from localhost ([127.0.0.1]:48852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iu7En-0008CS-Jg
	for submit <at> debbugs.gnu.org; Tue, 21 Jan 2020 23:03:29 -0500
Received: from tobias.gr ([80.241.217.52]:57936)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1iu7El-0008CG-Id
 for 39023 <at> debbugs.gnu.org; Tue, 21 Jan 2020 23:03:27 -0500
Received: by tobias.gr (OpenSMTPD) with ESMTP id 77c00904;
 Wed, 22 Jan 2020 04:03:26 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc
 :subject:references:in-reply-to:date:message-id:mime-version
 :content-type; s=2018; i=me@HIDDEN; bh=wz1A3w8SgaEkOUoBkx7u2K
 9w66spCU72MhkNGGpDwjs=; b=QeAm87GvE63KdZ7/3oZdVAIQLOk74BH/jvg9Ae
 dS1g0PRh/FoyrfwaGLL8vpg6+3wOqn/WGAOnSXiQFkIwZb5qNmg9WTGBOvpMOVpq
 queAWlo9edPxOUHhg5swsPdjcx/QEg7paygus9uzY86mQ81/PjBvRRPKwfdFa93H
 xftD3nMKnGhOt3OubyNZkfXNJ/lzrriY14SjPxAoDrNpi3D7BBHUigjdTNRZNgmX
 cQ1SkOu1TGbBPF0+OxAkbOGAT8ck4THweHwomC+Hnvp0wUlYJJP5iicTQylPprXO
 yfRmJJi3TTK6k/Nd/kgzmHqMLYsMQyRO4Sm2LyXZWHw36SiQ==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id bf9b9e8b
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 22 Jan 2020 04:03:26 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@HIDDEN>
In-reply-to: <CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@HIDDEN>
Date: Wed, 22 Jan 2020 05:03:27 +0100
Message-ID: <87eevs9lyo.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hullo Simon,

zimoun =E5=86=99=E9=81=93=EF=BC=9A
> options:
>
>  a/ explicitly notice in the parenthesis that the chunk needs to=20
>  be
> adapted; mentioning adduser/addgroup instead of useradd/groupadd=20
> for
> example.

There's also:

  c/ do nothing, or

  d/ include the complete code snippet provided by symphonia, but=20
  as an =E2=80=98out-of-band=E2=80=99 footnote to avoid confusion/blind=20
  copy-pasting/distracting the majority of (GNU) users with=20
  irrelevant variants.

With a/, the user won't know which options to change, or how.=20
They might not understand our =E2=80=98useradd=E2=80=99 syntax, and won't h=
ave its=20
man page installed.

As implied by my reply to G=C3=A1bor, b/ isn't an option so I've=20
snipped it.

I strongly prefer option d/.

> What do the *NIX gurus think?

GNU's not *NIX! :o)  (Nor is it POSIX.)

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4nyY8ACgkQ2Imw8BjF
STyt4A/+IbYUfMY8VfbIgMr6+T7qghGhBBkhX20Unv+OiuEwVCPhnvTb+hGrlZ82
BcNr5BzS2eC20dKCG7onuReJbxrhbeZ2wl5h5D4IqghGxARQpGh89+yjzJK6PHKC
gbbfvnf3ERtgX148YaWggTytZME3csteUMmfOlchZNsvmZV7HEL1K3Y5L6HAAhAA
JjzLvcPkxX5dN+MIYFPyYLIYZYkpGN5qqfmaUAHIQn1kFljioiw90nP2D3JNnnWS
q55giWib29+p4eXVV1QjDKRfslQXKV55IXIu8Cj1h84seqOXQpE4CMKs/BUDhzBl
uIjjGDCFrzeOp8fDCuw0T7USLTodZEGJ5Y1Hj40RFGI8eQMDG3jt09A+DEn26jUX
nyAMkwEm6gPL1EAJ933zK7Elc+K8bhEm9cNjk9cl1JMHwx11vMIg4YHN3EqGF+wA
KCSxWCx3zjWC4F8gn0F2Q4JZthfrzBT0TrfkCnyQQh1h7WfPYUZ2Faz0/RhFaNgC
gJw5DTgBPd7FEDkEhP593QBA0O+zEDj7Aye1hly52OLyHy6yJ4i1NJB/f5iBVdq5
eHMaKcJmvZwds4ThNCvuTm9i2OjT8QzQQm3n2pbHPJilHCbIqQq3mCu0AVwt//6R
297xHg6KnJFIKlndeyoB9IqeyyKR5eTP4Mfd2aLlXT+wNCG9KOE=
=B8VG
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: adduser/addgroup vs useradd/groupadd
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 08:32:02 +0000
Resent-Message-ID: <handler.39023.B39023.1579681890688 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tobias Geerinckx-Rice <me@HIDDEN>
Cc: 39023 <at> debbugs.gnu.org
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.1579681890688
          (code B ref 39023); Wed, 22 Jan 2020 08:32:02 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 08:31:30 +0000
Received: from localhost ([127.0.0.1]:48949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iuBQA-0000B2-Bb
	for submit <at> debbugs.gnu.org; Wed, 22 Jan 2020 03:31:30 -0500
Received: from mail-qv1-f54.google.com ([209.85.219.54]:39094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iuBQ7-0000Ao-RO
 for 39023 <at> debbugs.gnu.org; Wed, 22 Jan 2020 03:31:28 -0500
Received: by mail-qv1-f54.google.com with SMTP id y8so2837838qvk.6
 for <39023 <at> debbugs.gnu.org>; Wed, 22 Jan 2020 00:31:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=kQUOr+5A3BVXXoPfW9j2wNU9ZlPudDKW9To6VGRvqoE=;
 b=OcMKkRyxa/pINVpzNri1a8cgyqtOg4AR9viUdEsnmdykP/18HGl4etNrhqbJt4bqaf
 qiEu/urDayiTWfXULEqsZwtKc/iN2z8haE+KiOw5wHOK75SKPGjVxa2XOBdu/BhOuRnJ
 GCBgKX5Pb9crCByP9wtuS59fNBY58uc9zLUwvxLlcxpt1vOXlSVIw3aC2FV7CR6gdcYQ
 3uS8Gu26zMxBMxHx2W9hjcChu2rrEbysjxkKigthB3pIWbSqvkMIXj7BgTTfRZMwRf66
 Q+DoaDMSc2fTVzFr9ltG/kDma4ZhzzHaErB+6uqIYt7Qxi5WPNXescbkCvKiOucj8wsg
 I57g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=kQUOr+5A3BVXXoPfW9j2wNU9ZlPudDKW9To6VGRvqoE=;
 b=VHTq0qsjE9ILNZPozN8tgdzmUqVTo1XUeTHOa7ZhCgWOrS+dar180iqU3c3CYKkU8B
 ToV5EbCuNWhhAEDNhl/fT8oA8xYWVGhPVz1GbHYOsw/VS5k0SiXD1DgOW0bAf0RUPiot
 nS7CnoZ+wAEJw3Q9pycXhRjI7TXvkFdzgYlTc6S9KOGuVbaQ2XQOWptuTT0ippWdcmqj
 WdzmFXltMkQrOh58M+JZYkAviPu3XEiwcF2aUrhS+Z6WARwf9OoK1hONLmwM0dP915i2
 MmRjub/XLJyaD6vpyNTnT6qSY09UJk9PSLbJejqeuo8jnSydZmuusM34ObVzWyE8AUTP
 qIKA==
X-Gm-Message-State: APjAAAVtQUGu1d02AlFfOvmd7M6Vnz+SXnwRWjhlQbjzju5JveToEaX3
 /V2SROy+4dAmHtMElyqP5/JuW2HL26xZHWRa1SsiLY7G
X-Google-Smtp-Source: APXvYqy7TX8aFiVGzZu5Amtxmw2mrakT1qBv7ocs+mwtz/WueVSYJlhvIB6vCRBMm7Lk3S5ykwhptUqPdFkJmpEz5gA=
X-Received: by 2002:a0c:ca06:: with SMTP id c6mr9277562qvk.74.1579681882266;
 Wed, 22 Jan 2020 00:31:22 -0800 (PST)
MIME-Version: 1.0
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAJ3okZ0NKRzzisinoyPYUkAYcA0jYtzJekqjgKrHkWEYAn1VAA@HIDDEN>
 <87eevs9lyo.fsf@nckx>
In-Reply-To: <87eevs9lyo.fsf@nckx>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Wed, 22 Jan 2020 09:31:09 +0100
Message-ID: <CAJ3okZ0+8dJmTX5crHuhAG_bvEP8rNUNHxMdq0M4GF3vVXdZAQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Tobias,

On Wed, 22 Jan 2020 at 05:03, Tobias Geerinckx-Rice <me@HIDDEN> wrote:
> zimoun =E5=86=99=E9=81=93=EF=BC=9A

> >  a/ explicitly notice in the parenthesis that the chunk needs to
> >  be
> > adapted; mentioning adduser/addgroup instead of useradd/groupadd
> > for
> > example.
>
> There's also:
>
>   c/ do nothing, or

It is not fair, IMHO. :-)


>   d/ include the complete code snippet provided by symphonia, but
>   as an =E2=80=98out-of-band=E2=80=99 footnote to avoid confusion/blind
>   copy-pasting/distracting the majority of (GNU) users with
>   irrelevant variants.

Well, mixing the option a/ and b/. :-)
 - telling explicitly
 - providing copy/paste-able variant snippet
Yes, it is a better option.


> With a/, the user won't know which options to change, or how.
> They might not understand our =E2=80=98useradd=E2=80=99 syntax, and won't=
 have its
> man page installed.

Yes, and they would not know neither if their foreign distro comes
with exotic 'adduser/addgroup'.


> As implied by my reply to G=C3=A1bor, b/ isn't an option so I've
> snipped it.

Yes, it is my assumption --based on my small experience-- that
'adduser/addgroup' is less portable than 'useradd/groupadd'.


> I strongly prefer option d/.

Let go to this one. :-)

Hum? let see I am able to include the complete code snippet as an
footnote using Texinfo...
(Maybe someone will beat me. :-)


> > What do the *NIX gurus think?
>
> GNU's not *NIX! :o)  (Nor is it POSIX.)

H=C3=A9h=C3=A9! Schr=C3=B6dinger's distro: by installing Guix on your forei=
gn *NIX
distro, the user will have in the same time "not *NIX" and *NIX. ;-)

(Even if *NIX needs to run linux which mitigate the joke. :-))




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 19:43:02 +0000
Resent-Message-ID: <handler.39023.B39023.157972214223198 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tobias Geerinckx-Rice <me@HIDDEN>
Cc: symphonia@HIDDEN, 39023 <at> debbugs.gnu.org
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157972214223198
          (code B ref 39023); Wed, 22 Jan 2020 19:43:02 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 19:42:22 +0000
Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iuLtO-000626-D1
	for submit <at> debbugs.gnu.org; Wed, 22 Jan 2020 14:42:22 -0500
Received: from mail-ed1-f53.google.com ([209.85.208.53]:33559)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1iuLtM-00061r-Vp
 for 39023 <at> debbugs.gnu.org; Wed, 22 Jan 2020 14:42:21 -0500
Received: by mail-ed1-f53.google.com with SMTP id r21so843050edq.0
 for <39023 <at> debbugs.gnu.org>; Wed, 22 Jan 2020 11:42:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=IpIq16k1O8s+d94c7DlzKdBTNdUpxFseZdyKkX4GtYU=;
 b=c1sVVGOrTjE4sTnIclfClvMNIbLYWwT0faN1GYaPtu/MQp/vdJiXTuMFducJU2oH4R
 hnLHtETPpZKqlpti07CRItT6a7S4sM37fIr5myaiUXLmFpl351zvI69Gl6+e33gb7u6G
 JgYCL46X9crjt8PSZS9ZdxCs7E2Zkdza4JrTe797UgKQBqd9uL+3wmWIwriwuXUUFmRg
 U6BvhPKwinsA7+djPpklnQoAWMc+NtolZAcKQOomx420LZ4p6DJqc8qDR73sk/GiIm4V
 7nXCd81Awp8+QiUcdyPITehwFD8s7rTdeBpZU8C6Z8Krbbfs8+I5hmR5CS2JauTdVla0
 tOHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=IpIq16k1O8s+d94c7DlzKdBTNdUpxFseZdyKkX4GtYU=;
 b=dT5BH4620Fob7jKF4Cg1zdnr04yntnesXQ2yfyUKA3pv4F+XGhj8OuY98CEDtRhLn4
 m6RtNJDlWDFei49F+2qcm3UuMfj3QL/oiaJFayTd22OcQQAHGcbBApwUdSXfaDSzDUmH
 nVoIMpSGvdMBFe4X+8DBh+KM1eOy0ZE56x9j6uPGMlsXgf6zNHb8hsH+h+QrA2CeliMZ
 3iGFGShuTuAe06zreXkj+R4jr1Jgwzm1TpzQpJ8t/L2lC1/ZUbn+KNQvuSztaFWH4vcT
 uUDvnR0ap3q2+p/+6pgwH4qzI4jdsRoBucQwtQ/cq10ycDlnjGSt+2JbUnkbspoUpvzJ
 BKRQ==
X-Gm-Message-State: APjAAAX7ZCUyVjmkyG5oSslYFKGwtd2Ytr/1qSLEZ/7/PqDaDKAFVHu4
 I4mLcLF/CDVmLohS2RXHpQKskh35qTSfXLDMvQ==
X-Google-Smtp-Source: APXvYqwp/u4DpeP8dL5pUFXy665w6OqxYUQ5P4Nuaf+HxBfuUbpHy1OnwY1JV9dnaoyOUNLcJduABZJE3NHSJ8pJh2k=
X-Received: by 2002:aa7:d3d0:: with SMTP id o16mr4274034edr.102.1579722135008; 
 Wed, 22 Jan 2020 11:42:15 -0800 (PST)
MIME-Version: 1.0
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
 <87ftg89mfd.fsf@nckx>
In-Reply-To: <87ftg89mfd.fsf@nckx>
From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Date: Wed, 22 Jan 2020 20:42:03 +0100
Message-ID: <CAE4v=phKi5WqOPu1zKvMp3fC+PKhscsdXoEm9NRY=29+_-X9Jg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Oops, I missed that.

Tobias Geerinckx-Rice <me@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. jan=
.
22., Sze, 4:53):
>
> G=C3=A1bor,
>
> G=C3=A1bor Boskovits =E5=86=99=E9=81=93=EF=BC=9A
> > <symphonia@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. jan. 7., K,
> > 22:32):
> >> I suggest adding another example which works by default on
> >> busybox.
>
> [=E2=80=A6]
>
> >> addgroup -S guixbuild
>
> [=E2=80=A6]
>
> > I assume that the command you gave would work on non-busybox
> > also. I
> > would say we should replace the
> > command we have with this more compatible one.
>
> It doesn't even work on Guix:
>
>   nckx@berlin ~$ adduser
>   -bash: adduser: command not found
>
> Kind regards,
>

I believe these can be implemented using simple manipulation of config file=
s.
Also useradd is part of the linux standard base, while adduser is not.

We could add the busybox example, but it might be better to come up
with something
universal.

There was some upstream discussion to get useradd and groupadd to
busybox upstream,
as this seems to be causing problems everywhere. They told that they
are unwilling to include them as is,
but would accept a wrapper thar forward to their adduser/addgroup
implementation.

> T G-R


Best regards,
g_bor
--=20
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: Tobias Geerinckx-Rice <me@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 19:59:02 +0000
Resent-Message-ID: <handler.39023.B39023.157972313924762 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Cc: symphonia@HIDDEN, 39023 <at> debbugs.gnu.org
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157972313924762
          (code B ref 39023); Wed, 22 Jan 2020 19:59:02 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 19:58:59 +0000
Received: from localhost ([127.0.0.1]:51376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iuM9T-0006RK-CS
	for submit <at> debbugs.gnu.org; Wed, 22 Jan 2020 14:58:59 -0500
Received: from tobias.gr ([80.241.217.52]:60320)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1iuM9R-0006R7-Lk
 for 39023 <at> debbugs.gnu.org; Wed, 22 Jan 2020 14:58:58 -0500
Received: by tobias.gr (OpenSMTPD) with ESMTP id 5213fb9c;
 Wed, 22 Jan 2020 19:58:55 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc
 :subject:references:in-reply-to:date:message-id:mime-version
 :content-type; s=2018; i=me@HIDDEN; bh=iNiu12BOusMhRDn+KsNPaK
 9kd3HmU1++PW0TWL0Spco=; b=aN4cxRdb/Dqrgj9TfKGqNiVzXowFTg1Tx25gFK
 kf6fSwOLj/TMFPIYBvCgbzwaQnfUdJYNK0D9ZqowSQQ7mpv8n1FZ7VNOf9yi06pu
 CCekCzFesD67LywZPVPjMMXEZuMhAdhyFJWQGpcNWgfpCllRhLiDp7RRq0YfrmtZ
 b4QmZF3TadvdCVTN6P/CKTj7L3/+ewigXpWyDouyQmgwJGuaqO6OVuzU4jzRT8UG
 piSPzN/nR276NTxWgqHoN10jiAbqoCBzKllFLShWPGTl/zNetk9kMehSOJ1snfTI
 LtBHDP9wJ/4jSMRoRQLDXLpPqW5VhpNGGa9fREZ+cmh2beTA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ed922cbc
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 22 Jan 2020 19:58:48 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
 <87ftg89mfd.fsf@nckx>
 <CAE4v=phKi5WqOPu1zKvMp3fC+PKhscsdXoEm9NRY=29+_-X9Jg@HIDDEN>
In-reply-to: <CAE4v=phKi5WqOPu1zKvMp3fC+PKhscsdXoEm9NRY=29+_-X9Jg@HIDDEN>
Date: Wed, 22 Jan 2020 20:58:26 +0100
Message-ID: <87lfpzfel9.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

G=C3=A1bor,

G=C3=A1bor Boskovits =E5=86=99=E9=81=93=EF=BC=9A
> Oops, I missed that.

I'm suprised I haven't confused add* & *add once so far in this=20
thread :-)

> There was some upstream discussion to get useradd and groupadd=20
> to
> busybox upstream,
> as this seems to be causing problems everywhere. They told that=20
> they
> are unwilling to include them as is,
> but would accept a wrapper thar forward to their=20
> adduser/addgroup
> implementation.

I don't know which discussion you're referring to, and much might=20
have changed since 2016, but I read this[0] to mean the opposite:=20
Busybox should provide the shadow-compatible *add variants, and=20
reimplement their old add* as simple wrappers around that.  That's=20
from an upstream(ish) person.

  =E2=80=9Cadduser/addgroup tend to be symlinks or wrappers, if they exist=
=20
  at
   all, but by and large are deprecated.  busybox should implement
   applets that mimic shadow here and deprecate the old ones, if=20
   not
   throw them out. although we can probably rename & massage the
   sources in these cases=E2=80=9D

Still, Busybox *add patches welcome, it would seem.  We'll still=20
have to deal with this for the lifetime of the older version.

Kind regards,

T G-R

[0]:=20
http://lists.busybox.net/pipermail/busybox/2016-February/083909.html

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4oqWIACgkQ2Imw8BjF
STw5IRAAkRiBNGE2QTbmKtJF/1QSsA+QYe6uRkEHFBxH3+ykKUN6RMEdVewN2xjv
PnaSu81v0lpp28TmP3CpJGQBRlifq4qParP9Fw/cXcjkcp4EhyXs9yCTtT1ZzAhR
pjBmPXnWV5sYjXz1+I+lvCzBwZNeUB+Noju0vqKMKRZu7N8jToSM5o4/DdXCiTwu
oiYNGc+yVnO7dSEKlrzcTjNWfjRl9j9S6RR68//h2W4dVq+tAWfGOTBhLK8+YGjG
LNpz0PapCxpEHCdZ1BsjT/22gAr2HoLnOpjAWyi0eBBdmsiXKifndaeIxVZw2FAm
05TZuaZuIqCRbYlXhH/bwqjbbxvyz1rITt74kvfiBIyl6T45/DCG9nl7Ag9W6mko
DeljsHr3cvvr4LtlLqRLJNOBWr5dlBtRty5HdwI9UiTS7MQIrTRooYXBqPpTicME
U2uRUgGkxHo3pS/hasD6NNhmbDfLrxETyigkZW+KRR3Gjp8IAlzLsUe8bMHVp6L8
ff+/UOUsQesGeAzuYQdbZjAIthMz8lJv++zb3hyb2uvcjSoYpTcRb3whnoR3ZwH/
eirSI7W76WKZbuzlbKBu4zh10OI/v2x5aAbRnBi32mjUTXic241wy1NIce5kbYq7
SQ6ig11V7A9u8VY6iHG+5hFMq/3uPXGgc6EuPk33wPL9pDTcOJI=
=3xs4
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 22 Jan 2020 20:04:01 +0000
Resent-Message-ID: <handler.39023.B39023.157972340425409 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39023
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tobias Geerinckx-Rice <me@HIDDEN>
Cc: symphonia@HIDDEN, 39023 <at> debbugs.gnu.org
Received: via spool by 39023-submit <at> debbugs.gnu.org id=B39023.157972340425409
          (code B ref 39023); Wed, 22 Jan 2020 20:04:01 +0000
Received: (at 39023) by debbugs.gnu.org; 22 Jan 2020 20:03:24 +0000
Received: from localhost ([127.0.0.1]:51390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iuMDk-0006bl-D0
	for submit <at> debbugs.gnu.org; Wed, 22 Jan 2020 15:03:24 -0500
Received: from mail-ed1-f41.google.com ([209.85.208.41]:37262)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1iuMDi-0006bR-6N
 for 39023 <at> debbugs.gnu.org; Wed, 22 Jan 2020 15:03:22 -0500
Received: by mail-ed1-f41.google.com with SMTP id cy15so882871edb.4
 for <39023 <at> debbugs.gnu.org>; Wed, 22 Jan 2020 12:03:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=EchVV5UQJuppP1VNfxRB2Lx7VxgdiVPrK7YKgfqt0G0=;
 b=O7EEQGEV38QK2bXXS8i4TPB+SiJ5CiY7C7o2/iBitL+KE/IetDSGzJ73fO+bllzM8n
 gdBxBsSkT1JxCRON5i80yGYplzkllhzfpLjyY2ojKAgum+BxHPaQTJS3oCbNU9yLp4pi
 B980rXBcMsV/XCFYcEp/CzU7UnvSWm0mD0ulhnSFgI7YxQBboOuf5Vrw7oHMc8if8JFL
 NPs6T5i0hzLf75QvDTYzvJqGxacOl/uZIPvL3l5Kg9Snv9U4rweBDlrd9v9nWItqp0Aq
 wftT6JAQRpT5BedP5jnGS47inHCBwxr9c0ZZcfqSjOE6MaEAZ+QpVn0LPMpZBTBqaQbh
 t2zA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=EchVV5UQJuppP1VNfxRB2Lx7VxgdiVPrK7YKgfqt0G0=;
 b=oicGMfDkiABMiunHCKWUmfMwgHJmFfUIQfryxxuwgOxi63clwxsz9hDtk//w4EC078
 yaN8Y5rrdRmCKGKnM8DMl0DUXgV4lTsv/w8T34y4DnWPLH9n9P4E2XZC17WzRa4Ccr8V
 SQ3P7Cg1Icl8EjN/oM9tswYiv0GjaHeRmbZaHHlj69iT902K0uNwHoJpngbXci2D/me0
 SdYBDSdLaX2A1M5+9eum8ZZUsyB2FhKb8xYRIYqOAALPA9MndfcQBZOREesONBLn05c1
 tbfdgLyQyqOiu5mO3ONBLkSdwidluTBxK2n9bRt3ErkIMmSbTcFB2sF5yRKWURUkWlbg
 KXDA==
X-Gm-Message-State: APjAAAV+qCbl8wJyI4eX7JU5SXv21Lr49Gp7jOHeDxVe8zE2cTm/bmVX
 KKO7kMR1qxuv2E/hYtBeZOibo42rEhCpQR0C4Q==
X-Google-Smtp-Source: APXvYqz4xsls4xQQuqgl6rj/jcf9Hxsv2C9Ut/AwMfpR835PLrvQFPLDa1nj5WMwsD4IfnxZlmXnKdrB0rx0m/stF9Q=
X-Received: by 2002:aa7:d3d0:: with SMTP id o16mr4346208edr.102.1579723396378; 
 Wed, 22 Jan 2020 12:03:16 -0800 (PST)
MIME-Version: 1.0
References: <4678e0a6a529877fee91a452424115c1@HIDDEN>
 <CAE4v=phMbf=PsT4zvrkRA3kCkemJuWQfR5ciA_JZbwJY1OR+Pg@HIDDEN>
 <87ftg89mfd.fsf@nckx>
 <CAE4v=phKi5WqOPu1zKvMp3fC+PKhscsdXoEm9NRY=29+_-X9Jg@HIDDEN>
 <87lfpzfel9.fsf@nckx>
In-Reply-To: <87lfpzfel9.fsf@nckx>
From: =?UTF-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Date: Wed, 22 Jan 2020 21:03:04 +0100
Message-ID: <CAE4v=pgMQ9-Gd6WpvsAY3OWQ_Cd7PCUouS4Vwfv4cp4mDBD1bw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tobias Geerinckx-Rice <me@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2020. jan=
.
22., Sze, 20:58):
>
> G=C3=A1bor,
>
> G=C3=A1bor Boskovits =E5=86=99=E9=81=93=EF=BC=9A
> > Oops, I missed that.
>
> I'm suprised I haven't confused add* & *add once so far in this
> thread :-)

Yes, I am also a bit confused.

>
> > There was some upstream discussion to get useradd and groupadd
> > to
> > busybox upstream,
> > as this seems to be causing problems everywhere. They told that
> > they
> > are unwilling to include them as is,
> > but would accept a wrapper thar forward to their
> > adduser/addgroup
> > implementation.
>
> I don't know which discussion you're referring to, and much might
> have changed since 2016, but I read this[0] to mean the opposite:
> Busybox should provide the shadow-compatible *add variants, and
> reimplement their old add* as simple wrappers around that.  That's
> from an upstream(ish) person.
>
>   =E2=80=9Cadduser/addgroup tend to be symlinks or wrappers, if they exis=
t
>   at
>    all, but by and large are deprecated.  busybox should implement
>    applets that mimic shadow here and deprecate the old ones, if
>    not
>    throw them out. although we can probably rename & massage the
>    sources in these cases=E2=80=9D
>
> Still, Busybox *add patches welcome, it would seem.  We'll still
> have to deal with this for the lifetime of the older version.

Yes, I referred to this, but I might have misunderstood something.

>
> Kind regards,
>
> T G-R
>
> [0]:
> http://lists.busybox.net/pipermail/busybox/2016-February/083909.html



--=20
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21





Last modified: Wed, 22 Jan 2020 20:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.