Repository navigation
Tags
Tags
ci: build vng test kernel from tarball mirrored on ecsft (#4576) The kernel cache in the virtme-ng workflow rarely hits, so most PR runs cloned v5.12 from git.kernel.org. Fetch the release tarball from ecsft.cern.ch instead (checksum-pinned) to avoid putting load on the upstream repo. build_kernel.sh now also accepts an unpacked kernel tarball in addition to a git checkout; the tag argument then only names the kernel/ subdirectory. Assisted-by: LLM
nfs: wait for leveldb lock on remount, fix crash on open failure (#4574) An immediate remount of an NFS-backend repository can race with the previous cvmfs2 instance, which may still hold the leveldb LOCK files after umount returns. The new instance then fails to open the NFS maps: failed to create inode2path db: IO error: lock ./nfs_maps.<repo>/inode2path/LOCK: Resource temporarily unavailable On that error path, ~NfsMapsLeveldb() unconditionally wrote the ?seq entry through db_path2inode_, which is still NULL, and cvmfs2 segfaulted during init instead of failing the mount cleanly. Retry opening the databases for up to 30s while the error is a lock conflict, and skip the ?seq write if path2inode was never opened. Seen on macOS 15 with 2.15.0~pre3 (umount + mount of sft-nightlies). Assisted-by: LLM
Fix curl write callbacks for non-NUL-terminated buffers (#4569) Several gateway/notify write callbacks assigned curl's receive buffer as a C string and returned the resulting string length. curl does not NUL-terminate that buffer, so the callback read past the received data and returned a size different from size * nmemb, which makes curl abort with CURLE_WRITE_ERROR (23). The vendored libcurl happened to leave a zero byte behind the body; with the system libcurl 8.18 (#4568) all gateway tests fail on lease acquisition. Assigning instead of appending would also have truncated replies delivered in several chunks. Append exactly size * nmemb bytes and return that count. Assisted-by: LLM
PreviousNext