Hi,

These two lines aren't doing what I want, which is to reset the
service to match the vendor preset on (major version) upgrades.

https://src.fedoraproject.org/rpms/util-linux/blob/master/f/util-linux.spec#_488

Should the trigger be on an installed subpackages rather than the
metapackage? fedora-release-common instead of fedora-release?

fedora-release-common-32-0.6.noarch contains two things:

a. /usr/lib/systemd/system-preset/90-default.preset
This contains:
enable fstrim.timer

b. ]$ cat /usr/lib/fedora-release
This contains:
Fedora release 32 (Thirty Two)

The idea of %triggerpostun is that the removal of fedora-release less
than 32 will trigger 'systemctl preset fstrim.timer'

But that doesn't happen.

https://bugzilla.redhat.com/show_bug.cgi?id=1811506

Thanks!

-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to