docker buildx对某些目录有权限锁定问题?#1496
No response
https://cnb.cool/jgd.cool/dockerfile/-/build/logs/cnb-rjo-1j1q06113 测试最基本的dnf update都会报错 RUN set -eux && dnf update -y && dnf install -y fontconfig unzip wget net-tools telnet iputils bind-utils traceroute && dnf clean all && ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone [构建并推送 anolisos] #7 41.39 Cleanup : tzdata-2025a-1.0.1.an8.noarch 80/81 [构建并推送 anolisos] #7 41.41 Cleanup : libgcc-8.5.0-23.0.1.an8.x86_64 81/81 [构建并推送 anolisos] #7 41.41 Running scriptlet: libgcc-8.5.0-23.0.1.an8.x86_64 81/81 [构建并推送 anolisos] #7 41.49 Running scriptlet: rpm-4.14.3-32.0.2.an8.x86_64 81/81 [构建并推送 anolisos] #7 42.09 warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. [构建并推送 anolisos] #7 42.09 warning: Converting database from bdb_ro to sqlite backend [构建并推送 anolisos] #7 42.09 error: failed to replace old database with new database! [构建并推送 anolisos] #7 42.09 error: replace files in /var/lib/rpm with files from /var/lib/rpmrebuilddb.203 to recover [构建并推送 anolisos] #7 42.09 warning: %posttrans(rpm-4.14.3-32.0.2.an8.x86_64) scriptlet failed, exit status 1 [构建并推送 anolisos] #7 42.09 [构建并推送 anolisos] #7 42.09 Error in POSTTRANS scriptlet in rpm package rpm
相同代码本地测试和阿里云等平台测试都没有问题
妲己
提供一下 trace id 或 响应头 traceparent?
No response
描述一下重现步骤?更快的确认问题
https://cnb.cool/jgd.cool/dockerfile/-/build/logs/cnb-rjo-1j1q06113
测试最基本的dnf update都会报错
RUN set -eux && dnf update -y && dnf install -y fontconfig unzip wget net-tools telnet iputils bind-utils traceroute && dnf clean all && ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
[构建并推送 anolisos] #7 41.39 Cleanup : tzdata-2025a-1.0.1.an8.noarch 80/81
[构建并推送 anolisos] #7 41.41 Cleanup : libgcc-8.5.0-23.0.1.an8.x86_64 81/81
[构建并推送 anolisos] #7 41.41 Running scriptlet: libgcc-8.5.0-23.0.1.an8.x86_64 81/81
[构建并推送 anolisos] #7 41.49 Running scriptlet: rpm-4.14.3-32.0.2.an8.x86_64 81/81
[构建并推送 anolisos] #7 42.09 warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
[构建并推送 anolisos] #7 42.09 warning: Converting database from bdb_ro to sqlite backend
[构建并推送 anolisos] #7 42.09 error: failed to replace old database with new database!
[构建并推送 anolisos] #7 42.09 error: replace files in /var/lib/rpm with files from /var/lib/rpmrebuilddb.203 to recover
[构建并推送 anolisos] #7 42.09 warning: %posttrans(rpm-4.14.3-32.0.2.an8.x86_64) scriptlet failed, exit status 1
[构建并推送 anolisos] #7 42.09
[构建并推送 anolisos] #7 42.09 Error in POSTTRANS scriptlet in rpm package rpm