Closed Marker689 closed 1 year ago
Okay, actually it's only trouble of building monerod container, but maybe someone still can help?
@bladedoyle maybe you can help?
this seems to describe the issue: https://superuser.com/questions/1435437/how-to-get-around-this-error-when-untarring-an-archive-tar-cannot-change-owner
Maybe there are lxc settings to work around this, or maybe it would be possible to alias the tar command to patch in the "--no-same-owner" flag. I'll need to do a little testing. I dont have much lxc experience but will see if I can reproduce and find a solution.
@Marker689 Can you please share your lxc container settings so I can try to reproduce the error?
I created a privileged lxc container with the following settings and did not see any issue: root@foobox:/etc/lxc# more default.conf
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx
lxc.apparmor.profile = unconfined
lxc.apparmor.allow_nesting = 1
lxc.seccomp.allow_nesting = 1
lxc.mount.auto=proc:rw sys:rw cgroup:rw
lxc.cgroup.devices.allow=a
lxc.cap.drop=
@Marker689 did you try default.conf from @bladedoyle ? If you don't have the problem anymore, I'll close this issue.
Trying to "docker compose build", but got Tar error. Running docker in LXC Ubuntu-22.04.