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>
27 lines
710 B
Diff
27 lines
710 B
Diff
From 868b42b338d919917ea31cfbf0f96e9586947eaf Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Tue, 25 Apr 2017 16:23:36 -0400
|
|
Subject: [PATCH 11/24] pesign: make "pesign -h" tell you the file name.
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
src/pesign.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/pesign.c b/src/pesign.c
|
|
index 279a17a..5879cfc 100644
|
|
--- a/src/pesign.c
|
|
+++ b/src/pesign.c
|
|
@@ -387,7 +387,7 @@ print_digest(pesign_context *pctx)
|
|
if (!ctx)
|
|
return;
|
|
|
|
- printf("hash: ");
|
|
+ printf("%s ", pctx->infile);
|
|
int j = ctx->selected_digest;
|
|
for (unsigned int i = 0; i < ctx->digests[j].pe_digest->len; i++)
|
|
printf("%02x",
|
|
--
|
|
2.13.4
|
|
|