Dear Maintainer,
Consider the following sequence of commands:
% make-cadir foo
% cd foo
% ./easyrsa init-pki
% ./easyrsa build-ca
In a fresh bullseye chroot (3.0.8-1), that sequence succeeds:
CA creation complete and you may now import and sign cert requests.
Your new CA certificate file for publishing is at:
…/pki/ca.crt
In a sid chroot from today (3.1.0-0.1), that sequence fails with:
# ./easyrsa build-ca
Found: …/pki/vars
Found: …/vars
Easy-RSA error:
Conflicting 'vars' files found.
Priority should be given to your PKI vars file:
* /root/sid/pki/vars
I don't use easy-rsa, but this seems like a regression.
HTH,
Daniel
P.S. The changelog of this version includes the item "autopkgtests: Remove
conflicting vars file", which may be related.