[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2020-05-04 Thread Bug Watch Updater
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-04 Thread Bug Watch Updater
** 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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-04 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-04 Thread Łukasz Zemczak
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-03 Thread Eric Desrochers
@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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-02 Thread Bug Watch Updater
** 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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-02 Thread Łukasz Zemczak
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-02 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-02 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-27 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-27 Thread Eric Desrochers
[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|

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-27 Thread Eric Desrochers
[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: $

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-27 Thread Eric Desrochers
[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: #

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-23 Thread Timo Aaltonen
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-22 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-21 Thread Eric Desrochers
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-21 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-21 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-20 Thread Eric Desrochers
** 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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-20 Thread Launchpad Bug Tracker
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.

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-20 Thread Launchpad Bug Tracker
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.

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-20 Thread Eric Desrochers
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-20 Thread Eric Desrochers
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-15 Thread Eric Desrochers
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-14 Thread Eric Desrochers
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.

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-14 Thread Eric Desrochers
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 --

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-14 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-14 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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.

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-08-13 Thread Eric Desrochers
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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2017-06-28 Thread EuroDomenii
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.

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2017-01-29 Thread Simon Déziel
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: #

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2016-09-04 Thread Johan Ehnberg
** 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:

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2016-06-25 Thread Alberto Salvia Novella
** 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

[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2016-06-13 Thread Launchpad Bug Tracker
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.