Incomplete package installation with v3 index
I'm trying to use the new v3 index and made some progress. The package is created and index signed. However the add
function breaks for whatever reason. Using extract
works fine.
Below an example on how I run it:
❯ fakeroot ./staging_dir/hostpkg/bin/apk add --root apk/ --keys-dir etc/apk/keys opkg
(1/1) Installing opkg (2021-06-13-1bf042dd-3)
ERROR: opkg-2021-06-13-1bf042dd-3: failed to commit etc/opkg.conf: No such file or directory
ERROR: opkg-2021-06-13-1bf042dd-3: failed to commit etc//uci-defaults/20_migrate-feeds: No such file or directory
ERROR: opkg-2021-06-13-1bf042dd-3: failed to commit etc/opkg/customfeeds.conf: No such file or directory
1 error; 0 MiB in 1 packages
Strange points are that it works fine for all folders but `/etc/` and `extract` *just works*.
Below is the `tree` output, the temporary files in `/etc/` are not correctly renamed:
```shell
❯ tree -a
.
├── bin
│ └── opkg
├── etc
│ ├── apk
│ │ ├── arch
│ │ ├── commit_hooks.d
│ │ ├── keys
│ │ │ ├── private-key.pem -> /home/user/src/openwrt/openwrt/private-key.pem
│ │ │ └── public-key.pem -> /home/user/src/openwrt/openwrt/public-key.pem
│ │ ├── protected_paths.d
│ │ ├── repositories
│ │ └── world
│ ├── .apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84
│ ├── opkg
│ │ └── .apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc
│ └── uci-defaults
│ └── .apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404
├── home -> /home/
├── lib
│ ├── apk
│ │ └── db
│ │ ├── installed
│ │ ├── lock
│ │ ├── scripts.tar
│ │ └── triggers
│ └── upgrade
│ └── keep.d
│ └── opkg
├── proc
├── usr
│ ├── lib
│ │ └── opkg
│ └── sbin
│ └── opkg-key
└── var
├── cache
│ ├── apk
│ │ └── installed
│ └── misc
└── log
└── apk.log
24 directories, 17 files
I don't see a difference between the /usr/
folder and the /etc/
folder:
❯ ls -lisah
total 256K
37101668 4.0K drwxr-xr-x 8 user user 4.0K Nov 10 16:13 .
17565826 228K drwxr-xr-x 23 user user 224K Nov 10 14:40 ..
45231690 4.0K drwxr-xr-x 2 user user 4.0K Nov 10 16:13 bin
40118702 4.0K drwxr-xr-x 5 user user 4.0K Nov 10 16:13 etc
37104864 0 lrwxrwxrwx 1 user user 6 Nov 10 09:19 home -> /home/
38544866 4.0K drwxr-xr-x 4 user user 4.0K Nov 10 16:13 lib
45234267 4.0K drwxr-xr-x 2 user user 4.0K Nov 10 14:01 proc
45231692 4.0K drwxr-xr-x 4 user user 4.0K Nov 10 16:13 usr
37104863 4.0K drwxr-xr-x 4 user user 4.0K Nov 10 09:15 var
Below is a strace output:
❯ fakeroot strace ./staging_dir/hostpkg/bin/apk add --root apk/ --keys-dir etc/apk/keys opkg
execve("./staging_dir/hostpkg/bin/apk", ["./staging_dir/hostpkg/bin/apk", "add", "--root", "apk/", "--keys-dir", "etc/apk/keys", "opkg"], 0x7ffd0f8d9ca0 /* 58 vars */) = 0
brk(NULL) = 0x556ddd382000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b763e000
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/tls/haswell/x86_64/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/tls/haswell/x86_64", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/tls/haswell/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/tls/haswell", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/tls/x86_64/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/tls/x86_64", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/tls/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/tls", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/haswell/x86_64/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/haswell/x86_64", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/haswell/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/haswell", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/x86_64/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/libfakeroot/x86_64", 0x7ffcf68e7b10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20S\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=57424, ...}) = 0
mmap(NULL, 59432, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b762f000
mmap(0x7f34b7634000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f34b7634000
mmap(0x7f34b7639000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f34b7639000
mmap(0x7f34b763c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f34b763c000
close(3) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/tls/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/tls/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/tls/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/tls", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libfakeroot/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/libfakeroot", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/tls/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/tls/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/tls/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/tls", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib32/libfakeroot/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib32/libfakeroot", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/tls", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/haswell", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/x86_64", 0x7ffcf68e8670) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=105639, ...}) = 0
mmap(NULL, 105639, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f34b7615000
close(3) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 |\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=149520, ...}) = 0
mmap(NULL, 136304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b75f3000
mmap(0x7f34b75fa000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f34b75fa000
mmap(0x7f34b760a000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f34b760a000
mmap(0x7f34b760f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f34b760f000
mmap(0x7f34b7611000, 13424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f34b7611000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libapk.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libapk.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\t\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3874288, ...}) = 0
mmap(NULL, 2544136, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b7385000
mmap(0x7f34b740b000, 1282048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x86000) = 0x7f34b740b000
mmap(0x7f34b7544000, 507904, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f34b7544000
mmap(0x7f34b75c0000, 188416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23a000) = 0x7f34b75c0000
mmap(0x7f34b75ee000, 16904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f34b75ee000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=113088, ...}) = 0
mmap(NULL, 115088, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b7368000
mprotect(0x7f34b736b000, 98304, PROT_NONE) = 0
mmap(0x7f34b736b000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f34b736b000
mmap(0x7f34b737c000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f34b737c000
mmap(0x7f34b7383000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f34b7383000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/src/openwrt/openwrt/staging_dir/hostpkg/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@n\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1839792, ...}) = 0
mmap(NULL, 1852680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b71a3000
mprotect(0x7f34b71c8000, 1662976, PROT_NONE) = 0
mmap(0x7f34b71c8000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f34b71c8000
mmap(0x7f34b7313000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x7f34b7313000
mmap(0x7f34b735e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f34b735e000
mmap(0x7f34b7364000, 13576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f34b7364000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfakeroot/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=18688, ...}) = 0
mmap(NULL, 20752, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f34b719d000
mmap(0x7f34b719e000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f34b719e000
mmap(0x7f34b71a0000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f34b71a0000
mmap(0x7f34b71a1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f34b71a1000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b719b000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b7198000
arch_prctl(ARCH_SET_FS, 0x7f34b7198740) = 0
mprotect(0x7f34b735e000, 12288, PROT_READ) = 0
mprotect(0x7f34b71a1000, 4096, PROT_READ) = 0
mprotect(0x7f34b7383000, 4096, PROT_READ) = 0
mprotect(0x7f34b760f000, 4096, PROT_READ) = 0
mprotect(0x7f34b75c0000, 135168, PROT_READ) = 0
mprotect(0x7f34b763c000, 4096, PROT_READ) = 0
mprotect(0x556ddcbd6000, 4096, PROT_READ) = 0
mprotect(0x7f34b766a000, 4096, PROT_READ) = 0
munmap(0x7f34b7615000, 105639) = 0
set_tid_address(0x7f34b7198a10) = 962117
set_robust_list(0x7f34b7198a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f34b75fa690, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f34b7607140}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f34b75fa730, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f34b7607140}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x556ddd382000
brk(0x556ddd3a3000) = 0x556ddd3a3000
umask(000) = 022
rt_sigaction(SIGWINCH, {sa_handler=0x556ddcbc6630, sa_mask=[WINCH], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f34b71ded60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f34b71ded60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/etc/apk/interactive", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b7170000
mmap(NULL, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b7148000
mmap(NULL, 1601536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b6fc1000
brk(0x556ddd3ca000) = 0x556ddd3ca000
rt_sigaction(SIGINT, {sa_handler=0x556ddcbc6610, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f34b71ded60}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
openat(AT_FDCWD, "apk/", O_RDONLY|O_CLOEXEC) = 3
openat(3, "var/log/apk.log", O_WRONLY|O_CREAT|O_APPEND|O_CLOEXEC, 0644) = 4
fcntl(4, F_GETFL) = 0x8401 (flags O_WRONLY|O_APPEND|O_LARGEFILE)
fstat(4, {st_mode=S_IFREG|0644, st_size=38328, ...}) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=329, ...}) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=329, ...}) = 0
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) = 329
lseek(5, -182, SEEK_CUR) = 147
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) = 182
close(5) = 0
write(4, "\nRunning `./staging_dir/hostpkg/"..., 152) = 152
fstatfs(3, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=235613672, f_bfree=160886748, f_bavail=148899809, f_files=59916288, f_ffree=55765752, f_fsid={val=[1524324086, 3434158162]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
openat(3, "etc/apk/arch", O_RDONLY|O_CLOEXEC) = 5
futex(0x7f34b71a20c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=7, ...}) = 0
msgget(0x4ebee361, IPC_CREAT|0600) = 24
msgget(0x4ebee362, IPC_CREAT|0600) = 25
getpid() = 962117
semget(0x4ebee363, 1, IPC_CREAT|0600) = 14
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\1\0\0\0\350\3\0\0\350\3\0\0F,f\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\1\0\0\0\0\0\0\0\0\0\0\0F,f\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
read(5, "x86_64\n", 7) = 7
close(5) = 0
openat(3, "lib/apk/db/lock", O_RDWR|O_CREAT|O_CLOEXEC, 0600) = 5
flock(5, LOCK_EX|LOCK_NB) = 0
statfs("apk//proc", {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=235613672, f_bfree=160886748, f_bavail=148899809, f_files=59916288, f_ffree=55765752, f_fsid={val=[1524324086, 3434158162]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
mount("proc", "apk//proc", "proc", 0, NULL) = -1 EPERM (Operation not permitted)
openat(3, "etc/apk/protected_paths.d", O_RDONLY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(6, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
lseek(6, 0, SEEK_SET) = 0
getdents64(6, 0x556ddd3aba00 /* 2 entries */, 32768) = 48
getdents64(6, 0x556ddd3aba00 /* 0 entries */, 32768) = 0
close(6) = 0
openat(3, "etc/apk/cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(3, "var/cache/apk", O_RDONLY|O_CLOEXEC) = 6
openat(3, "etc/apk/world", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\2\0\0\0\350\3\0\0\350\3\0\0\236\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\2\0\0\0\0\0\0\0\0\0\0\0\236\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
read(7, "\n", 1) = 1
close(7) = 0
openat(3, "lib/apk/db/installed", O_RDONLY|O_CLOEXEC) = 7
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34b6fa0000
read(7, "", 131072) = 0
close(7) = 0
munmap(0x7f34b6fa0000, 135168) = 0
openat(3, "lib/apk/db/triggers", O_RDONLY|O_CLOEXEC) = 7
brk(0x556ddd3ec000) = 0x556ddd3ec000
read(7, "", 131072) = 0
close(7) = 0
openat(3, "lib/apk/db/scripts.tar", O_RDONLY|O_CLOEXEC) = 7
read(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 131072) = 1024
read(7, "", 131072) = 0
close(7) = 0
openat(6, "installed", O_RDONLY|O_CLOEXEC) = 7
read(7, "", 131072) = 0
close(7) = 0
openat(3, "etc/apk/repositories", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\3\0\0\0\350\3\0\0\350\3\0\0J,f\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\3\0\0\0\0\0\0\0\0\0\0\0J,f\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
read(7, "file:///home/user/src/openwrt/op"..., 126) = 126
close(7) = 0
openat(6, "///home/user/src/openwrt/openwrt/bin/packages/x86_64/base/x86_64/APKINDEX.tar.gz", O_RDONLY|O_CLOEXEC) = 7
read(7, "ADB.indxD/\0\0\0\0\0\0004/\0\340\rbnx2-firmwa"..., 131072) = 12208
openat(3, "etc/apk/keys", O_RDONLY|O_CLOEXEC) = 8
fstat(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(8, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(8, F_SETFD, FD_CLOEXEC) = 0
lseek(8, 0, SEEK_SET) = 0
getdents64(8, 0x556ddd3cba40 /* 4 entries */, 32768) = 128
openat(8, "public-key.pem", O_RDONLY|O_CLOEXEC) = 9
fcntl(9, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
futex(0x7f34b75f09e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f34b75f09f0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f34b75f09ec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f34b75ee708, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(9, {st_mode=S_IFREG|0644, st_size=178, ...}) = 0
read(9, "-----BEGIN PUBLIC KEY-----\nMFkwE"..., 4096) = 178
close(9) = 0
openat(8, "private-key.pem", O_RDONLY|O_CLOEXEC) = 9
fcntl(9, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(9, {st_mode=S_IFREG|0644, st_size=227, ...}) = 0
read(9, "-----BEGIN EC PRIVATE KEY-----\nM"..., 4096) = 227
read(9, "", 4096) = 0
lseek(9, 0, SEEK_SET) = 0
read(9, "-----BEGIN EC PRIVATE KEY-----\nM"..., 4096) = 227
close(9) = 0
getdents64(8, 0x556ddd3cba40 /* 0 entries */, 32768) = 0
close(8) = 0
read(7, "", 131072) = 0
close(7) = 0
openat(6, "///home/user/src/openwrt/openwrt/bin/packages/x86_64/luci/x86_64/APKINDEX.tar.gz", O_RDONLY|O_CLOEXEC) = 7
brk(0x556ddd426000) = 0x556ddd426000
read(7, "ADB.indxL\20\0\0\0\0\0\0<\20\0\340\17liblucihttp"..., 131072) = 4280
read(7, "", 131072) = 0
close(7) = 0
openat(3, "etc/apk/repositories.d", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
dup(6) = 7
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
lseek(7, 0, SEEK_SET) = 0
getdents64(7, 0x556ddd3b4bd0 /* 3 entries */, 32768) = 80
getdents64(7, 0x556ddd3b4bd0 /* 0 entries */, 32768) = 0
close(7) = 0
openat(3, "etc/apk/commit_hooks.d", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
lseek(7, 0, SEEK_SET) = 0
getdents64(7, 0x556ddd3b4bf0 /* 2 entries */, 32768) = 48
getdents64(7, 0x556ddd3b4bf0 /* 0 entries */, 32768) = 0
close(7) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
write(1, "(1/1) Installing opkg (2021-06-1"..., 46(1/1) Installing opkg (2021-06-13-1bf042dd-3)
) = 46
write(4, "(1/1) Installing opkg (2021-06-1"..., 46) = 46
ioctl(1, TIOCGWINSZ, {ws_row=27, ws_col=106, ws_xpixel=0, ws_ypixel=0}) = 0
write(1, "\0337 0% "..., 107 0% ) = 107
openat(AT_FDCWD, "///home/user/src/openwrt/openwrt/bin/packages/x86_64/base/x86_64/opkg-2021-06-13-1bf042dd-3.apk", O_RDONLY|O_CLOEXEC) = 7
read(7, "ADBd\354\275y|SE\3648z\323\5\2\5\32\226H\221\305\202e\221\265e\223\312b\3-"..., 131072) = 73384
openat(3, "etc/passwd", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(3, "etc/group", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(3, "bin", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "bin", 0700) = 0
newfstatat(3, "bin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\3\0\0\0\350\3\0\0\350\3\0\0J.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "bin//.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "bin//.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0755) = 8
write(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0\346f@\0\0\0\0\0"..., 129828) = 129828
write(1, "\338\33[0K\0337 73% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 259 73% █████████████████████████████████████████████████████████████████████████ ) = 259
write(8, "collisions=%d\n\tmax_bucket_len=%d"..., 25311) = 25311
close(8) = 0
newfstatat(3, "bin//.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", {st_mode=S_IFREG|0755, st_size=155139, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0K.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "bin//.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "bin//.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", [{tv_sec=1636589786, tv_nsec=0} /* 2021-11-10T14:16:26-1000 */, {tv_sec=1636589786, tv_nsec=0} /* 2021-11-10T14:16:26-1000 */], 0) = 0
read(7, "", 131072) = 0
newfstatat(3, "etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\4\0\0\0\350\3\0\0\350\3\0\0\256)d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\4\0\0\0\0\0\0\0\0\0\0\0\256)d\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "etc//.apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "etc//.apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0644) = 8
write(1, "\338\33[0K\0337 88% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 289 88% ████████████████████████████████████████████████████████████████████████████████████████ ) = 289
write(8, "dest root /\ndest ram /tmp\nlists_"..., 108) = 108
close(8) = 0
newfstatat(3, "etc//.apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84", {st_mode=S_IFREG|0644, st_size=108, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0\374\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "etc//.apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "etc//.apk.cb705cfd456d16c88a71cb2590965ed1fa199fbc8853cb84", [{tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */, {tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */], 0) = 0
newfstatat(3, "etc//uci-defaults", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "etc//uci-defaults", 0700) = 0
newfstatat(3, "etc//uci-defaults", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0\375\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "etc//uci-defaults//.apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "etc//uci-defaults//.apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0755) = 8
write(1, "\338\33[0K\0337 90% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 293 90% ██████████████████████████████████████████████████████████████████████████████████████████ ) = 293
write(8, "#!/bin/sh\n\n[ -f /etc/opkg.conf ]"..., 299) = 299
close(8) = 0
newfstatat(3, "etc//uci-defaults//.apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404", {st_mode=S_IFREG|0755, st_size=299, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0\260)d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "etc//uci-defaults//.apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "etc//uci-defaults//.apk.e62d9244190ed6ec17b6f6f87334c9180c56b56376254404", [{tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */, {tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */], 0) = 0
newfstatat(3, "etc/opkg", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "etc/opkg", 0700) = 0
newfstatat(3, "etc/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0\233\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "etc/opkg//.apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "etc/opkg//.apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0644) = 8
write(1, "\338\33[0K\0337 93% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 299 93% █████████████████████████████████████████████████████████████████████████████████████████████ ) = 299
write(8, "# add your custom package feeds "..., 103) = 103
close(8) = 0
newfstatat(3, "etc/opkg//.apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc", {st_mode=S_IFREG|0644, st_size=103, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0\234\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "etc/opkg//.apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "etc/opkg//.apk.434efc784f4314d47075ef9e2856c87d3ae146e1fccf1acc", [{tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */, {tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */], 0) = 0
newfstatat(3, "lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\5\0\0\0\350\3\0\0\350\3\0\0\342%L\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\5\0\0\0\0\0\0\0\0\0\0\0\342%L\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "lib/upgrade", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "lib/upgrade", 0700) = 0
newfstatat(3, "lib/upgrade", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0\362\36P\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "lib/upgrade/keep.d", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "lib/upgrade/keep.d", 0700) = 0
newfstatat(3, "lib/upgrade/keep.d", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0\225\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "lib/upgrade/keep.d//.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "lib/upgrade/keep.d//.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0644) = 8
write(1, "\338\33[0K\0337 95% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 303 95% ███████████████████████████████████████████████████████████████████████████████████████████████ ) = 303
write(8, "/etc/opkg/keys/\n", 16) = 16
close(8) = 0
newfstatat(3, "lib/upgrade/keep.d//.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", {st_mode=S_IFREG|0644, st_size=16, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0\265\34Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "lib/upgrade/keep.d//.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "lib/upgrade/keep.d//.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", [{tv_sec=1636589786, tv_nsec=0} /* 2021-11-10T14:16:26-1000 */, {tv_sec=1636589786, tv_nsec=0} /* 2021-11-10T14:16:26-1000 */], 0) = 0
newfstatat(3, "usr", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "usr", 0700) = 0
newfstatat(3, "usr", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0L.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "usr//sbin", 0x7ffcf68e59f0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "usr//sbin", 0700) = 0
newfstatat(3, "usr//sbin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\1\0\0\0\350\3\0\0\350\3\0\0M.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "usr//sbin//.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", 0x7ffcf68e4890, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
openat(3, "usr//sbin//.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0755) = 8
write(1, "\338\33[0K\0337 97% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 307 97% █████████████████████████████████████████████████████████████████████████████████████████████████ ) = 307
write(8, "#!/bin/sh\n\nOPKG_KEYS=\"${OPKG_KEY"..., 1079) = 1079
close(8) = 0
newfstatat(3, "usr//sbin//.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", {st_mode=S_IFREG|0755, st_size=1079, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0\0\0\0\0\210Z_\267\376\377\0\0\376\377\0\0N.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "usr//sbin//.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
utimensat(3, "usr//sbin//.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", [{tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */, {tv_sec=1636589785, tv_nsec=0} /* 2021-11-10T14:16:25-1000 */], 0) = 0
close(7) = 0
newfstatat(3, "usr/lib", 0x7ffcf68e5b20, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "usr/lib", 0700) = 0
newfstatat(3, "usr/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\0\0\0\0\350\3\0\0\350\3\0\0O.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "usr/lib/opkg", 0x7ffcf68e5b20, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
umask(022) = 000
umask(000) = 022
mkdirat(3, "usr/lib/opkg", 0700) = 0
newfstatat(3, "usr/lib/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0004\177\0\0\0\0\0\0\350\3\0\0\350\3\0\0P.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
newfstatat(3, "bin/opkg", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "bin/.apk.bc7072cae522efeb7faf9def5d32bd3a24d8b12acb320beb", 3, "bin/opkg") = 0
openat(3, "etc/opkg.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(3, "etc//opkg.conf.apk-new", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "etc//.apk.0075e34273aa10e463c8cf490adffe21f51075bd964b5bea", 3, "etc//opkg.conf.apk-new") = -1 ENOENT (No such file or directory)
write(1, "\338\33[0K", 6 ) = 6
write(2, "ERROR: ", 7ERROR: ) = 7
write(2, "opkg-2021-06-13-1bf042dd-3: fail"..., 85opkg-2021-06-13-1bf042dd-3: failed to commit etc/opkg.conf: No such file or directory) = 85
write(2, "\n", 1
) = 1
write(4, "ERROR: opkg-2021-06-13-1bf042dd-"..., 93) = 93
openat(3, "etc//uci-defaults/20_migrate-feeds", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(3, "etc//uci-defaults//20_migrate-feeds.apk-new", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "etc//uci-defaults//.apk.b82617b252a43ec12a04c291a0afc7760002c264944332fd", 3, "etc//uci-defaults//20_migrate-feeds.apk-new") = -1 ENOENT (No such file or directory)
write(2, "ERROR: ", 7ERROR: ) = 7
write(2, "opkg-2021-06-13-1bf042dd-3: fail"..., 106opkg-2021-06-13-1bf042dd-3: failed to commit etc//uci-defaults/20_migrate-feeds: No such file or directory) = 106
write(2, "\n", 1
) = 1
write(4, "ERROR: opkg-2021-06-13-1bf042dd-"..., 114) = 114
openat(3, "etc/opkg/customfeeds.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(3, "etc/opkg//customfeeds.conf.apk-new", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "etc/opkg//.apk.53680c998c4af63d16afc25c0902821edbb78e5d78b9c0af", 3, "etc/opkg//customfeeds.conf.apk-new") = -1 ENOENT (No such file or directory)
write(2, "ERROR: ", 7ERROR: ) = 7
write(2, "opkg-2021-06-13-1bf042dd-3: fail"..., 97opkg-2021-06-13-1bf042dd-3: failed to commit etc/opkg/customfeeds.conf: No such file or directory) = 97
write(2, "\n", 1
) = 1
write(4, "ERROR: opkg-2021-06-13-1bf042dd-"..., 105) = 105
newfstatat(3, "lib/upgrade/keep.d/opkg", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "lib/upgrade/keep.d/.apk.dbf0b41d170b0629ab5b83e47dd4dd4a2a5b14f5d12dbb64", 3, "lib/upgrade/keep.d/opkg") = 0
newfstatat(3, "usr//sbin/opkg-key", 0x7ffcf68e5e30, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
renameat(3, "usr//sbin/.apk.cd118a5c8bd62e7e1015f91c2399903509b71b639018cbe0", 3, "usr//sbin/opkg-key") = 0
write(1, "\0337100% \342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342\226\210\342"..., 307100% ████████████████████████████████████████████████████████████████████████████████████████████████████) = 307
newfstatat(3, "usr/lib/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\6\0\0\0\350\3\0\0\350\3\0\0P.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\6\0\0\0\0\0\0\0\0\0\0\0P.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "usr/lib/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0\0\0\0\0\350\356c\267\350\3\0\0\350\3\0\0P.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "usr/lib/opkg", 0755) = 0
newfstatat(3, "usr/lib/opkg", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0P.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "usr/lib/opkg", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "lib/upgrade/keep.d", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\7\0\0\0\350\3\0\0\350\3\0\0\225\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\7\0\0\0\0\0\0\0\0\0\0\0\225\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "lib/upgrade/keep.d", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0P.\262\2\0\0\0\0\350\3\0\0\350\3\0\0\225\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "lib/upgrade/keep.d", 0755) = 0
newfstatat(3, "lib/upgrade/keep.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0\225\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "lib/upgrade/keep.d", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "usr", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\10\0\0\0\350\3\0\0\350\3\0\0L.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\10\0\0\0\0\0\0\0\0\0\0\0L.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "usr", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0\225\7Z\2\0\0\0\0\350\3\0\0\350\3\0\0L.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "usr", 0755) = 0
newfstatat(3, "usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0L.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "usr", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "etc/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\t\0\0\0\350\3\0\0\350\3\0\0\233\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\t\0\0\0\0\0\0\0\0\0\0\0\233\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "etc/opkg", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0L.\262\2\0\0\0\0\350\3\0\0\350\3\0\0\233\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "etc/opkg", 0755) = 0
newfstatat(3, "etc/opkg", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0\233\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "etc/opkg", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "etc//uci-defaults", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\n\0\0\0\350\3\0\0\350\3\0\0\375\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\n\0\0\0\0\0\0\0\0\0\0\0\375\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "etc//uci-defaults", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0\233\rf\2\0\0\0\0\350\3\0\0\350\3\0\0\375\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "etc//uci-defaults", 0755) = 0
newfstatat(3, "etc//uci-defaults", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0\375\16d\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "etc//uci-defaults", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "usr//sbin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\v\0\0\0\350\3\0\0\350\3\0\0M.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\v\0\0\0\0\0\0\0\0\0\0\0M.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "usr//sbin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0\375\16d\2\0\0\0\0\350\3\0\0\350\3\0\0M.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "usr//sbin", 0755) = 0
newfstatat(3, "usr//sbin", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0M.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "usr//sbin", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "bin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\f\0\0\0\350\3\0\0\350\3\0\0J.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\f\0\0\0\0\0\0\0\0\0\0\0J.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "bin", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0M.\262\2\0\0\0\0\350\3\0\0\350\3\0\0J.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "bin", 0755) = 0
newfstatat(3, "bin", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0J.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "bin", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "usr/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\r\0\0\0\350\3\0\0\350\3\0\0O.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\r\0\0\0\0\0\0\0\0\0\0\0O.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "usr/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0J.\262\2\0\0\0\0\350\3\0\0\350\3\0\0O.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "usr/lib", 0755) = 0
newfstatat(3, "usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0O.\262\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "usr/lib", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
newfstatat(3, "lib/upgrade", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid() = 962117
semtimedop(14, [{0, -1, SEM_UNDO}], 1, NULL) = 0
msgsnd(24, {1, "\3\0\0\0E\256\16\0\16\0\0\0\350\3\0\0\350\3\0\0\362\36P\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
msgrcv(25, {1, "\3\0\0\0E\256\16\0\16\0\0\0\0\0\0\0\0\0\0\0\362\36P\2\0\0\0\0\0\375\0\0"...}, 1088, 0, 0) = 1088
semtimedop(14, [{0, 1, SEM_UNDO}], 1, NULL) = 0
newfstatat(3, "lib/upgrade", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\1\0\0\0O.\262\2\0\0\0\0\350\3\0\0\350\3\0\0\362\36P\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchmodat(3, "lib/upgrade", 0755) = 0
newfstatat(3, "lib/upgrade", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
msgsnd(24, {1, "\0\0\0\0004\177\0\0\1\0\0\0\376\377\0\0\376\377\0\0\362\36P\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
fchownat(3, "lib/upgrade", 65534, 65534, 0) = -1 EPERM (Operation not permitted)
openat(3, "etc/apk/world.tmp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 7
write(7, "opkg\n", 5) = 5
close(7) = 0
newfstatat(3, "etc/apk/world", {st_mode=S_IFREG|0644, st_size=1, ...}, AT_SYMLINK_NOFOLLOW) = 0
renameat(3, "etc/apk/world.tmp", 3, "etc/apk/world") = 0
msgsnd(24, {1, "\4\0\0\0\0\0\0\0 \200\216\366\350\3\0\0\350\3\0\0\236\rf\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
openat(3, "lib/apk/db/installed.tmp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 7
write(7, "C:Q1OY461sLzfrlp+kQz/uOhC+7YJZw="..., 937) = 937
close(7) = 0
newfstatat(3, "lib/apk/db/installed", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
renameat(3, "lib/apk/db/installed.tmp", 3, "lib/apk/db/installed") = 0
msgsnd(24, {1, "\4\0\0\0\0\0\0\08\261\31\267\350\3\0\0\350\3\0\0\223\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
openat(3, "lib/apk/db/scripts.tar.tmp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 7
write(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
write(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
close(7) = 0
newfstatat(3, "lib/apk/db/scripts.tar", {st_mode=S_IFREG|0644, st_size=1024, ...}, AT_SYMLINK_NOFOLLOW) = 0
renameat(3, "lib/apk/db/scripts.tar.tmp", 3, "lib/apk/db/scripts.tar") = 0
msgsnd(24, {1, "\4\0\0\0\377\377\377\377\0\0\0\0\350\3\0\0\350\3\0\0\264\34Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
openat(6, "installed.tmp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 7
close(7) = 0
newfstatat(6, "installed", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
renameat(6, "installed.tmp", 6, "installed") = 0
msgsnd(24, {1, "\4\0\0\0>\nc:\n{\216\366\350\3\0\0\350\3\0\0V\n`\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
openat(3, "lib/apk/db/triggers.tmp", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 7
close(7) = 0
newfstatat(3, "lib/apk/db/triggers", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
renameat(3, "lib/apk/db/triggers.tmp", 3, "lib/apk/db/triggers") = 0
msgsnd(24, {1, "\4\0\0\0\0\0\0\0 \200\216\366\350\3\0\0\350\3\0\0\224\7Z\2\0\0\0\0\0\375\0\0"...}, 1088, 0) = 0
openat(3, "etc/apk/commit_hooks.d", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
lseek(7, 0, SEEK_SET) = 0
getdents64(7, 0x556ddd3b4ce0 /* 2 entries */, 32768) = 48
getdents64(7, 0x556ddd3b4ce0 /* 0 entries */, 32768) = 0
close(7) = 0
write(1, "\338\33[0K1 e1 error; 0 MiB in 1 packages
) = 35
write(4, "1 error; 0 MiB in 1 packages\n", 29) = 29
munmap(0x7f34b7170000, 163840) = 0
munmap(0x7f34b6fc1000, 1601536) = 0
munmap(0x7f34b7148000, 163840) = 0
umount2("apk//proc", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EPERM (Operation not permitted)
close(6) = 0
close(5) = 0
close(4) = 0
exit_group(1) = ?
+++ exited with 1 +++