Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #69667
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Nicolas Schier <nicolas@fjasle.eu> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#969223: Can't rm directory on overlayfs in userns |
| Date | Wed, 03 Mar 2021 08:50:01 +0100 |
| Message-ID | <BOuqB-65P-1@gated-at.bofh.it> (permalink) |
| References | <AKs6d-37f-1@gated-at.bofh.it> <APAFP-1DU-3@gated-at.bofh.it> <AJ9S1-516-1@gated-at.bofh.it> <APIWJ-6uw-1@gated-at.bofh.it> <APKOS-7BX-1@gated-at.bofh.it> <AJ9S1-516-1@gated-at.bofh.it> <APKYy-7UG-3@gated-at.bofh.it> <AJ9S1-516-1@gated-at.bofh.it> <BkLYm-2lU-9@gated-at.bofh.it> <AJ9S1-516-1@gated-at.bofh.it> <BkLYm-2lU-9@gated-at.bofh.it> |
| X-Original-To | 969223@bugs.debian.org |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Wed Mar 3 07:45:10 2021 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -3.951 |
| Reply-To | Nicolas Schier <nicolas@fjasle.eu>, 969223@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 969223 |
| X-Debian-Pr-Package | src:linux |
| X-Debian-Pr-Source | linux |
| X-Spam-Bayes | score:0.0000 Tokens: new, 26; hammy, 150; neutral, 206; spammy, 0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256, 0.000-+--UD:kernel.org, 0.000-+--H*r:key-exchange, 0.000-+--H*r:RSA-PSS, 0.000-+--H*r:server-digest |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HxC3mK7Yu4VN2l7e" |
| Content-Disposition | inline |
| X-Operating-System | Debian GNU/Linux bullseye/sid |
| Jabber-ID | nicolas@jabber.no |
| X-Provags-ID | V03:K1:YUsW/b3+ADsMN+xstMic8YlsBLszP/sWZsGdr1BU3SpMS0ssFWl UWEqLgF0LZX1LkUAkjjdU1E8UkEqfli8gLoccwAWeHdqNU57HYEfjB77rbnKWHVsItniFq5 VSuZ5e597koZ8OHX1jmESgdSrKR9ZFahLqlkAYd1IzpWuQZguX/JIqnojorVKTCXw9Wzzbv P9qJfZUtFqY3JdF1zuoIQ== |
| X-Ui-Out-Filterresults | notjunk:1;V03:K0:5/XvWIzVvVM=:L9q0H29Bj4eC8Evd+7HBEx u1+dxQxDMhswvQ+tvDovv2d+WmDXIfm7C/iQsL/WWreix+N42LcOsRP+6MEzoIGq7cvQin8Il FO/mCgpr8HLFawODUUCNGD9aRB/pTVpiZCi71fQ30t3IeW0mcys1EdmdaZVvpoZgZAC3y1y69 kDzgeT7B9fZsXJG71E9k6Rl1hXpATVsNfNP65U6U/Bt7VmynggTSyJkmTy9k3qjitn4NOP2sQ RdrGDhku/WhAiD7Q/rjCnu0vydt2RASHJdusOPZgtaDe05DW3NdbYCcMmUQGejh2AePDZtUvs FhA5vpYWlq/7fYlsDSgOw1ZmKEg1ApSRphMJJHpQUWHq2NY+SqWkkelVwd75w//VMicuhEVG9 E0BIR5SIIkqdPGE6xTYG6/fOENcFsZPixMrHsJjTIOjkGhEhTgdrSL7WSF5OINHpZJrWw3+Ex nhr0wahlcg== |
| X-Greylist | delayed 312 seconds by postgrey-1.36 at buxtehude; Wed, 03 Mar 2021 07:40:38 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1654351 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 94 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Shengjing Zhu <zhsj@debian.org> |
| X-Original-Date | Wed, 3 Mar 2021 08:35:14 +0100 |
| X-Original-Message-ID | <YD88Mhxr7gJnexuD@lillesand.fjasle.eu> |
| X-Original-References | <CAFyCLW-+iW1aSWxSQOmJGC9+O+HySmb7orazW2AOm8v3i=M=pg@mail.gmail.com> <20200916075317.GQ18520@fjasle.eu> <20200829141322.GA197496@local.zhsj.me> <CAFyCLW-2k5rw+hrXeYGXuFiTERSaiugGCNpu8Pw=r8Low3pLYA@mail.gmail.com> <20200916184647.GS18520@fjasle.eu> <20200829141322.GA197496@local.zhsj.me> <CAFyCLW-9-=kdTbzOwSn71YRDFTH-4Q6s08ejzWJu_tjBmiATJA@mail.gmail.com> <20200829141322.GA197496@local.zhsj.me> <X9MpdYkfWLeSc8Rl@lillesand.fjasle.eu> <20200829141322.GA197496@local.zhsj.me> <X9MpdYkfWLeSc8Rl@lillesand.fjasle.eu> |
| Xref | csiph.com linux.debian.bugs.dist:1050631 linux.debian.kernel:69667 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Fri, Dec 11, 2020 09:10 AM Nicolas Schier wrote:
>
> On Tue, Sep 17, 2020 at 2:57 AM Shengjing Zhu wrote:
> >
> > On Thu, Sep 17, 2020 at 2:52 AM Nicolas Schier <nicolas@fjasle.eu> wrote:
> > >
> > > > I think I just mess up when debugging. It seems it never works.
> > > >
> > > > Maybe we should revert permit_mounts_in_userns? as it doesn't seem to
> > > > work. Buster is also affected.
> > >
> > > Please, don't be too fast when thinking about a revert. Several of my
> > > colleagues (Debian users) cling to the feature since they need it for
> > > using the company's LXC containers; if permit_mounts_in_userns is
> > > removed again, they might be forced to switch to non-Debian kernels or
> > > to live-patch the kernel with fragile stuff like [1], cp. #913880.
> >
> > I mean if you can't even remove a directory with files, it's too broken to use.
> > So your colleagues find the userns overlay works?
> > Or you mean we should take Ubuntu's patch to fix the issue?
>
> sorry for the long delay. My colleagues are using unpriviledged LXC
> with overlay fs for building purposes only, thus, read-only access is
> sufficient and works. (But yes, the incomplete write-support leads to
> annoyance.)
>
> Currently, there is a patch on linux-unionfs that allows using user
> xattrs for overlay fs meta data [1]. If the related patchset [2] is
> going to be merged, the Debian patch will become obsolete; otherwise we
> could think about picking up the patch from [1].
>
> As far as I have seen, the Ubuntu patch allows unpriviledged users to
> modify 'trusted.overlay.*' xattrs, which probably has security
> implications. ("Probably" as just had a superficial look at it.)
>
> I would prefer to keep a watch on [2] and dicuss further, if it has
> been merged or rejected.
>
> Kind regards,
> Nicolas
>
>
>
> [1]: [PATCH v2 06/10] ovl: user xattr
> https://lore.kernel.org/linux-unionfs/20201207163255.564116-7-mszeredi@redhat.com/
>
> [2]: https://lore.kernel.org/linux-unionfs/CAJfpegsiuf8ib5cvVrr=zHZ+Xu7BMMTT2eYapsEUdmPcRBUiwQ@mail.gmail.com/T/#t
The overlay fs patchset [2] has been merged and with v5.10.13 (tested
on linux-image-5.10.0-3-arm64) the issue is no more reproducible for
me. Might you want to re-check on your site?
Kind regards,
Nicolas
--
epost: nicolas@fjasle.eu irc://oftc.net/nsc
↳ gpg: 18ed 52db e34f 860e e9fb c82b 7d97 0932 55a0 ce7f
-- frykten for herren er opphav til kunnskap --
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2020-08-29 16:20 +0200
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2020-09-02 06:00 +0200
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2020-09-16 10:10 +0200
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2020-09-16 19:00 +0200
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2020-09-16 21:00 +0200
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2020-09-16 21:10 +0200
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2020-12-11 09:30 +0100
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2021-03-03 08:50 +0100
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2021-03-03 10:40 +0100
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2021-03-03 11:40 +0100
Bug#969223: Can't rm directory on overlayfs in userns Shengjing Zhu <zhsj@debian.org> - 2021-03-03 16:00 +0100
Bug#969223: Can't rm directory on overlayfs in userns Nicolas Schier <nicolas@fjasle.eu> - 2021-03-11 07:20 +0100
csiph-web