I saw something similar before: https://github.com/Microsoft/WSL/issues/2981
Although it was WSL-related, user namespaces something something. ср, 26 дек. 2018 г. в 08:34, Jonathan Schultz <[email protected]>: > > >> >> ERROR unshare (Operation not permitted) >> >> This is the actual error: unshare does not have setgid (or you are not >> in the group). > > > I believe the error is actually related to running xbps-src inside a Docker > container, as setting setgid, or running as root make no difference. For the > record, after much trial-and-error I have managed to find a combination that > works. It required running the container as user root, and with both the > --privileged and --cap-add=SYS_ADMIN options. > > However I have not entirely given up on finding a simpler solution. One > promising route seemed to be to use the proot utility, which works in > userspace, thus potentially avoiding all these permission problems. However > when I try building using proot I see the following: > > > configure: creating ./config.status > > config.status: creating MakefileI the following: > > mv: cannot move './confT6XesZ/out' to 'Makefile': No such file or directory > > config.status: error: could not create Makefileerrors > > I've had a bit of a go at reverse engineering the xbps-src build process, but > found it all a bit confusing, so wondering if anyone might have seen > something like this before. > > Thanks as always. > > -- > You received this message because you are subscribed to the Google Groups > "voidlinux" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/voidlinux/CAN_yh5FT6-KeR4SDKT0%3DXU9%3DQoqaV18%3Dcr3ust0wsksVsKTtnQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "voidlinux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/CAMteYTZHt8LOeBukf1ahZc1qyD7tbLU9oMD9n_%3Dp43SzF6Oh9w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
