[Bug 1813430] Re: fstrim.service should not run inside container
Marius Gedminas
marius at gedmin.as
Thu Sep 5 11:07:53 UTC 2019
*** This bug is a duplicate of bug 1589289 ***
https://bugs.launchpad.net/bugs/1589289
** This bug has been marked a duplicate of bug 1589289
fstrim: cannot open /dev/.lxd-mounts: Permission denied
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1813430
Title:
fstrim.service should not run inside container
Status in util-linux package in Ubuntu:
New
Bug description:
On LXD containers, the fstrim.service will errored permanently.
/sbin/fstrim -av
fstrim: /: FITRIM ioctl failed: Operation not permitted
The unit file should contain
ConditionVirtualization=!container
to prevent errors inside containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1813430/+subscriptions
More information about the foundations-bugs
mailing list