File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Easy-RSA 3 ChangeLog
2
2
3
3
3.2.4 (TBD)
4
4
5
+ * New global option: --no-lockfile = env-var: $EASYRSA_NO_LOCKFILE (46c8647) (#1364)
5
6
* default_overview(): Add peer-fingerprint mode PKI identification (c9a0152) (#1363)
6
7
* help: Add in use algorithm and key-size/curve to top level status (10778cc) (#1363)
7
8
* help: Move 'utils' to command list and detailed help (e965234) (#1363)
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Global options:
43
43
--force-safe-ssl: Always generate a safe SSL config file
44
44
(Default: Generate Safe SSL config once per instance)
45
45
46
+ --no-lockfile : Disable lock-file (Useful for read-only PKI)
46
47
--tmp-dir=DIR : Declare the temporary directory
47
48
(Default temporary directory is the EasyRSA PKI directory)
48
49
--keep-tmp=NAME : Keep the original temporary session by name: NAME
@@ -5785,7 +5786,7 @@ verify_working_env() {
5785
5786
verbose "verify_working_env: BEGIN"
5786
5787
5787
5788
# Oppertunist PKI lock-file
5788
- request_lock_file
5789
+ [ "$EASYRSA_NO_LOCKFILE" ] || request_lock_file
5789
5790
5790
5791
# For commands which 'require a PKI' and PKI exists
5791
5792
if [ "$require_pki" ]; then
@@ -6703,6 +6704,10 @@ while :; do
6703
6704
--pki-dir|--pki)
6704
6705
export EASYRSA_PKI="$val"
6705
6706
;;
6707
+ --no-lockfile)
6708
+ empty_ok=1
6709
+ export EASYRSA_NO_LOCKFILE=1
6710
+ ;;
6706
6711
--tmp-dir)
6707
6712
export EASYRSA_TEMP_DIR="$val"
6708
6713
;;
You can’t perform that action at this time.
0 commit comments