Description of problem:
It's nice to see if fstrim is actually doing anything, plus by default you get no output so all you see in the log is that systemd is "started/starting" the service.
- ExecStart=/usr/sbin/fstrim -a
+ ExecStart=/usr/sbin/fstrim -av
After that you get nice and concise output (hostname removed):
May 18 13:44:30 systemd: Starting Discard unused blocks...
May 18 13:44:30 fstrim: /var: 0 B (0 bytes) trimmed
May 18 13:44:30 fstrim: /boot: 0 B (0 bytes) trimmed
May 18 13:44:30 fstrim: /: 0 B (0 bytes) trimmed
May 18 13:44:30 systemd: Started Discard unused blocks.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Is there any objection to this change request?
Good idea, thanks. Fixed by upstream commit 6a9aaf54915a454c21a16da94b2ed971158b416c.
The change will be available for Fedora after upgrade to v2.29 (probably f26).