On Tue, Sep 05, 2023 at 07:52:52AM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230904 21:49]:
> > On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote:
> > > I guess I'll now do a full rebuild of my linuxulator userspace branch on
> > > a kernel with that patch, just to be sure it
On Tue, Sep 05, 2023 at 07:52:52AM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230904 21:49]:
> > On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote:
> > > I guess I'll now do a full rebuild of my linuxulator userspace branch on
> > > a kernel with that patch, just to be sure it
* Dmitry Chagin [20230904 21:49]:
> On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote:
> > I guess I'll now do a full rebuild of my linuxulator userspace branch on
> > a kernel with that patch, just to be sure it won't break anything else,
> > this will take a few hours, I will report
* Dmitry Chagin [20230904 21:49]:
> On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote:
> > Thanks a lot for the quick patch! I have to admit I don't fully
> > understand it immediately, but I assume it's an attempt to only list
> > attributes not in system.* when that namespace is
On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote:
> Hello Dmitry,
>
> * Dmitry Chagin [20230904 21:29]:
> > Thanks for the report,
> > please, try this: https://people.freebsd.org/~dchagin/lxattr.patch
> > Don't be surprised, there 2 fixes
>
> Thanks a lot for the quick patch! I
Hello Dmitry,
* Dmitry Chagin [20230904 21:29]:
> Thanks for the report,
> please, try this: https://people.freebsd.org/~dchagin/lxattr.patch
> Don't be surprised, there 2 fixes
Thanks a lot for the quick patch! I have to admit I don't fully
understand it immediately, but I assume it's an
On Mon, Sep 04, 2023 at 04:03:54PM +0200, Felix Palmen wrote:
> * Felix Palmen [20230904 15:39]:
> > For some reason (I still have to try to get more information about it,
> > will do soon), something else is broken now. While install from GNU
> > coreutils works fine, some build systems use 'cp
* Felix Palmen [20230904 15:39]:
> For some reason (I still have to try to get more information about it,
> will do soon), something else is broken now. While install from GNU
> coreutils works fine, some build systems use 'cp -p' to install files
> instead, which now fails with:
>
> | cp:
Hello Dmitry,
* Dmitry Chagin [20230830 14:04]:
> Thanks, I see, I agree with your change, taken into account.
Thanks a lot for committing the fix/workaround as well as the new
feature! I just upgraded my test builders to 15-CURRENT to double-check.
For some reason (I still have to try to get
On Wed, Aug 30, 2023 at 06:55:14AM +0200, Alexander Leidinger wrote:
> Am 2023-08-29 21:02, schrieb Shawn Webb:
>
> > Back in 2019, I had a similar issue: I needed access to be able to
> > read/write to the system extended attribute namespace from within a
> > jailed context. I wrote a rather
On Tue, Aug 29, 2023 at 02:07:11PM -0500, Kyle Evans wrote:
> On 8/29/23 14:02, Shawn Webb wrote:
> > On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote:
> > > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> > > > * Dmitry Chagin [20230828 18:57]:
> > > > > On Mon, Aug
On Wed, Aug 30, 2023 at 12:58:45PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230830 13:48]:
> > On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote:
> > > Unfortunately, install from GNU coreutils is now unable to install
> > > anything again. I tried both as 'nobody' and as
* Felix Palmen [20230830 12:58]:
> * Dmitry Chagin [20230830 13:48]:
> > I don't changed setxattr syscalls due to EPERM is a valid error from it,
> > however here's the essential difference between Linux and FreeBSD.
> > FreeBSD does not permits manipulatingg attributes in the
> > system
* Dmitry Chagin [20230830 13:48]:
> On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote:
> > Unfortunately, install from GNU coreutils is now unable to install
> > anything again. I tried both as 'nobody' and as 'root', it doesn't make
> > a difference:
> > [...]
> > I assume the
On Wed, Aug 30, 2023 at 12:33:23PM +0200, Felix Palmen wrote:
> * Felix Palmen [20230830 12:01]:
> > Unfortunately, install from GNU coreutils is now unable to install
> > anything again. I tried both as 'nobody' and as 'root', it doesn't make
> > a difference:
> > [...]
> > I assume the
* Felix Palmen [20230830 12:01]:
> * Dmitry Chagin [20230830 12:22]:
> > On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote:
> > > * Unprivileged user will get ENOTSUP when trying to access the system
> > > namespace (regardless of the new jail setting), so GNU tools like e.g.
> > >
On Wed, Aug 30, 2023 at 12:01:13PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230830 12:22]:
> > On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote:
> > > * Unprivileged user will get ENOTSUP when trying to access the system
> > > namespace (regardless of the new jail setting),
* Felix Palmen [20230830 12:01]:
> Unfortunately, install from GNU coreutils is now unable to install
> anything again. I tried both as 'nobody' and as 'root', it doesn't make
> a difference:
> [...]
> I assume the fsetxattr call needs some adjustment of error codes as well
> to make GNU tools
* Dmitry Chagin [20230830 12:22]:
> On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote:
> > * Unprivileged user will get ENOTSUP when trying to access the system
> > namespace (regardless of the new jail setting), so GNU tools like e.g.
> > coreutils install should "just work".
>
On Wed, Aug 30, 2023 at 11:20:39AM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230830 11:57]:
> > On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote:
> > > Thanks again for quickly fixing this! Can this still make 14.0-RELEASE?
> > >
> > I think yes, thanks for testing, I revised
* Dmitry Chagin [20230830 11:57]:
> On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote:
> > Thanks again for quickly fixing this! Can this still make 14.0-RELEASE?
> >
> I think yes, thanks for testing, I revised the error handling and made
> it more precise, can you test new patch in
On Tue, Aug 29, 2023 at 08:58:13PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230829 21:12]:
> > On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote:
> > > So, using user.* works, using system.* doesn't, and maybe a bit
> > > surprising(?), dumping all attributes which by default
* Dmitry Chagin [20230829 23:16]:
> On Tue, Aug 29, 2023 at 03:02:58PM -0400, Shawn Webb wrote:
> > Back in 2019, I had a similar issue: I needed access to be able to
> > read/write to the system extended attribute namespace from within a
> > jailed context. I wrote a rather simple patch that
Am 2023-08-29 21:31, schrieb Felix Palmen:
* Shawn Webb [20230829 15:25]:
On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote:
> * Kyle Evans [20230829 14:07]:
> > On 8/29/23 14:02, Shawn Webb wrote:
> > > Back in 2019, I had a similar issue: I needed access to be able to
> > >
Am 2023-08-29 21:02, schrieb Shawn Webb:
Back in 2019, I had a similar issue: I needed access to be able to
read/write to the system extended attribute namespace from within a
jailed context. I wrote a rather simple patch that provides that
support on a per-jail basis:
On 8/29/23 14:15, Felix Palmen wrote:
* Kyle Evans [20230829 14:07]:
On 8/29/23 14:02, Shawn Webb wrote:
Back in 2019, I had a similar issue: I needed access to be able to
read/write to the system extended attribute namespace from within a
jailed context. I wrote a rather simple patch that
On Tue, Aug 29, 2023 at 03:02:58PM -0400, Shawn Webb wrote:
> On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote:
> > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> > > * Dmitry Chagin [20230828 18:57]:
> > > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen
On Tue, Aug 29, 2023 at 09:31:46PM +0200, Felix Palmen wrote:
> * Shawn Webb [20230829 15:25]:
> > On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote:
> > > * Kyle Evans [20230829 14:07]:
> > > > On 8/29/23 14:02, Shawn Webb wrote:
> > > > > Back in 2019, I had a similar issue: I
* Shawn Webb [20230829 15:25]:
> On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote:
> > * Kyle Evans [20230829 14:07]:
> > > On 8/29/23 14:02, Shawn Webb wrote:
> > > > Back in 2019, I had a similar issue: I needed access to be able to
> > > > read/write to the system extended
On Tue, Aug 29, 2023 at 09:15:03PM +0200, Felix Palmen wrote:
> * Kyle Evans [20230829 14:07]:
> > On 8/29/23 14:02, Shawn Webb wrote:
> > > Back in 2019, I had a similar issue: I needed access to be able to
> > > read/write to the system extended attribute namespace from within a
> > > jailed
* Kyle Evans [20230829 14:07]:
> On 8/29/23 14:02, Shawn Webb wrote:
> > Back in 2019, I had a similar issue: I needed access to be able to
> > read/write to the system extended attribute namespace from within a
> > jailed context. I wrote a rather simple patch that provides that
> > support on a
On 8/29/23 14:02, Shawn Webb wrote:
On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote:
On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
* Dmitry Chagin [20230828 18:57]:
On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote:
* Cy Schubert [20230827 16:59]:
On Tue, Aug 29, 2023 at 05:45:51PM +0300, Dmitry Chagin wrote:
> On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> > * Dmitry Chagin [20230828 18:57]:
> > > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote:
> > > > * Cy Schubert [20230827 16:59]:
> > > > >
> > > > > If
* Dmitry Chagin [20230829 21:12]:
> On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote:
> > So, using user.* works, using system.* doesn't, and maybe a bit
> > surprising(?), dumping all attributes which by default excludes the
> > system namespace doesn't work either.
> >
>
> As
On Tue, Aug 29, 2023 at 07:02:22PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230829 17:45]:
> > On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> > > Thanks, I can confirm this avoids the issue in both cases I experienced
> > > (install from GNU coreutils and python).
> > >
>
* Dmitry Chagin [20230829 17:45]:
> On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> > Thanks, I can confirm this avoids the issue in both cases I experienced
> > (install from GNU coreutils and python).
> >
> thanks, this is the first half of the fix, it works for you due to you
On Tue, Aug 29, 2023 at 12:59:11PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230828 18:57]:
> > On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote:
> > > * Cy Schubert [20230827 16:59]:
> > > >
> > > > If we are to break it to fix a problem, maybe a sysctl to
> > > >
* Dmitry Chagin [20230828 18:57]:
> On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote:
> > * Cy Schubert [20230827 16:59]:
> > >
> > > If we are to break it to fix a problem, maybe a sysctl to enable/disable
> > > then?
> >
> > IMHO depends on the exact nature of the problem. If
On 2023-08-28 05:17, Alexander Leidinger wrote:
Am 2023-08-28 13:06, schrieb Dmitry Chagin:
On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote:
* Dmitry Chagin [20230827 22:46]:
> I can fix this completely disabling exttatr for jailed proc,
> however, it's gonna be bullshit,
On Mon, Aug 28, 2023 at 08:03:33AM +0200, Felix Palmen wrote:
> * Cy Schubert [20230827 16:59]:
> > On August 27, 2023 12:55:23 PM PDT, Felix Palmen wrote:
> > >* Dmitry Chagin [20230827 22:46]:
> > >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
> > >> > * Dmitry Chagin
Am 2023-08-28 13:06, schrieb Dmitry Chagin:
On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote:
* Dmitry Chagin [20230827 22:46]:
> I can fix this completely disabling exttatr for jailed proc,
> however, it's gonna be bullshit, though
Would probably be better than nothing. AFAIK,
On Sun, Aug 27, 2023 at 09:55:23PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230827 22:46]:
> > On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
> > > * Dmitry Chagin [20230827 20:54]:
> > > > 1. which fs are you using?
> > >
> > > ZFS.
> > >
> > > > 2. jailed?
> > >
> > >
* Cy Schubert [20230827 16:59]:
> On August 27, 2023 12:55:23 PM PDT, Felix Palmen wrote:
> >* Dmitry Chagin [20230827 22:46]:
> >> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
> >> > * Dmitry Chagin [20230827 20:54]:
> >> > > 1. which fs are you using?
> >> >
> >> > ZFS.
>
On August 27, 2023 12:55:23 PM PDT, Felix Palmen wrote:
>* Dmitry Chagin [20230827 22:46]:
>> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
>> > * Dmitry Chagin [20230827 20:54]:
>> > > 1. which fs are you using?
>> >
>> > ZFS.
>> >
>> > > 2. jailed?
>> >
>> > Yes, this is
* Dmitry Chagin [20230827 22:46]:
> On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
> > * Dmitry Chagin [20230827 20:54]:
> > > 1. which fs are you using?
> >
> > ZFS.
> >
> > > 2. jailed?
> >
> > Yes, this is during building ports with poudriere.
> >
>
> I think it's a weird
On Sun, Aug 27, 2023 at 07:59:32PM +0200, Felix Palmen wrote:
> * Dmitry Chagin [20230827 20:54]:
> > 1. which fs are you using?
>
> ZFS.
>
> > 2. jailed?
>
> Yes, this is during building ports with poudriere.
>
I think it's a weird prohibition on changing system namespace extattr
* Dmitry Chagin [20230827 20:54]:
> 1. which fs are you using?
ZFS.
> 2. jailed?
Yes, this is during building ports with poudriere.
Cheers, Felix
--
Felix Palmen {private} fe...@palmen-it.de
-- ports committer -- {web} http://palmen-it.de
{pgp public key}
On Sun, Aug 27, 2023 at 07:15:57PM +0200, Felix Palmen wrote:
> * Felix Palmen [20230825 19:54]:
> > To verify, I removed xattr support completely from coreutils (and also
> > sed) in commit "linuxsrc: Disable usage of xattr" and indeed, with this
> > change, GNU's install works as it should.
>
* Felix Palmen [20230825 19:54]:
> To verify, I removed xattr support completely from coreutils (and also
> sed) in commit "linuxsrc: Disable usage of xattr" and indeed, with this
> change, GNU's install works as it should.
I now ran into a second case which makes it very likely the xattr
* Felix Palmen [20230825 19:54]:
> So, hoping for someone with some knowledge how to debug this ;)
Information I forgot to add, sorry:
I did my tests on an aarch64 machine with a kernel built from
a98a0090b2ba64ff0bc3cf71a00fb5f9e31fc1d3.
Cheers, Felix
--
Felix Palmen {private}
Hi all and Dmitry,
(CC to Dmitry because he added this linux xattr support in
22dca7acf7756c07d3ccbfdc8dfd10fd9ad3f9cf)
I'm currently working on an idea to build a userland for Linuxulator
from source here:
https://github.com/Zirias/zfbsd-ports/commits/linux
Now I ran into an issue with the
51 matches
Mail list logo