Commit Graph

3 Commits

Author SHA1 Message Date
su-fang e72d587bc0 merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
Ubuntu Developers 2581103b71 fstrim shouldn't run inside a container
Container type implies the following products:
openvz	OpenVZ/Virtuozzo
lxc	Linux container implementation by LXC
lxc-libvirt	Linux container implementation by libvirt
systemd-nspawn	systemd's minimal container implementation, see systemd-nspawn(1)
docker	Docker container manager
podman	Podman container manager
rkt	rkt app container runtime
wsl	Windows Subsystem for Linux
 References:
 https://www.freedesktop.org/software/systemd/man/systemd.unit.html
 https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html#

 Fix: #840
Author: Eric Desrochers <eric.desrochers@canonical.com>
Origin: upstream, 0280d31a2b
Bug: https://github.com/karelzak/util-linux/issues/840
Bug-Ubuntu: https://launchpad.net/bugs/1589289

Gbp-Pq: Name prevent-fstrim-inside-container.patch
2022-05-14 03:14:50 +08:00
openKylinBot fa45c7ac50 Import Upstream version 2.34 2022-05-14 03:14:32 +08:00