[pve-devel] [PATCH qemu-server] test: fix restore config test as unprivileged user

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jun 18 17:46:21 CEST 2021


On 31.05.21 16:27, Fabian Ebner wrote:
> Is that the intended behavior?


it effectively comes from the IPCC code's call to qb_ipcc_connect

where something (did not checked to closely) tries to do an open of /tmp with
read-write, where the write part on the directory makes no sense.

...
setsockopt(3, SOL_SOCKET, SO_PASSCRED, [0], 4) = 0
openat(AT_FDCWD, "/dev/shm/qb-", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/tmp/", O_RDWR) = -1 EISDIR (Is a directory)


Maybe some odd fallback logic on libqb or parts, not sure, maybe ask around the
#kronosnet IRC channel (IIRC they moved to libera after the freenode fallout).





More information about the pve-devel mailing list