From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cPoYDgJcbWDWOwAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 09:15:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aEz4BwJcbWDKMQAAB5/wlQ (envelope-from ) for ; Wed, 07 Apr 2021 07:15:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 84093D7A0 for ; Wed, 7 Apr 2021 09:15:13 +0200 (CEST) Received: from localhost ([::1]:42456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU2P8-0002e2-S4 for larch@yhetil.org; Wed, 07 Apr 2021 03:15:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU2P0-0002dr-Ey for bug-guix@gnu.org; Wed, 07 Apr 2021 03:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lU2P0-0007gB-7N for bug-guix@gnu.org; Wed, 07 Apr 2021 03:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lU2P0-0007VT-1f for bug-guix@gnu.org; Wed, 07 Apr 2021 03:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#45571: Support stable uids and gids for system accounts in a container References: In-Reply-To: Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Apr 2021 07:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45571 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "45571@debbugs.gnu.org" <45571@debbugs.gnu.org> Received: via spool by 45571-submit@debbugs.gnu.org id=B45571.161777964328777 (code B ref 45571); Wed, 07 Apr 2021 07:15:01 +0000 Received: (at 45571) by debbugs.gnu.org; 7 Apr 2021 07:14:03 +0000 Received: from localhost ([127.0.0.1]:42894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU2O3-0007U5-82 for submit@debbugs.gnu.org; Wed, 07 Apr 2021 03:14:03 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:10814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU2O1-0007TU-9t for 45571@debbugs.gnu.org; Wed, 07 Apr 2021 03:14:02 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4FFbGp6FcqzQk1x for <45571@debbugs.gnu.org>; Wed, 7 Apr 2021 09:13:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:subject:subject :message-id:from:from:date:date:received; s=mail20150812; t= 1617779631; bh=yUiwIOgWSYCQ3dmSofjADgMYCLvh0Tb4KyVtPNwkAyE=; b=x U3zffCu7ANujItaOxcYurcR5vTBQOKawEOEEeBrhrNPGyKdi4G72RSYhOEjRbdvp dU4+KKZqLo6A0TWpOV9UpiWV+kJl2pB6D7bw+sHcP2/JGpm8VjZ4aPGycW8x4zW0 dINWuKCijylPIvQcwazErnbSjep9E9DlJAD2lLgzK9ofeYzUIMKqZ+se+vcfHH8L efdZz/kiI3MCx3tI4qD0NrILSyagEWCVDVOBhhQRquvMjRSFCN3UcY1xBcIS/Y57 tMjvZSfAu8iOL2ul5LeZvf5kvsOEOnVLNy8q2HZA9nHFNbkG7sA5zk7G2TzRqLKP DFD/c0EA+OQoTr928hyow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1617779632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=/3a9s7wmhBI2n+vH9U856kVFHWyryGc4lNhBkfpbUaA=; b=f+m2IPxPNqVtwoqVHOuVh/OI/zzPNOpEhfJ/aqylKubK0hbh+b/67VREjlQYTajAcbtP5P zkfEHG2yYMhynnAMWFa/H1F4zSKE+pJE5H4R8W635+Idv1OTCWcwlWb4fiejAYHTpizRdW S4oAf0be+J9mPEpBeGo6r4alQL8Knw1W05uSVPLbc9fYwE2CS6ZQT7UHTiei9nD1lnO+l3 rSMiViEiPKcZ6FMmddLVmo2PwX2hIcwCh+1hlVXet1PTyyUlCZWGFvFyvK2HaxKfKEQj3k 0cdI/jmh9V1R8l02+ZXInxgZ/bVGss1Zl8irmZyO9iT4tMmIEqsJDJNp81YREQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id csWez-FVlWRK for <45571@debbugs.gnu.org>; Wed, 7 Apr 2021 09:13:51 +0200 (CEST) Date: Wed, 7 Apr 2021 09:13:50 +0200 (CEST) Message-ID: <887823078.43817.1617779630834@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43816_735588192.1617779630831" X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: * X-Rspamd-Score: 0.89 / 15.00 / 15.00 X-Rspamd-Queue-Id: 8CA6315F8 X-Rspamd-UID: e6542c X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Brendan Tildesley From: Brendan Tildesley via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617779713; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/3a9s7wmhBI2n+vH9U856kVFHWyryGc4lNhBkfpbUaA=; b=mHYNQhWdaNN2atOTCS9Y8hEeNZ2R1lIKKtRdY/mJYt1PlyzynLMbmmOqs1uoZcIjN9nHKA u+A4RWdYBC5+REKoy2J1xOl7fw7fqdDdDIyQ83qECA6JNG8ImGJorGf98ojeuCSfZbXP5T 36y4XlEOlRibzLkwtKOSirFnxtfdVDTkN/XJ5Thyua0FBLsa7tVjFR3iKSwBq7ZyXbdSIT YdTwk6j3Cfd0oC1XzRdsWK9tYe54tec/Ym1oQCZ+U8Q9gJJzKCza198Z3kSpmkrr/Gma8J 72MvHw2OY7yJWHNt0ifsOB6NVXXBT3zlyWg+q5OtjbyutgOp5Ii8awUsKfKRuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617779713; a=rsa-sha256; cv=none; b=d3ZdpcZZHQzTF111X3oRSTqoHhYtKFQnPRmGrgyF9LQeL1bV3280QG9uUYsqJpmzXVNjE5 i/g0GDRl4Awp4CGYWDjWBlMujwWGuvyAOAhN49wziwJzfLVY4eQPqspF180tvedD3/VyRK y9gXNWWjnIUxCpYAW/XrsgSKDvIeGkG1ZcxWgHSOc9dxWZ6KHmUlvtGLd6ErijJ879mJKh jqBggUlR82h3vbW8iWa3VYPXsJncVDWL8sJSokgKDOrqcMTEbaE7x6ED5vX5T72r67iD2y 27+iOnkb7Om80hAIzqePq9EwlKUxfeAdTAa6VJFnqbXMiiVvrK8AYnxZorusdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="x U3zffC"; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=f+m2IPxP; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="x U3zffC"; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=f+m2IPxP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 84093D7A0 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1f5KUuQctd6p ------=_Part_43816_735588192.1617779630831 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit It may be useful to see what Nix does. Nix has many static id, with the comment: # IMPORTANT! # We only add static uids and gids for services where it is not feasible # to change uids/gids on service start, in example a service with a lot of # files. Please also check if the service is applicable for systemd's https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/ids.nix ------=_Part_43816_735588192.1617779630831 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
It may be useful to see what Nix does.

Nix has many static id, with the comment:

# IMPORTANT!
# We only add static uids and gids for services where it is not feasible
# to change uids/gids on service start, in example a service with a lot of
# files. Please also check if the service is applicable for systemd's

https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/ids.nix
------=_Part_43816_735588192.1617779630831--