To prove, I ran the autopkgtest in a unprivileged LXD:
Importing signed cluster certificate Notice: Trust flag u is set automatically if the private key is present. pk12util: PKCS12 EXPORT SUCCESSFUL Certificate stored in /etc/corosync/qdevice/net/nssdb/qdevice-net-node.p12 Reloading corosync.conf... Could not initialize corosync configuration API error CS_ERR_LIBRARY autopkgtest [18:10:13]: test qdevice: -----------------------] autopkgtest [18:10:13]: test qdevice: - - - - - - - - - - results - - - - - - - - - - qdevice FAIL non-zero exit status 1 autopkgtest [18:10:13]: @@@@@@@@@@@@@@@@@@@@ summary qdevice FAIL non-zero exit status 1
And got the same error from the 2nd test: corosync-qnetd
To prove, I ran the autopkgtest in a unprivileged LXD:
Importing signed cluster certificate qdevice/ net/nssdb/ qdevice- net-node. p12 ------- ------- --] @@@@@@@ @@@@@@ summary
Notice: Trust flag u is set automatically if the private key is present.
pk12util: PKCS12 EXPORT SUCCESSFUL
Certificate stored in /etc/corosync/
Reloading corosync.conf...
Could not initialize corosync configuration API error CS_ERR_LIBRARY
autopkgtest [18:10:13]: test qdevice: -------
autopkgtest [18:10:13]: test qdevice: - - - - - - - - - - results - - - - - - - - - -
qdevice FAIL non-zero exit status 1
autopkgtest [18:10:13]: @@@@@@@
qdevice FAIL non-zero exit status 1
And got the same error from the 2nd test: corosync-qnetd