This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 9e952fb7ee Release doc: how to solve GPG signing failure caused by a
stale lock file
9e952fb7ee is described below
commit 9e952fb7eee50c87edd37bc84bef3c7d4edc516e
Author: Jiří Ondrušek <[email protected]>
AuthorDate: Fri Aug 21 18:17:11 2026 +0200
Release doc: how to solve GPG signing failure caused by a stale lock file
Co-authored-by: Claude Fable 5 <[email protected]>
---
.../ROOT/pages/contributor-guide/release-guide.adoc | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
index f69c1652e0..34706b9f45 100644
--- a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
@@ -522,4 +522,20 @@ ssh -T [email protected]
git config --global credential.helper store
ssh-add -l
mvn help:evaluate -Dexpression=env.SSH_AUTH_SOCK -q -DforceStdout
-----
\ No newline at end of file
+----
+
+=== GPG signing failure caused by a stale lock file
+If GPG signing fails during the release with output such as:
+----
+[INFO] [INFO] Signer 'gpg' is signing 4 files with key default
+[INFO] gpg: Note: database_open 134217901 waiting for lock (held by 5376) ...
+[INFO] gpg: keydb_search failed: Connection timed out
+[INFO] gpg: no default secret key: Connection timed out
+[INFO] gpg: signing failed: Connection timed out
+----
+the cause may be a stale lock file in the GnuPG keybox database. The lock
+references the process ID that created it (`held by 5376`). If no such process
+is running, remove the lock file:
+----
+sudo rm ~/.gnupg/public-keys.d/pubring.db.lock
+----