Nirik is seeing a failure that looks like: [root@bkernel01 ~][PROD]# journalctl -b -l -u pesign | cat -- Logs begin at Tue 2017-08-08 18:10:41 UTC, end at Tue 2017-08-08 18:27:17 UTC. -- Aug 08 18:22:25 bkernel01.phx2.fedoraproject.org systemd[1]: Starting Pesign signing daemon... Aug 08 18:22:25 bkernel01.phx2.fedoraproject.org pesign[11226]: pesignd starting (pid 11227) Aug 08 18:22:25 bkernel01.phx2.fedoraproject.org pesignd[11227]: pesignd starting (pid 11227) Aug 08 18:22:25 bkernel01.phx2.fedoraproject.org pesign[11226]: Could not initialize nss: The certificate/key database is in an old, unsupported format. Aug 08 18:22:27 bkernel01.phx2.fedoraproject.org systemd[1]: pesign.service: PID 11227 read from file /var/run/pesign.pid does not exist or is a zombie. Aug 08 18:22:27 bkernel01.phx2.fedoraproject.org systemd[1]: Failed to start Pesign signing daemon. Aug 08 18:22:27 bkernel01.phx2.fedoraproject.org systemd[1]: pesign.service: Unit entered failed state. Aug 08 18:22:27 bkernel01.phx2.fedoraproject.org systemd[1]: pesign.service: Failed with result 'protocol'. Signed-off-by: Peter Jones <pjones@redhat.com>
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From b20fc54c08e8afe1365e56cacade3ec39984da8d Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Tue, 18 Apr 2017 19:00:34 -0400
|
|
Subject: [PATCH 04/24] Fix "certficate" argument name.
|
|
|
|
This fixes our typoed argument name by making the incorrectly spelled
|
|
version be a popt alias, and fixing the real implementation to be
|
|
spelled right in pesign.c .
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
src/pesign.c | 2 +-
|
|
src/pesign.popt | 1 +
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/pesign.c b/src/pesign.c
|
|
index af374b6..279a17a 100644
|
|
--- a/src/pesign.c
|
|
+++ b/src/pesign.c
|
|
@@ -438,7 +438,7 @@ main(int argc, char *argv[])
|
|
.arg = &ctxp->outfile,
|
|
.descrip = "specify output file",
|
|
.argDescrip = "<outfile>" },
|
|
- {.longName = "certficate",
|
|
+ {.longName = "certificate",
|
|
.shortName = 'c',
|
|
.argInfo = POPT_ARG_STRING,
|
|
.arg = &certname,
|
|
diff --git a/src/pesign.popt b/src/pesign.popt
|
|
index 7b3385d..5a97748 100644
|
|
--- a/src/pesign.popt
|
|
+++ b/src/pesign.popt
|
|
@@ -1,2 +1,3 @@
|
|
pesign alias --cert --certificate
|
|
+pesign alias --certficate --certificate
|
|
pesign alias --daemon --daemonize
|
|
--
|
|
2.13.4
|
|
|