public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10: Add sysusers.d config for uucp group and user as well
Date: Wed, 26 Aug 2026 08:07:47 GMT [thread overview]
Message-ID: <178773166793.1.1511451755059095421.rpms-inn-1e3a0bed6f2c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10
Commit : 1e3a0bed6f2ca26793569dbf22a6ea7c22a2892c
Author : Dominik Mierzejewski <dominik@greysector.net>
Date : 2025-05-27T11:53:55+02:00
Stats : +2/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/1e3a0bed6f2ca26793569dbf22a6ea7c22a2892c?branch=epel10
Log:
Add sysusers.d config for uucp group and user as well
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
---
diff --git a/inn.spec b/inn.spec
index 315498c..f85b40d 100644
--- a/inn.spec
+++ b/inn.spec
@@ -138,7 +138,9 @@ gpgv2 --keyring %{S:3} %{S:1} %{S:0}
# Create a sysusers.d config file
cat >inn.sysusers.conf <<EOF
g news 13
+g uucp 14
u news 9 'News server user' /etc/news -
+u uucp 10 'Uucp user' /var/spool/uucp -
EOF
%build
@@ -296,21 +298,6 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} make -C tests test
%global inn_units innd-expire.service innd-nntpsend.service innd-rnews.service
-%pre
-getent group news >/dev/null || groupadd -g 13 -r news
-getent passwd news >/dev/null || \
-useradd -r -u 9 -g news -d /etc/news \
--c "News server user" news
-getent group uucp >/dev/null || groupadd -g 14 -r uucp
-if ! getent passwd uucp >/dev/null ; then
- if ! getent passwd 10 >/dev/null ; then
- useradd -r -u 10 -g uucp -d /var/spool/uucp -c "Uucp user" uucp
- else
- useradd -r -g uucp -d /var/spool/uucp -c "Uucp user" uucp
- fi
-fi
-exit 0
-
%post
su -m news -c '/usr/libexec/news/makedbz -i -o'
reply other threads:[~2026-08-26 8:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178773166793.1.1511451755059095421.rpms-inn-1e3a0bed6f2c@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox