#1016759 easy-rsa: regression?: Conflicting 'vars' files found

Package:
easy-rsa
Source:
easy-rsa
Submitter:
Daniel Shahaf
Date:
2023-03-21 19:18:05 UTC
Severity:
normal
Tags:
#1016759#5
Date:
2022-08-06 18:00:02 UTC
From:
To:
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.

#1016759#10
Date:
2022-08-11 15:26:50 UTC
From:
To:

#1016759#19
Date:
2022-08-15 14:59:10 UTC
From:
To:
It is fixed upstream in Merge branch 'TinCanTech-fix-make-cadir' <https://github.com/OpenVPN/easy-rsa/commit/ceef45784e73af1d48007c5120f83a999e97f566>
See https://github.com/OpenVPN/easy-rsa/issues/633#issuecomment-1215108651 <https://github.com/OpenVPN/easy-rsa/issues/633#issuecomment-1215108651>
Issue can be closed.

#1016759#24
Date:
2022-08-16 06:52:50 UTC
From:
To:
Teco Boot wrote on Mon, 15 Aug 2022 14:59 +00:00:

Thanks; metadata adjusted.

I assume this ticket will be closed by the next upload to the easy-rsa package, as per usual.

Thanks for your work!

Daniel

#1016759#31
Date:
2022-11-03 13:40:58 UTC
From:
To:
subscribe
#1016759#36
Date:
2023-03-21 19:15:23 UTC
From:
To:
This as fixed with the #995156 fix.