Package: util-linux
Version: 2.33.1-0.1
Severity: normal

Dear Maintainer,

I recently did a commit upstream to prevent fstrim to run if systemd
detects a container environment.

Container meaning theses products:
openvz
lxc
lxc-libvirt
systemd-nspawn
docker
podman
rkt
wsl

As per documentation:
https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html

This prevent fstrim to run and errors out with permission denied,
operation no permitted or else ONLY inside a container.

Upstream references:
https://github.com/karelzak/util-linux/pull/841
https://github.com/karelzak/util-linux/commit/0280d31a2bd6292acd9a4b86d0f6b5feb275a618

Reply via email to