From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 08 Feb 2023 12:50:50 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pPiyR-000W2M-NM for lore@lore.pengutronix.de; Wed, 08 Feb 2023 12:50:50 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pPiyO-0003uP-66; Wed, 08 Feb 2023 12:50:48 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pPixZ-0000aR-DJ; Wed, 08 Feb 2023 12:49:57 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pPixX-003VNi-DP; Wed, 08 Feb 2023 12:49:56 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pPixX-008QvY-UP; Wed, 08 Feb 2023 12:49:55 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 8 Feb 2023 12:49:55 +0100 Message-Id: <20230208114955.2010089-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230125131327.1407806-3-m.tretter@pengutronix.de> References: <20230125131327.1407806-3-m.tretter@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] rootfs: add pipewire user and group X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Michael Tretter Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 91549288952bd12fc3c36c0812d7b6f0c9711d8a. Michael [sent from post-receive hook] On Wed, 08 Feb 2023 12:49:55 +0100, Michael Tretter wrote: > The pipewire.service and wireplumber.service system services by default > start the processes as user pipewire. Without a pipewire user, the > systemd.services fail to start. > > Add the pipewire user to the video and audio groups to give PipeWire > access to the video and audio devices. > > Signed-off-by: Michael Tretter > Message-Id: <20230125131327.1407806-3-m.tretter@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/projectroot/etc/group b/projectroot/etc/group > index b1965e6c297f..8f0af165ec9b 100644 > --- a/projectroot/etc/group > +++ b/projectroot/etc/group > @@ -18,9 +18,9 @@ kmem:x:109: > lp:x:110: > tape:x:111: > tty:x:112: > -video:x:113: > +video:x:113:pipewire > lock:x:114: > -audio:x:115: > +audio:x:115:pipewire > input:x:116: > mysql:x:117: > mosquitto:x:118: > @@ -36,4 +36,5 @@ rauc-hawkbit:x:212: > redis:x:213: > sgx:x:214: > seat:x:215: > +pipewire:x:216: > nogroup:x:65534: > diff --git a/projectroot/etc/passwd b/projectroot/etc/passwd > index b4669abb59dd..4ac336458e6c 100644 > --- a/projectroot/etc/passwd > +++ b/projectroot/etc/passwd > @@ -18,5 +18,6 @@ pulse:x:209:210:pulse:/dev/null:/bin/false > chrony:x:210:211:chrony:/dev/null:/bin/false > rauc-hawkbit:x:211:212:rauc-hawkbit:/dev/null:/bin/false > redis:x:212:213:redis:/dev/null:/bin/false > +pipewire:x:213:216:pipewire:/dev/null:/bin/false > rpcuser:x:65533:65534:RPC user:/dev/null:/bin/false > nobody:x:65534:65534:Unprivileged Nobody:/dev/null:/bin/false