@alexmurray Thank you very much. I have done the tests of my posting above again (after sudo snap remove --purge cups
), the auto-connections work, most test commands, too, except these ones:
$ CUPS_SERVER=/var/snap/cups/common/run/cups.sock cups-admin-test.cupsctl
cupsctl: Unable to connect to server: Bad file descriptor
$ CUPS_SERVER=/var/snap/cups/common/run/cups.sock cups-admin-test.lpstat -v
lpstat: Bad file descriptor
$
Seems that the interfaces cups
and cups-control
do not cover /var/snap/cups/common/run/cups.sock
which they should do, especially as we will need the CUPS Snap running in parallel to a system’s CUPS in production, see here.