Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1,784 views
Skip to first unread message

Daniel Shahaf

unread,
Aug 6, 2022, 2:10:04 PM8/6/22
to
Package: easy-rsa
Version: 3.1.0-0.1
Severity: normal

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.

Teco Boot

unread,
Aug 11, 2022, 11:40:03 AM8/11/22
to
I've detected the same issue.
It has to do with commit 4d5a5d4

Teco Boot

unread,
Aug 15, 2022, 11:10:03 AM8/15/22
to

Daniel Shahaf

unread,
Aug 16, 2022, 3:00:04 AM8/16/22
to
Control: tags -1 fixed-upstream

Teco Boot wrote on Mon, 15 Aug 2022 14:59 +00:00:
> 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>

Thanks; metadata adjusted.

> Issue can be closed.

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

Thanks for your work!

Daniel
0 new messages