public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel8: remove files owned by the old user 'icecream' from /var/cache/icecream
Date: Fri, 31 Jul 2026 06:34:12 GMT [thread overview]
Message-ID: <178547965270.1.18225274199464184196.rpms-icecream-0ae50e1d5566@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/icecream
Branch : epel8
Commit : 0ae50e1d5566672e32a4ad561f9146a2088aa067
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2016-11-04T15:03:21+01:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/icecream/c/0ae50e1d5566672e32a4ad561f9146a2088aa067?branch=epel8
Log:
remove files owned by the old user 'icecream' from /var/cache/icecream
Commit 575176a72859 ("Update to proper user") changed the user name from
'icecream' to 'icecc'. This seems completely pointless to me, but whatever.
We must delete leftover files owned by 'icecream' from under
/var/cache/icecream, because otherwise iceccd will attempt to do it by
itself and fail.
---
diff --git a/icecream.spec b/icecream.spec
index 3841b73..f9f8636 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -40,6 +40,7 @@ Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
+Requires(post): findutils
%if %{with selinux}
# For SELinux protection:
@@ -203,6 +204,9 @@ restorecon -R %{_localstatedir}/cache/icecream /run/icecc 2>/dev/null
%firewalld_reload
%systemd_post iceccd.service icecc-scheduler.service
+
+# Remove files owned by the user 'icecream' (used by older versions).
+find %{_localstatedir}/cache/icecream/ -user icecream -delete 2>/dev/null
exit 0
%preun
reply other threads:[~2026-07-31 6:34 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=178547965270.1.18225274199464184196.rpms-icecream-0ae50e1d5566@fedoraproject.org \
--to=mschmidt@redhat.com \
--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