public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] epel10.2: remove files owned by the old user 'icecream' from /var/cache/icecream
@ 2026-07-30 16:31 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-30 16:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/icecream
Branch : epel10.2
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=epel10.2
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 16:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 16:31 [rpms/icecream] epel10.2: remove files owned by the old user 'icecream' from /var/cache/icecream Michal Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox