From 20ae04497c34f190e461e47d01ea34c4bbac8116 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 6 Feb 2020 11:59:30 +0100 Subject: [PATCH] 2.35.1-4: enable fstrim.timer when upgrading During upgrades of Fedora 30/31 to 32/33, enable fstrim.timer per the new vendor preset so they're the same as a clean install. Addresses: https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer Addresses: https://pagure.io/fesco/issue/2309 --- util-linux.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util-linux.spec b/util-linux.spec index 2e29cac..cd6f33d 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -2,7 +2,7 @@ Summary: A collection of basic system utilities Name: util-linux Version: 2.35.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain URL: http://en.wikipedia.org/wiki/Util-linux @@ -483,6 +483,8 @@ fi %postun -n uuidd %systemd_postun_with_restart uuidd.service +%triggerpostun -- fedora-release < 32 +%systemd_post fstrim.timer %files -f %{name}.files %doc README NEWS AUTHORS @@ -932,6 +934,9 @@ fi %{_libdir}/python*/site-packages/libmount/ %changelog +* Thu Feb 06 2020 Karel Zak - 2.35.1-4 +- add triggerpostun for fstrim.timer (#1785041, FESCo #2309) + * Tue Feb 04 2020 Karel Zak - 2.35.1-3 - fix fstrim.service (util-linux github #948)