public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/setup] update_services: Drop pre-allocation of users and groups, during %%post
Date: Mon, 22 Jun 2026 15:56:26 GMT [thread overview]
Message-ID: <178214378665.1.13712920423512995587.rpms-setup-3ee2a7088bb2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/setup
Branch : update_services
Commit : 3ee2a7088bb26b02948353c279fce6f811d891e9
Author : Björn Esser <besser82@fedoraproject.org>
Date : 2025-02-10T11:37:33+01:00
Stats : +0/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/setup/c/3ee2a7088bb26b02948353c279fce6f811d891e9?branch=update_services
Log:
Drop pre-allocation of users and groups, during %%post
This is handled by rpm during %%pre now.
See: https://pagure.io/fesco/issue/3318
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
---
diff --git a/setup.spec b/setup.spec
index e85c42b..390249d 100644
--- a/setup.spec
+++ b/setup.spec
@@ -128,20 +128,6 @@ if posix.access("/usr/bin/newaliases", "x") then
end
end
end
--- Ensure pre-allocated users and groups are created immediately on upgrades.
-if posix.access("/usr/bin/systemd-sysusers", "x") then
- if rpm.spawn ~= nil then
- rpm.spawn({"/usr/bin/systemd-sysusers"}, {stderr='/dev/null'})
- else
- local pid = posix.fork()
- if pid == 0 then
- posix.redirect2null(2)
- posix.exec("/usr/bin/systemd-sysusers")
- elseif pid > 0 then
- posix.wait(pid)
- end
- end
-end
-- Ensure pre-allocated tmpfiles are created immediately on upgrades.
if posix.access("/usr/bin/systemd-tmpfiles", "x") then
if rpm.spawn ~= nil then
reply other threads:[~2026-06-22 15:56 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=178214378665.1.13712920423512995587.rpms-setup-3ee2a7088bb2@fedoraproject.org \
--to=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