[lfs] branch openrc updated: OpenRC: Use `-D uucp_group=root`.
"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]> Sat, 06 Jun 2026 15:04:58 +0000
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <178075829868.7886.766678043535062321@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch openrc
in repository lfs.
The following commit(s) were added to refs/heads/openrc by this push:
new 41eec55ae OpenRC: Use `-D uucp_group=root`.
41eec55ae is described below
commit 41eec55ae66e85e3d50ffc58a89ba91d9abd5ef4
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