Lsetxattr secuirty.capability /bin/ping: operation not supported

Hoping someone here has some insight to this issue, even though it is not a specific pihole issue.

Trying to run pihole on openwrt. When pulling the pihole:latest image, the following error occurs:

root@OpenWrt:/mnt/docker# docker pull pihole/pihole
Using default tag: latest
latest: Pulling from pihole/pihole
5b16029f28c4: Pull complete
bfee919580cf: Extracting [==================================================>]  55.75MB/55.75MB
4f4fb700ef54: Download complete
e96c806aa072: Download complete
44bcc07472f9: Download complete
fde0fc002115: Download complete
2653524f373e: Download complete
c16fe7ea4f77: Download complete
5e7ffeb418c7: Download complete
failed to register layer: lsetxattr security.capability /bin/ping: operation not supported

This error has been seen elsewhere with other images.

However, when pulling pihole/pihole:development-v6 there is no error. I am able to run pihole without issues. I do see the following in the log:

pihole  |   [i] Setting capabilities on pihole-FTL where possible
pihole  |   [i] Applying the following caps to pihole-FTL:
pihole  |         * CAP_CHOWN
pihole  |         * CAP_NET_BIND_SERVICE
pihole  |         * CAP_NET_RAW
pihole  | Failed to set capabilities on file '/usr/bin/pihole-FTL': Not supported

but it does not seem to affect anything and as far as I can tell Pi-hole is working.

Anyone have some insight into why latest won't pull, but the v6 would?

1 Like

running into this issue myself. did you ever find a solution to this? If the development image works but not the latest, something in the main branch is keeping it from being pulled. Do you happen to be pulling you images to an alternate file system or a mount? I'm trying to pull mine to an nfs mount. May be worth filing a bug report if one branch works and the other doesn't.

Both links posted by you are pointing to an issue in OpenWRT kernel.

There has been some talk on the openwrt forum about using BTRFS mount for an external drive.
I didn't get a chance to try it yet, doesn't help when using overlay.