WDCommunity / wdpksrc

Cross compilation framework to create native packages for the Western Digital My Cloud
BSD 3-Clause "New" or "Revised" License
225 stars 61 forks source link

Kernel option "CONFIG_KERNEL_EXT4_FS_SECURITY" #123

Open ssadun opened 2 months ago

ssadun commented 2 months ago

Platform PR2100

Application Docker

Describe the bug I manage to update docker from 20.10.14 to 27.2.0 version however when I try to deploy AdGuard via docker compose I receive below error. However, with my previous version it successfully deploys. This is also valid containers like Pi.Hole, Caddy and Checkmk.

failed to register layer: lsetxattr security.capability /opt/adguardhome/AdGuardHome: operation not supported

Then started to dig and I found same error with mine at below URL.

https://github.com/AdguardTeam/AdGuardHome/issues/6816#issuecomment-2001650551

which basically tells entware (OpenWrt) doesn't have CONFIG_KERNEL_EXT4_FS_SECURITY option in kernel. However, I can deploy AdGuard via docker compose docker on 20.10.14 so it shouldn't be because of kernel option.

Do you have any idea?

Docker version 27.2.0

root@NAS adguard # docker version
Client:
 Version:           27.2.0
 API version:       1.47
 Go version:        go1.21.13
 Git commit:        3ab4256
 Built:             Tue Aug 27 14:14:20 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.2.0
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.21.13
  Git commit:       3ab5c7d0
  Built:            Tue Aug 27 14:15:44 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.21
  GitCommit:        472731909fa34bd7bc9c087e4c27943f9835f111
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker version 20.10.14

root@NAS adguard # docker version
Client:
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:45:09 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:49:54 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.11
  GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0