[Kernel-packages] [Bug 1998602] Re: overlay writing user.* xattrs on symlinks

2022-12-02 Thread Christian Brauner
> I had thought I should be able to reproduce it by mounting (in an unprivileged user+mountns) an overlayfs where the underlay has, say, "/etc/rc2.d/K" symlink, then rename K to S (as i assume the 'systemctl disable dnsmasq is doing), but that did not work for me. Fwiw, I think you need index=on e

[Kernel-packages] [Bug 1940392] Re: fs: removing mandatory locks

2021-08-18 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1940392 Title: fs: removing mandatory locks Status in linux package i

[Kernel-packages] [Bug 1940392] [NEW] fs: removing mandatory locks

2021-08-18 Thread Christian Brauner
Public bug reported: Hello, Upstream is dicussing the removal of mandatory locks. To actually do this at some point distros will need to start disabling CONFIG_MANDATORY_FILE_LOCKING. It seems our kernel still defaults to CONFIG_MANDATORY_FILE_LOCKING=y. If feasible I'd like to propose disabling

[Kernel-packages] [Bug 1939301] Re: REGRESSION: shiftfs lets sendfile fail with EINVAL

2021-08-09 Thread Christian Brauner
** Changed in: linux-meta-hwe-5.11 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-hwe-5.11 in Ubuntu. https://bugs.launchpad.net/bugs/1939301 Title: REGRESSION: shiftfs lets sendfile

[Kernel-packages] [Bug 1908225] [NEW] iwd triggers WARN in net/wireless/nl80221.c

2020-12-15 Thread Christian Brauner
Public bug reported: On Linux wittgenstein 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description:Ubuntu 20.10 Release:20.10 Codename: groovy iwd manages to trigger the following warn: [ 47.003606] NET:

[Kernel-packages] [Bug 1908227] Re: iwd triggers WARN in net/wireless/nl80221.c

2020-12-15 Thread Christian Brauner
> ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2

[Kernel-packages] [Bug 1908227] [NEW] iwd triggers WARN in net/wireless/nl80221.c

2020-12-15 Thread Christian Brauner
Public bug reported: On Linux wittgenstein 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description:Ubuntu 20.10 Release:20.10 Codename: groovy iwd manages to trigger the following warn: [ 47.003606] NET:

[Kernel-packages] [Bug 1895132] Re: s390x broken with unknown syscall number on kernels < 5.8

2020-09-10 Thread Christian Brauner
This needs to be backported to our 5.4 kernels. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1895132 Title: s390x broken with unknown syscall number on kernels < 5.8 Status in linux p

[Kernel-packages] [Bug 1895132] [NEW] s390x broken with unknown syscall number on kernels < 5.8

2020-09-10 Thread Christian Brauner
Public bug reported: SRU Justification Impact: On kernels prior to 5.8 when a task is in traced state (due to audit, ptrace, or seccomp) s390x and a syscall is issued that the kernel doesn't know about s390x will not return ENOSYS in r2 but instead will return the syscall number. This breaks user

[Kernel-packages] [Bug 1884767] Re: shiftfs: fix btrfs regression

2020-07-03 Thread Christian Brauner
linux package in Ubuntu: In Progress Status in linux source package in Eoan: Fix Committed Bug description: SRU Justification Impact: The patch commit cfaa482afb97e3c05d020af80b897b061109d51f Author: Christian Brauner Date: Tue Apr 14 22:26:53 2020 +0200 UBUNTU: SAUCE

[Kernel-packages] [Bug 1884635] Re: lxc 1:4.0.2-0ubuntu1 ADT test failure with linux-5.8 5.8.0-1.2

2020-06-25 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: linux (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a

[Kernel-packages] [Bug 1884635] Re: lxc 1:4.0.2-0ubuntu1 ADT test failure with linux-5.8 5.8.0-1.2

2020-06-24 Thread Christian Brauner
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1884635 Title: lxc 1:4.0.2-0ubuntu1 ADT test failure with linux

[Kernel-packages] [Bug 1884767] [NEW] shiftfs: fix btrfs regression

2020-06-23 Thread Christian Brauner
Public bug reported: SRU Justification Impact: The patch commit cfaa482afb97e3c05d020af80b897b061109d51f Author: Christian Brauner Date: Tue Apr 14 22:26:53 2020 +0200 UBUNTU: SAUCE: shiftfs: fix dentry revalidation BugLink: https://bugs.launchpad.net/bugs/1872757 to fix https

[Kernel-packages] [Bug 1879688] Re: shiftfs: fix btrfs snapshot deletion

2020-06-23 Thread Christian Brauner
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1879688 Title: shiftfs: fix btrfs snapshot deletion Status

[Kernel-packages] [Bug 1879688] Re: shiftfs: fix btrfs snapshot deletion

2020-06-23 Thread Christian Brauner
Confirmed this is fixed: brauner@wittgenstein|~ > lxc shell f1-vm root@f1-vm:~# lxc shell f1 root@f1:~# btrfs subvolume create my-subvol root@f1:~# chown 1000:1000 my-subvol root@f1:~# btrfs subvolume delete my-subvol Delete subvolume (no-commit): '/root/my-subvol' ** Tags removed: verification-n

[Kernel-packages] [Bug 1879688] [NEW] shiftfs: fix btrfs snapshot deletion

2020-05-20 Thread Christian Brauner
on of subvolumes and only by userns root. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: Confirmed ** Changed in: linux (Ubuntu) Status: New => Confirmed ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christ

[Kernel-packages] [Bug 1879196] Re: 'shifted' (shiftfs) FS mount became inconsistent with host FS; resolved by dropping caches

2020-05-19 Thread Christian Brauner
James, can you try this kernel, please: https://drive.google.com/open?id =19iTwaFSYNS95_I-gD_rvFoV9cMAfy6io -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1879196 Title: 'shifted' (shift

[Kernel-packages] [Bug 1879454] Re: Set CONFIG_USELIB=n in Ubuntu kernels

2020-05-19 Thread Christian Brauner
So I've gone through codesearch on Debian and there are no users apart from a bunch of defines for __NR_uselib when it isn't defined. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1879454

[Kernel-packages] [Bug 1879454] [NEW] Set CONFIG_USELIB=n in Ubuntu kernels

2020-05-19 Thread Christian Brauner
Public bug reported: We're currently planning to be more proactive in deprecating the uselib() syscall similar to how we deprecated the sysctl() syscall. This will be a long process of course but the starting point is to set CONFIG_USELIB=n in all new Ubuntu versions. I spoke to Eric and apparentl

[Kernel-packages] [Bug 1879196] Re: 'shifted' (shiftfs) FS mount became inconsistent with host FS; resolved by dropping caches

2020-05-18 Thread Christian Brauner
I have a fix for this note, that this is a regression we introduced by another fix. I also want to put this cautious note here so people better understand why shiftfs has such bugs and why they are not simple idiot regressions but rather intricate to fix: Note, in general it's not advisable to

[Kernel-packages] [Bug 1879196] Re: 'shifted' (shiftfs) FS mount became inconsistent with host FS; resolved by dropping caches

2020-05-18 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1872094] Re: shiftfs: broken shiftfs nesting

2020-05-17 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872094 Title: shiftfs: broken shiftfs nesting Status in linux p

[Kernel-packages] [Bug 1824719] Re: shiftfs: Allow stacking overlayfs on top

2020-05-17 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824719 Title: shiftfs: Allow stacking overlayfs on top Status in

[Kernel-packages] [Bug 1872757] Re: shiftfs: O_TMPFILE reports ESTALE

2020-05-17 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872757 Title: shiftfs: O_TMPFILE reports ESTALE Status in linux

[Kernel-packages] [Bug 1872094] Re: shiftfs: broken shiftfs nesting

2020-05-15 Thread Christian Brauner
** Tags removed: verification-needed-eoan verification-needed-focal ** Tags added: verification-done-eoan verification-done-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872094 Tit

[Kernel-packages] [Bug 1872757] Re: shiftfs: O_TMPFILE reports ESTALE

2020-05-15 Thread Christian Brauner
** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872757 Title: shiftfs: O_TMPFILE reports ESTALE Status

Re: [Kernel-packages] [Bug 1876645] Re: Unable to handle kernel pointer dereference in virtual kernel address space on Eoan

2020-05-06 Thread Christian Brauner
On Wed, May 06, 2020 at 10:32:19AM -, Kleber Sacilotto de Souza wrote: > With the fixup patch applied, I could not reproduce the issue anymore on > both Eoan and Focal running ubuntu_fan_smoke_test and > ubuntu_docker_smoke_test. Sweet, thank you and sorry for the rebase mess-up with Andrei's

[Kernel-packages] [Bug 1857257] Re: linux-image-5.0.0-35-generic breaks checkpointing of container

2020-05-06 Thread Christian Brauner
Fix here: https://lists.ubuntu.com/archives/kernel-team/2020-May/109617.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1857257 Title: linux-image-5.0.0-35-generic breaks checkpointi

[Kernel-packages] [Bug 1876645] Re: Unable to handle kernel pointer dereference in virtual kernel address space on Eoan

2020-05-06 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu Eoan) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu Focal) Status: New => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Chris

[Kernel-packages] [Bug 1876645] Re: Unable to handle kernel pointer dereference in virtual kernel address space on Eoan

2020-05-06 Thread Christian Brauner
Fix here: https://lists.ubuntu.com/archives/kernel-team/2020-May/109617.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1876645 Title: Unable to handle kernel pointer dereference in

[Kernel-packages] [Bug 1857257] Re: linux-image-5.0.0-35-generic breaks checkpointing of container

2020-05-05 Thread Christian Brauner
Yeah, that patch is buggy and I think this might've been my fault actually. The fix should be: diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index 9d16fff5342a..fbec523a67c9 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -42,6 +42,7 @@ static struct file *ovl_open_realfile(

[Kernel-packages] [Bug 1872757] Re: shiftfs: O_TMPFILE reports ESTALE

2020-05-01 Thread Christian Brauner
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872757 Title: shiftfs: O_TMPFILE reports ESTALE Status in

[Kernel-packages] [Bug 1857257] Re: linux-image-5.0.0-35-generic breaks checkpointing of container

2020-04-23 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1857257 Title: linux-image-5.0.0-35-generic breaks checkpointing of c

[Kernel-packages] [Bug 1872757] Re: shiftfs: O_TMPFILE reports ESTALE

2020-04-14 Thread Christian Brauner
** Description changed: SRU Justification Impact: Christian Kellner reported that creating temporary files via O_TMPFILE shiftfs reports ESTALE. This can be reproduced via: import tempfile import os - def test(): - with tempfile.TemporaryFile() as fd: - fd.write("

[Kernel-packages] [Bug 1872757] [NEW] shiftfs: O_TMPFILE reports ESTALE

2020-04-14 Thread Christian Brauner
ithub.com/systemd/systemd/issues/14861 Regression Potential: Limited to shiftfs. Test Case: Build a kernel with fix applied and run above reproducer. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux

[Kernel-packages] [Bug 1872094] Re: shiftfs: broken shiftfs nesting

2020-04-10 Thread Christian Brauner
This should preferably be backported to all LTS kernels that support shiftfs. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872094 Title: shiftfs: broken shiftfs nesting Status in lin

[Kernel-packages] [Bug 1872094] [NEW] shiftfs: broken shiftfs nesting

2020-04-10 Thread Christian Brauner
to the lowers mount to get around vfs layering restrictions. Regression Potential: Limited to shiftfs. Test Case: Built a kernel with the mentioned fix and ran the reproducer. The issue was not reproducible. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner

[Kernel-packages] [Bug 1872094] Re: shiftfs: broken shiftfs nesting

2020-04-10 Thread Christian Brauner
See https://github.com/brauner/ubuntu-unstable/commits/2020-04-10/shiftfs_nesting for fix. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1872094 Title: shiftfs: broken shiftfs nesting

Re: [Kernel-packages] [Bug 1865359] Re: sysfs: incorrect network device permissions on network namespace change

2020-03-27 Thread Christian Brauner
On March 27, 2020 10:57:17 PM GMT+01:00, Seth Forshee wrote: >Applied the patches from linux-next, plus one additional fix I saw, >"sysfs: fix static inline declaration of sysfs_groups_change_owner()". >@Christian, please let me know if there are any other fixes we need to >grab. > >** Changed in

[Kernel-packages] [Bug 1860041] Re: shiftfs: prevent lower dentries from going negative during unlink

2020-03-09 Thread Christian Brauner
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1860041 Title: shiftfs: prevent lower dentries from going n

[Kernel-packages] [Bug 1865359] Re: sysfs: incorrect network device permissions on network namespace change

2020-03-04 Thread Christian Brauner
That's an old version, sorry. It's already in Dave's tree. The merge commit is here: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=ebb4a4bf76f164457184a3f43ebc1552416bc823 -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1865359] Re: sysfs: incorrect network device permissions on network namespace change

2020-03-01 Thread Christian Brauner
The patch series has been acked upstream and is sitting in Dave Miller's tree. We should backport it to 5.4! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1865359 Title: sysfs: incorrec

[Kernel-packages] [Bug 1865359] [NEW] sysfs: incorrect network device permissions on network namespace change

2020-03-01 Thread Christian Brauner
Public bug reported: SRU Justification Impact: patchsets.) We have been struggling with a bug surrounding the ownership of network device sysfs files when moving network devices between network namespaces owned by different user namespaces reported by multiple users. Currently, when moving netw

[Kernel-packages] [Bug 1860041] [NEW] shiftfs: prevent lower dentries from going negative during unlink

2020-01-16 Thread Christian Brauner
the lower dentry before calling vfs_unlink() on it and dput() it afterwards. Regression Potential: Limited to shiftfs. Test Case: Compiled a kernel with the fix and used the reproducer above to verify that the kernel cannot be crashed anymore. ** Affects: linux (Ubuntu) Importance: Undecide

Re: [Kernel-packages] [Bug 1857257] Re: linux-image-5.0.0-35-generic breaks checkpointing of container

2020-01-07 Thread Christian Brauner
On Tue, Jan 07, 2020 at 07:07:36PM -, Andrew Vagin wrote: > The root cause of this fail is a wrong mount ID which is reported for > file mappings: If you have cycles to come up with a patch to fix this that would be appreciated. Otherwise this will end up lower in my priority queue since my ba

[Kernel-packages] [Bug 1849482] Re: shiftfs: fix fallocate()

2019-11-20 Thread Christian Brauner
** Tags removed: verification-needed-disco verification-needed-eoan ** Tags added: verification-done-disco verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1849482 Tit

[Kernel-packages] [Bug 1849483] Re: shiftfs: prevent exceeding project quotas

2019-11-20 Thread Christian Brauner
** Tags removed: verification-needed-disco verification-needed-eoan ** Tags added: verification-done-disco verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1849483 Tit

[Kernel-packages] [Bug 1849281] Re: seccomp: fix SECCOMP_USER_NOTIF_FLAG_CONTINUE test

2019-11-20 Thread Christian Brauner
** Tags removed: verification-needed-disco verification-needed-eoan ** Tags added: verification-done-disco verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1849281 Tit

[Kernel-packages] [Bug 1846265] Re: shiftfs: rework how shiftfs opens files

2019-10-25 Thread Christian Brauner
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1846265 Title: shiftfs: rework how shiftfs opens files Sta

[Kernel-packages] [Bug 1847744] Re: seccomp: add SECCOMP_USER_NOTIF_FLAG_CONTINUE

2019-10-25 Thread Christian Brauner
** Tags removed: verification-needed-disco verification-needed-eoan ** Tags added: verification-done-disco verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1847744 Tit

[Kernel-packages] [Bug 1846272] Re: overlayfs: allow with shiftfs as underlay

2019-10-25 Thread Christian Brauner
** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1846272 Title: overlayfs: allow with shiftfs as underlay S

[Kernel-packages] [Bug 1849483] [NEW] shiftfs: prevent exceeding project quotas

2019-10-23 Thread Christian Brauner
pport. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) ** Changed in: linux (Ubuntu) Status: New => In Progress -- Y

[Kernel-packages] [Bug 1849482] [NEW] shiftfs: fix fallocate()

2019-10-23 Thread Christian Brauner
t on a fixed kernel and see that the call succeeds and the file is of the expected size. Target Kernels: All LTS kernels with shiftfs support. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (U

[Kernel-packages] [Bug 1846272] Re: overlayfs: allow with shiftfs as underlay

2019-10-23 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1846272 Title: overlayfs: allow with shiftfs as underlay

[Kernel-packages] [Bug 1849281] [NEW] seccomp: fix SECCOMP_USER_NOTIF_FLAG_CONTINUE test

2019-10-22 Thread Christian Brauner
mp&id=2aa8d8d04ca29c3269154e1d48855e498be8882f ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Status: New => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Ch

[Kernel-packages] [Bug 1847744] [NEW] seccomp: add SECCOMP_USER_NOTIF_FLAG_CONTINUE

2019-10-11 Thread Christian Brauner
rn code to trap to userspace") ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) ** Changed in: linux (Ubuntu)

[Kernel-packages] [Bug 1836912] Re: ipv4: enable route flushing in network namespaces

2019-10-05 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) ** Changed in: linux (Ubuntu Disco) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received th

[Kernel-packages] [Bug 1841977] Re: shiftfs: drop entries from cache on unlink

2019-10-05 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco ** Changed in: linux (Ubuntu Disco) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1842059] Re: shiftfs: mark kmem_cache as reclaimable

2019-10-05 Thread Christian Brauner
** Changed in: linux (Ubuntu Disco) Assignee: (unassigned) => Christian Brauner (cbrauner) ** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1846272] [NEW] overlayfs: allow with shiftfs as underlay

2019-10-01 Thread Christian Brauner
uced with the new patch. Target kernels: All LTS kernels that do support shiftfs, if possible. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => C

[Kernel-packages] [Bug 1846265] Re: shiftfs: rework how shiftfs opens files

2019-10-01 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1846265] [NEW] shiftfs: rework how shiftfs opens files

2019-10-01 Thread Christian Brauner
Public bug reported: SRU Justification Impact: Currently, shiftfs maintains a kmem cache for struct shiftfs_file_info which stashes away a struct path and the struct file for the underlay. The path however is never used anywhere so the struct shiftfs_file_info and therefore the whole kmem cache c

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-09-16 Thread Christian Brauner
** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836910 Title: br_netfilter: namespace sysctl operation

[Kernel-packages] [Bug 1836912] Re: ipv4: enable route flushing in network namespaces

2019-09-06 Thread Christian Brauner
https://lists.ubuntu.com/archives/kernel-team/2019-September/103672.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836912 Title: ipv4: enable route flushing in network namespaces

[Kernel-packages] [Bug 1837223] Re: shiftfs: add O_DIRECT support

2019-09-06 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1837223 Title: shiftfs: add O_DIRECT support Status in l

[Kernel-packages] [Bug 1837231] Re: UBUNTU: SAUCE: shiftfs: pass correct point down

2019-09-06 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1837231 Title: UBUNTU: SAUCE: shiftfs: pass correct point

[Kernel-packages] [Bug 1836912] Re: ipv4: enable route flushing in network namespaces

2019-09-06 Thread Christian Brauner
See https://lists.ubuntu.com/archives/kernel-team/2019-September/103670.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836912 Title: ipv4: enable route flushing in network namespac

[Kernel-packages] [Bug 1842059] [NEW] shiftfs: mark kmem_cache as reclaimable

2019-08-30 Thread Christian Brauner
cts: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Status: New => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You r

[Kernel-packages] [Bug 1841977] [NEW] shiftfs: drop entries from cache on unlink

2019-08-29 Thread Christian Brauner
+1GB sudo lxc exec b1 -- rm dummy.file sudo zfs list default/containers/b1 # will show +1GB on a non-fixed kernel and -1GB on a fixed kernel Target Kernels: All LTS kernels with shiftfs support. ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbr

[Kernel-packages] [Bug 1838677] Re: shiftfs: allow overlayfs

2019-08-20 Thread Christian Brauner
** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1838677 Title: shiftfs: allow overlayfs Status in linu

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-08-20 Thread Christian Brauner
** Tags removed: verification-needed-bionic verification-needed-disco ** Tags added: verification-done-bionic verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836910

[Kernel-packages] [Bug 1838677] Re: shiftfs: allow overlayfs

2019-08-15 Thread Christian Brauner
** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1838677 Title: shiftfs: allow overlayfs Status in linux

[Kernel-packages] [Bug 1824719] Re: shiftfs: Allow stacking overlayfs on top

2019-08-01 Thread Christian Brauner
SRU request here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838677 Patchset here: https://github.com/brauner/ubuntu-disco/tree/overlayfs_on_shiftfs Mailing list patchset posting here: https://lists.ubuntu.com/archives/kernel-team/2019-August/102741.html ** Changed in: linux (Ubuntu)

[Kernel-packages] [Bug 1838677] Re: shiftfs: allow overlayfs

2019-08-01 Thread Christian Brauner
SRU request here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838677 Patchset here: https://github.com/brauner/ubuntu-disco/tree/overlayfs_on_shiftfs Mailing list patchset posting here: https://lists.ubuntu.com/archives/kernel-team/2019-August/102741.html ** Tags added: shiftfs -- Yo

[Kernel-packages] [Bug 1838677] [NEW] shiftfs: allow overlayfs

2019-08-01 Thread Christian Brauner
ce-cli containerd.io sudo systemctl stop docker cat < Christian Brauner (cbrauner) ** Changed in: linux (Ubuntu) Status: New => Confirmed ** Changed in: linux (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-07-31 Thread Christian Brauner
** Description changed: SRU Justification Impact: Currently, the /proc/sys/net/bridge folder is only created in the initial network namespace. This blocks use-cases where users would like to e.g. not do bridge filtering for bridges in a specific network namespace while doing so for br

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-07-30 Thread Christian Brauner
** Description changed: SRU Justification Impact: Currently, the /proc/sys/net/bridge folder is only created in the initial network namespace. This blocks use-cases where users would like to e.g. not do bridge filtering for bridges in a specific network namespace while doing so for br

[Kernel-packages] [Bug 1837231] [NEW] UBUNTU: SAUCE: shiftfs: pass correct point down

2019-07-19 Thread Christian Brauner
Brauner (cbrauner) Status: In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) ** Changed in: linux (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Kernel Packages, wh

[Kernel-packages] [Bug 1837223] Re: shiftfs: add O_DIRECT support

2019-07-19 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1837223 Title: shiftfs: add O_DIRECT support Status in linux package

[Kernel-packages] [Bug 1837223] [NEW] shiftfs: add O_DIRECT support

2019-07-19 Thread Christian Brauner
/ubuntu-disco/tree/shiftfs_direct_io ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Christian Brauner (cbrauner) Status: Confirmed ** Changed in: linux (Ubuntu) Status: New => Confirmed ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian B

[Kernel-packages] [Bug 1725382] Re: unprivileged fuse mounts feature into the upstream kernel

2019-07-19 Thread Christian Brauner
eam kernel Status in linux package in Ubuntu: Fix Released Bug description: https://github.com/lxc/lxc/issues/1867 As of issue about Debian 9, Christian Brauner concluded "unprivileged fuse mounts is a feature available in the Ubuntu kernel only atm. We are actively working on push

[Kernel-packages] [Bug 1836912] Re: ipv4: enable route flushing in network namespaces

2019-07-17 Thread Christian Brauner
** Description changed: - Tools such as vpnc try to flush routes when run inside network - namespaces by writing 1 into /proc/sys/net/ipv4/route/flush. This - currently does not work because flush is not enabled in non-initial - network namespaces. - Since routes are per network namespace it is sa

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-07-17 Thread Christian Brauner
** Description changed: - Currently, the /proc/sys/net/bridge folder is only created in the initial - network namespace. This patch ensures that the /proc/sys/net/bridge folder - is available in each network namespace if the module is loaded and - disappears from all network namespaces when the mo

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-07-17 Thread Christian Brauner
Relevant upstream commits are: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ff6d090d0db41425aef0cfe5dc58bb3cc12514a2 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22567590b2e634247931b3d2351384ba45720ebe https://git.kernel.org/pub/

[Kernel-packages] [Bug 1836912] Re: ipv4: enable route flushing in network namespaces

2019-07-17 Thread Christian Brauner
Relevant upstream commit is: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5cdda5f1d6adde02da591ca2196f20289977dc56 ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, wh

[Kernel-packages] [Bug 1836910] Re: br_netfilter: namespace sysctl operations

2019-07-17 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1836910 Title: br_netfilter: namespace sysctl operations Status in li

[Kernel-packages] [Bug 1836912] [NEW] ipv4: enable route flushing in network namespaces

2019-07-17 Thread Christian Brauner
Public bug reported: Tools such as vpnc try to flush routes when run inside network namespaces by writing 1 into /proc/sys/net/ipv4/route/flush. This currently does not work because flush is not enabled in non-initial network namespaces. Since routes are per network namespace it is safe to enable

[Kernel-packages] [Bug 1836910] [NEW] br_netfilter: namespace sysctl operations

2019-07-17 Thread Christian Brauner
Public bug reported: Currently, the /proc/sys/net/bridge folder is only created in the initial network namespace. This patch ensures that the /proc/sys/net/bridge folder is available in each network namespace if the module is loaded and disappears from all network namespaces when the module is unl

[Kernel-packages] [Bug 1828227] Re: shiftfs: allow changing ro/rw for subvolumes

2019-07-08 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Expired => Fix Released ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1832316] Re: shiftfs: allow changing ro/rw for subvolumes

2019-06-11 Thread Christian Brauner
Sent patch: https://lists.ubuntu.com/archives/kernel-team/2019-June/101305.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1832316 Title: shiftfs: allow changing ro/rw for subvolumes

[Kernel-packages] [Bug 1832316] Re: shiftfs: allow changing ro/rw for subvolumes

2019-06-11 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: linux (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Christian Brauner (cbrauner) -- You received this bug notification because you are a

[Kernel-packages] [Bug 1832316] [NEW] shiftfs: allow changing ro/rw for subvolumes

2019-06-11 Thread Christian Brauner
Public bug reported: SRU Justification Impact: Stéphane reported regression for btrfs workloads employing shiftfs. Unprivileged users can already toggle whether a subvolume will be ro or rw. This is broken on current shiftfs as we haven't whitelisted these ioctls(). Fix: To enable this with shif

[Kernel-packages] [Bug 1832316] Re: shiftfs: allow changing ro/rw for subvolumes

2019-06-11 Thread Christian Brauner
See https://git.launchpad.net/~cbrauner/ubuntu/+source/linux/+git/disco/log/?h=2019-05-07/shiftfs_btrfs_ioctls -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1832316 Title: shiftfs: allo

[Kernel-packages] [Bug 1828227] [NEW] shiftfs: allow changing ro/rw for subvolumes

2019-05-08 Thread Christian Brauner
Public bug reported: Unprivileged users can already toggle whether a subvolume will be ro or rw. Not having this working with shiftfs regresses various use-cases. Issues have already been seen by Stéphane Graber (Cced here). To enable this with shiftfs we need to whitelist BTRFS_IOC_FS_INFO, BTRFS

[Kernel-packages] [Bug 1827122] Re: shiftfs: lock security sensitive superblock flags

2019-04-30 Thread Christian Brauner
** Patch added: "0001-UBUNTU-SAUCE-shiftfs-lock-down-certain-superblock-fl.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827122/+attachment/5260369/+files/0001-UBUNTU-SAUCE-shiftfs-lock-down-certain-superblock-fl.patch -- You received this bug notification because you are a me

[Kernel-packages] [Bug 1827122] [NEW] shiftfs: lock security sensitive superblock flags

2019-04-30 Thread Christian Brauner
s it possible to have one? I quickly attempted to have root do the shiftfs mounts for the users, but it seems the shift is always for the root of the current userns, and can't be done for another user." ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Ch

[Kernel-packages] [Bug 1824812] Re: apparmor does not start in Disco LXD containers

2019-04-15 Thread Christian Brauner
Okay, I have a fix for the shiftfs side I think. Attached here. ** Patch added: "UBUNTU: SAUCE: shiftfs: use correct llseek method for" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1824812/+attachment/5256074/+files/0001-UBUNTU-SAUCE-shiftfs-use-correct-llseek-method-for-d.patch --

[Kernel-packages] [Bug 1824735] Re: shiftfs: use after free when checking mount options

2019-04-15 Thread Christian Brauner
** Changed in: linux (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1824735 Title: shiftfs: use after free when checking mount option

[Kernel-packages] [Bug 1824735] Re: shiftfs: use after free when checking mount options

2019-04-15 Thread Christian Brauner
** Description changed: SRU Justification Impact: We currently keep a reference to the shiftfs mark mount's shiftfs_super_info which was stashed in the superblock of the mark mount. The problem is that we only take a reference to the mount of the underlay, i.e. the filesystem that is *u

[Kernel-packages] [Bug 1824735] Re: shiftfs: use after free when checking mount options

2019-04-15 Thread Christian Brauner
** Description changed: SRU Justification Impact: We currently keep a reference to the shiftfs mark mount's shiftfs_super_info which was stashed in the superblock of the mark mount. The problem is that we only take a reference to the mount of the underlay, i.e. the filesystem that is *u

  1   2   >