[lfs] branch multilib updated: OpenRC: Use `-D uucp_group=root`.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]> Sat, 06 Jun 2026 15:04:16 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <178075825618.7446.7631815355610626027@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch multilib
in repository lfs.

The following commit(s) were added to refs/heads/multilib by this push:
     new 28e64a10a OpenRC: Use `-D uucp_group=root`.
28e64a10a is described below

commit 28e64a10a17ba45d56d4870e2f38348383aa9203
Author: Zeckmathederg <[email protected]>
AuthorDate: Sat Jun 6 09:02:38 2026 -0600

    OpenRC: Use `-D uucp_group=root`.
    
    OpenRC uses the uucp group to manage /run/lock. LFS doesn't create the
    uucp or lock groups. Instead, /run/lock is managed by root:root.
    
    So this makes it so OpenRC will recognize that /run/lock is managed by
    root, not uucp.
---
 chapter08/openrc.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/chapter08/openrc.xml b/chapter08/openrc.xml
index c17e4ef89..ef153c51a 100644
--- a/chapter08/openrc.xml
+++ b/chapter08/openrc.xml
@@ -52,11 +52,24 @@ cd    build
 
 meson setup --prefix=/usr       \
             --buildtype=release \
+            -D uucp_group=root  \
             -D pam=false ..</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
 
+      <varlistentry>
+        <term><parameter>-D uucp_group=root</parameter></term>
+        <listitem>
+          <para>This changes who owns and manages <filename
+          class="directory">/run/lock</filename>, as OpenRC will try to use the
+          <systemitem class="groupname">uucp</systemitem> group to manage it.
+          Many distributions today use the <systemitem
+          class="groupname">lock</systemitem> group, but LFS uses <systemitem
+          class="groupname">root</systemitem> instead.</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><parameter>-D pam=false</parameter></term>
         <listitem>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page