From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 9268F1BD97; Fri, 05 Dec 2025 10:18:36 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id CFA591BD27; Fri, 05 Dec 2025 10:18:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) by atuin.qyliss.net (Postfix) with ESMTPS id 8986E1BD89 for ; Fri, 05 Dec 2025 10:18:33 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id D6567140021A; Fri, 5 Dec 2025 05:18:30 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Fri, 05 Dec 2025 05:18:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1764929910; x=1765016310; bh=Qr4lHzdTj8 w3Tt3kku42QmjIi2IodAsKfJHmq8FPsI0=; b=IRQV7UxiW5hshHpT4ESGRHA8Qo 47944wpDwiR7NTjENDeXKnL5PTPZfVErQmT86Grhee3RbHAHP4r10VeAAKwhc9zS PaekADFVFmj4gCOWV+RLdVBBScF2bZ3bd6qM9MSnTcDaT9dxTJKRB57lKUKfNz49 nhcxYR6dYwTltfOaU/JNr6Hysw/bWd2sq2gHLz29tKfYFdJ4ezjIdN/TYrePgNQ6 7F58kBOel7TpfSrz02OnRSjpj45ZLyRQGSCAWXuHkwLKxOXuJwVoGQ7lL5JgpeRb dfCae2Rx87lGc1nI0zhFCZDU07VsDBsqRuqjdTk71MKbxpc25SYZzdIleiBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1764929910; x=1765016310; bh=Qr4lHzdTj8w3Tt3kku42QmjIi2IodAsKfJH mq8FPsI0=; b=S1FUi+PPHn3nhVI4hzkgTKJp9SVSCdWQOUi3Rk0ix6LQx+sXrtY CfOV1SqZ8ptPr/H7vahXiYhdUdmo0NPQOTVb42Nkid2PZGszdARIT9Rs9RiHTsLL 9HkIXyoI6iWvJS9r0xtprWua40/KhB7AOIB3flsFyxAsnp3d8v6lBlLBambvOS8Y 8KAMEY723jJKjOI7FbRNB+71BZPgTK+Kilf/2TEK5VF0N6QYWQqOuec4K94uHGCL 1N/oKoetGbeQAv03xQoxDnvfqkSTizH8UhhKgy49V6F4bH46tURMBltq11mdSVtx NRSULFSK8jSdofntQo/bn6NsaEugMXjhmeQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdekuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcutfho shhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeehgeevuddule eluedvudelhfetfeelgfekkeettdetuedthedvvdejhffhudehteenucffohhmrghinhep shihshhtvghmugdrihhopdhkvhhmrdhhohhsthenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghp thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvmhhiohgsvghnoh hurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdq ohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Dec 2025 05:18:30 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id E18AF44D08A3; Fri, 05 Dec 2025 11:18:28 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH] host/rootfs: create groups assumed by udev In-Reply-To: <8fccbc16-bc04-41cc-9878-451318775457@gmail.com> References: <20251204152239.1508396-1-hi@alyssa.is> <8fccbc16-bc04-41cc-9878-451318775457@gmail.com> Date: Fri, 05 Dec 2025 11:18:26 +0100 Message-ID: <87v7ildyfh.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: 5NLQWFQC2Z6OQQAEHV3ZM3TEUC5JOTWN X-Message-ID-Hash: 5NLQWFQC2Z6OQQAEHV3ZM3TEUC5JOTWN X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@spectrum-os.org X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 12/4/25 10:04, Alyssa Ross wrote: >> We don't really care about these groups, but if they don't exist, udev >> will also not apply the "other" modes from rules, leaving >> e.g. /dev/kvm root-only when it should be globally read/write. >>=20 >> tty is set to 5, conforming with the systemd convention. >>=20 >> Link: https://systemd.io/UIDS-GIDS/ >> Signed-off-by: Alyssa Ross >> --- >> Demi, this should avoid the need to add a udev rule for /dev/kvm. >>=20 >> host/rootfs/image/etc/group | 14 ++++++++++++++ >> 1 file changed, 14 insertions(+) >>=20 >> diff --git a/host/rootfs/image/etc/group b/host/rootfs/image/etc/group >> index 18acc30..e3ade46 100644 >> --- a/host/rootfs/image/etc/group >> +++ b/host/rootfs/image/etc/group >> @@ -1 +1,15 @@ >> root:x:0:root >> +clock:x:1: >> +dialout:x:2: >> +kmem:x:3: >> +input:x:4: >> +tty:x:5: >> +video:x:6: >> +render:x:7: >> +sgx:x:8: > > Do we even need this? SGX needs userspace tools that Spectrum > doesn't have. I presume that the need for this will go away once > Spectrum's host is built without SGX. I think it's better to have it, because without it udev will continue to warn about it when it reads the default rules. This happens regardless of whether a matching device actually exists. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCaTKxcgAKCRCZddwkt31p FRIEAP9MZXgYkOWbzM1Wjhqt2HoJV3c9nbdQ0rOSmgLYsuQg6AD/bLvQ1y1k1jRD S0PdmZnIaMq8Q+tB8YVSPVjajxxe/AM= =/mjr -----END PGP SIGNATURE----- --=-=-=--