Description of problem: After upgrading to F31 fstrim not working anymore for /home partition. Version-Release number of selected component (if applicable): util-linux-2.34-3.fc31.x86_64 How reproducible: Steps to Reproduce: 1. systemctl start fstrim.service 2. journalctl -r -u fstrim.service Actual results: You will see that all partitions trimmed, except /home. Expected results: Should trim all partitions including /home. As it was before in F30. Additional info: Attached log file.
Created attachment 1626686 [details] log
Seems like this commit change behavior https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=8f3d2d76aa3f5e20313362db6669dcd001bff26c
It's already fixed in upstream tree, see https://github.com/karelzak/util-linux/commit/c64d452b3eb85fe55e238144082247b05cc143ea , as temporary workaround you can set ProtectHome manually to "read-only".
@Karel Zak thanks a lot.
Thanks. Updated rpm-package also needed.
Are you plan to add that patch af Fedora 31 release?
(In reply to Vasiliy Glazov from comment #6) > Are you plan to add that patch af Fedora 31 release? Sorry for the delay. Pushed to fedore testing, https://bodhi.fedoraproject.org/updates/FEDORA-2019-a44fffa030
util-linux-2.34-4.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a44fffa030
util-linux-2.34-4.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.