** Changed in: util-linux (Debian)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open
** Changed in: util-linux (Debian)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts:
This bug was fixed in the package util-linux - 2.27.1-6ubuntu3.8
---
util-linux (2.27.1-6ubuntu3.8) xenial; urgency=medium
* d/p/prevent-fstrim-inside-container.patch:
- Prevent fstrim to run inside a container environment.
(LP: #1589289)
* d/fstrim-all.cron: Prevent
Excellent! Let me proceed in that case.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
Status
@sil2100,
https://launchpad.net/bugs/1842426
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
** Changed in: util-linux (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts:
As for xenial's chromium-browser test failures - could you please file a
bug about the failing architectures? I would then include the bug number
in the hint. This way we won't forget about the test issues.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded
This bug was fixed in the package util-linux - 2.31.1-0.4ubuntu3.4
---
util-linux (2.31.1-0.4ubuntu3.4) bionic; urgency=medium
* d/p/prevent-fstrim-inside-container.patch:
- Prevent fstrim to run inside a container environment.
(LP: #1589289)
-- Eric Desrochers Thu, 22
This bug was fixed in the package util-linux - 2.33.1-0.1ubuntu3
---
util-linux (2.33.1-0.1ubuntu3) disco; urgency=medium
* d/p/prevent-fstrim-inside-container.patch:
- Prevent fstrim to run inside a container environment.
(LP: #1589289)
-- Eric Desrochers Thu, 22 Aug
All regressions for B/D are recurrent patterns that were already failing
before that SRU.
For x, there is a chromium-browser failures. It's definitely a chromium-
browser thing, not related to the current SRU.
# logs:
Traceback (most recent call last):
File
[Disco verification]
Confirming that I'm using a lxd container running Disco:
# systemd-detect-virt
lxc
# lsb_release -cs
disco
* rmadison:
util-linux | 2.33.1-0.1ubuntu2| disco | source, amd64, arm64,
armhf, i386, ppc64el, s390x
util-linux | 2.33.1-0.1ubuntu3|
[Xenial verification]
Confirming that I'm using a lxd container running Xenial:
# systemd-detect-virt
lxc
# lsb_release -cs
xenial
* rmadison:
util-linux | 2.27.1-6ubuntu3.7| xenial-updates
util-linux | 2.27.1-6ubuntu3.8| xenial-proposed
* With current xenial-updates package:
$
[Bionic verification]
Confirming that I'm using a lxd container running Bionic:
# systemd-detect-virt
lxc
# lsb_release -cs
bionic
* rmadison:
util-linux | 2.31.1-0.4ubuntu3.3 | bionic-updates
util-linux | 2.31.1-0.4ubuntu3.4 | bionic-proposed
* With current bionic-updates package:
#
Hello Tamas, or anyone else affected,
Accepted util-linux into disco-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/util-
linux/2.33.1-0.1ubuntu3 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
This bug was fixed in the package util-linux - 2.34-0.1ubuntu2
---
util-linux (2.34-0.1ubuntu2) eoan; urgency=medium
* d/p/prevent-fstrim-inside-container.patch:
- Prevent fstrim to run inside a container environment.
(LP: #1589289)
-- Eric Desrochers Wed, 21 Aug 2019
** Bug watch added: Debian Bug tracker #935326
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935326
** Also affects: util-linux (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935326
Importance: Unknown
Status: Unknown
--
You received this bug notification
Uploaded in active devel release (Eoan).
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
Status
Upstream PR has been approved/merged.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
Status in
** Changed in: util-linux (Ubuntu Bionic)
Status: Confirmed => In Progress
** Changed in: util-linux (Ubuntu Disco)
Status: Confirmed => In Progress
** Description changed:
[Impact]
fstrim weekly cronjob output in an unprivileged LXD container:
/etc/cron.weekly/fstrim:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: util-linux (Ubuntu Disco)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: util-linux (Ubuntu Bionic)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
** Description changed:
+ [Impact]
fstrim weekly cronjob output in an unprivileged LXD container:
/etc/cron.weekly/fstrim:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
fstrim: /dev/fuse: not a directory
fstrim: /dev/lxd: FITRIM ioctl failed: Operation not permitted
** Also affects: util-linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: util-linux (Ubuntu Disco)
Importance: Undecided
Status: New
** Also affects: util-linux (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: util-linux
** Changed in: util-linux (Ubuntu)
Status: Confirmed => In Progress
** Changed in: util-linux (Ubuntu)
Assignee: (unassigned) => Eric Desrochers (slashd)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux
Upstream BUG:
https://github.com/karelzak/util-linux/issues/840
Upstream PR:
https://github.com/karelzak/util-linux/pull/841
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
Upstream BUG:
https://github.com/karelzak/util-linux/issues/840
Upstream PR:
https://github.com/karelzak/util-linux/pull/841/commits/8574fb28fb492dcd60e30f57d542b78035a4676e
** Bug watch added: github.com/karelzak/util-linux/issues #840
https://github.com/karelzak/util-linux/issues/840
--
I'll submit the fstrim.timer change upstream.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
Ok more investigation revealed the following
X is using the cron weekly for fstrim, while late version uses
fstrim.timer.
So I proposed we fix it with the "ConditionVirtualization=!container" in
Bionic and late.
and for X by fixing the cron.weekly/fstrim script that way:
#!/bin/sh
# trim all
or even better I think:
#!/bin/sh
# trim all mounted file systems which support it
+if /usr/bin/systemd-detect-virt -q -c; then
+exit 0
+fi
/sbin/fstrim --all || true
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
from:
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
to:
#!/bin/sh
# trim all mounted file systems which support it
if ! /usr/bin/systemd-detect-virt -q -c; then
/sbin/fstrim --all || true
fi
--
You received this bug notification because you are a member
We could also implement a check mechanism inside
"/etc/cron.weekly/fstrim" using'systemd-detect-virt', if it's a
container don't run it, otherwise let's do it.
[/etc/cron.weekly/fstrim] # script as-is
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
--
You
hmmm it is installed under examples/ so not used at all by default.
# dpkg -l util-linux
/usr/share/doc/util-linux/examples/fstrim.service
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
I started to read that bug a couple of days ago
Maybe using 'ConditionVirtualization=!container' should be enought to
prevent fstrim from running inside container, I'll give it a try later
this week. If its work as expected, I'll submit it upstream.
'container' type would cover the following:
I started to read that bug a couple of days ago
Maybe using 'ConditionVirtualization=container' should be enought to
prevent fstrim from running inside container, I'll give it a try later
this week. If its work as expected, I'll submit it upstream.
'container' type would cover the following:
Fails also on Proxmox LXC https://forum.proxmox.com/threads/deleting-
data-in-lxc-lvm-thin-doesnt-release-space.32179/#post-173302
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
On my containers using the "dir" storage backend,
/etc/cron.weekly/fstrim outputs:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
fstrim: /dev/lxd: FITRIM ioctl failed: Operation not permitted
fstrim: /: FITRIM ioctl failed: Operation not permitted
>From one of those containers:
#
** Description changed:
- fstrun daily cronjob output in an unprivileged LXD container:
+ fstrun weekly cronjob output in an unprivileged LXD container:
/etc/cron.weekly/fstrim:
fstrim: cannot open /dev/.lxd-mounts: Permission denied
fstrim: /dev/fuse: not a directory
fstrim: /dev/lxd:
** Changed in: util-linux (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589289
Title:
fstrim: cannot open
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: util-linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
39 matches
Mail list logo