This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Invalid fstrim.service commandline #2591
Comments
I'd be hesitant to use |
If entries |
|
I'm not sure where this unit is coming from and who is consuming it, but another option is to make a templated unit and use |
This was referenced Apr 22, 2020
karelzak
pushed a commit
to util-linux/util-linux
that referenced
this issue
Apr 28, 2020
The timer and service units run `fstrim --fstab`, which strictly depends on `/etc/fstab` being present in the OS. This adds relevant condition statements to the units, in order to skip them and avoid runtime failures. Ref: #673 (comment) Ref: coreos/bugs#2591 Ref: coreos/fedora-coreos-tracker#468 Signed-off-by: Luca BRUNO <luca.bruno@coreos.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Report
Bug
Container Linux Version
Environment
Dell PowerEdge R640
Expected Behavior
Actual Behavior
Reproduction Steps
Other Information
Newer builds of Container Linux do not populate the /etc/fstab file, so the fstrim.service should be updated.
The ExecStart for fstrim.service is
ExecStart=/sbin/fstrim -Av
. It should probably be changed toExecStart=/sbin/fstrim -av
The text was updated successfully, but these errors were encountered: