Bug 1762640 - fstrim stopped working on /home partition
Summary: fstrim stopped working on /home partition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-17 07:09 UTC by Artem
Modified: 2019-12-18 01:55 UTC (History)
5 users (show)

Fixed In Version: util-linux-2.34-4.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-18 01:55:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
log (3.32 KB, text/plain)
2019-10-17 07:10 UTC, Artem
no flags Details

Description Artem 2019-10-17 07:09:40 UTC
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.

Comment 1 Artem 2019-10-17 07:10:22 UTC
Created attachment 1626686 [details]
log

Comment 3 Karel Zak 2019-10-17 10:55:19 UTC
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".

Comment 4 Artem 2019-10-17 10:58:58 UTC
@Karel Zak thanks a lot.

Comment 5 Vasiliy Glazov 2019-10-17 11:07:14 UTC
Thanks.

Updated rpm-package also needed.

Comment 6 Vasiliy Glazov 2019-12-16 13:24:14 UTC
Are you plan to add that patch af Fedora 31 release?

Comment 7 Karel Zak 2019-12-16 17:00:36 UTC
(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

Comment 8 Fedora Update System 2019-12-17 01:11:29 UTC
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

Comment 9 Fedora Update System 2019-12-18 01:55:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.