mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Possible packaging bug: libvarnishapi files installed as regular files instead of symlinks on Debian 13 #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eis488 on 3/31/2026
CloudPanel version(s) affected
2.5.3
Description
After updating a Debian 13 server running CloudPanel 2.5.3, I consistently get this warning when running
ldconfig:ldconfig: /lib/libvarnishapi.so.3 is not a symbolic linkVarnish itself is running correctly, so this does not appear to be a runtime failure. It looks like a packaging issue with the CloudPanel-provided
varnishpackage.Environment:
How to reproduce
varnish 7.5.0-2+clp-trixieis installed.dpkg -L varnish | grep libvarnishapils -l /usr/lib/libvarnishapi.so /usr/lib/libvarnishapi.so.3 /usr/lib/libvarnishapi.so.3.1.0ls -li /usr/lib/libvarnishapi.so.3 /usr/lib/libvarnishapi.so.3.1.0readlink -f /libldconfig/usr/lib/libvarnishapi.so,/usr/lib/libvarnishapi.so.3, and/usr/lib/libvarnishapi.so.3.1.0are regular files instead of symlinks.ldconfigprints:ldconfig: /lib/libvarnishapi.so.3 is not a symbolic linkPossible Solution
It looks like the package may be shipping the shared library files as regular files instead of the usual symlink chain.
Expected layout would be something like:
libvarnishapi.so -> libvarnishapi.so.3libvarnishapi.so.3 -> libvarnishapi.so.3.1.0libvarnishapi.so.3.1.0as the real fileSo this may be a packaging issue in
varnish 7.5.0-2+clp-trixie.Additional Context
The server is otherwise healthy after update and reboot:
6.12.74+deb13+1-cloud-amd64systemctl --failedreturns 0 failed unitsvarnish,nginx,mariadb,redis,docker,dovecot,postfix, andnetdataare all running normallyRelevant observations:
dpkg -L varnish | grep libvarnishapi/usr/lib/libvarnishapi.so/usr/lib/libvarnishapi.so.3/usr/lib/libvarnishapi.so.3.1.0ls -l /usr/lib/libvarnishapi.so /usr/lib/libvarnishapi.so.3 /usr/lib/libvarnishapi.so.3.1.0-rw-r--r-- 1 root root 854864 Sep 17 2025 /usr/lib/libvarnishapi.so-rw-r--r-- 1 root root 854864 Sep 17 2025 /usr/lib/libvarnishapi.so.3-rw-r--r-- 1 root root 854864 Sep 17 2025 /usr/lib/libvarnishapi.so.3.1.0ls -li /usr/lib/libvarnishapi.so.3 /usr/lib/libvarnishapi.so.3.1.028995 -rw-r--r-- 1 root root 854864 Sep 17 2025 /usr/lib/libvarnishapi.so.328996 -rw-r--r-- 1 root root 854864 Sep 17 2025 /usr/lib/libvarnishapi.so.3.1.0readlink -f /lib/usr/lib