|
|
9b526cf |
From f886b7088dfea224e28c03b097c85c9bc20f5441 Mon Sep 17 00:00:00 2001
|
|
|
9b526cf |
From: Peter Jones <pjones@redhat.com>
|
|
|
9b526cf |
Date: Fri, 12 Jun 2020 11:49:44 -0400
|
|
|
9b526cf |
Subject: [PATCH] Rename /var/run/ to /run/
|
|
|
9b526cf |
|
|
|
9b526cf |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
9b526cf |
---
|
|
|
9b526cf |
src/macros.pesign | 12 ++++++------
|
|
|
9b526cf |
src/tmpfiles.conf | 2 +-
|
|
|
9b526cf |
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
9b526cf |
|
|
|
9b526cf |
diff --git a/src/macros.pesign b/src/macros.pesign
|
|
|
9b526cf |
index 56f75cafbc4..5a6da1c6809 100644
|
|
|
9b526cf |
--- a/src/macros.pesign
|
|
|
9b526cf |
+++ b/src/macros.pesign
|
|
|
9b526cf |
@@ -45,14 +45,14 @@
|
|
|
9b526cf |
rm -rf ${sattrs} ${sattrs}.sig ${nss} \
|
|
|
9b526cf |
elif [ "$(id -un)" == "kojibuilder" -a \\\
|
|
|
9b526cf |
grep -q ID=fedora /etc/os-release -a \\\
|
|
|
9b526cf |
- ! -S /var/run/pesign/socket ]; then \
|
|
|
9b526cf |
+ ! -S /run/pesign/socket ]; then \
|
|
|
9b526cf |
echo "No socket even though this is kojibuilder" 1>&2 \
|
|
|
9b526cf |
- ls -ld /var/run/pesign 1>&2 \
|
|
|
9b526cf |
- ls -l /var/run/pesign/socket 1>&2 \
|
|
|
9b526cf |
- getfacl /var/run/pesign 1>&2 \
|
|
|
9b526cf |
- getfacl /var/run/pesign/socket 1>&2 \
|
|
|
9b526cf |
+ ls -ld /run/pesign 1>&2 \
|
|
|
9b526cf |
+ ls -l /run/pesign/socket 1>&2 \
|
|
|
9b526cf |
+ getfacl /run/pesign 1>&2 \
|
|
|
9b526cf |
+ getfacl /run/pesign/socket 1>&2 \
|
|
|
9b526cf |
exit 1 \
|
|
|
9b526cf |
- elif [ -S /var/run/pesign/socket ]; then \
|
|
|
9b526cf |
+ elif [ -S /run/pesign/socket ]; then \
|
|
|
9b526cf |
%{_pesign_client} -t %{__pesign_client_token} \\\
|
|
|
9b526cf |
-c %{__pesign_client_cert} \\\
|
|
|
9b526cf |
%{-i} %{-o} %{-e} %{-s} %{-C} \
|
|
|
9b526cf |
diff --git a/src/tmpfiles.conf b/src/tmpfiles.conf
|
|
|
9b526cf |
index c1cf35597d8..3375ad52a44 100644
|
|
|
9b526cf |
--- a/src/tmpfiles.conf
|
|
|
9b526cf |
+++ b/src/tmpfiles.conf
|
|
|
9b526cf |
@@ -1 +1 @@
|
|
|
9b526cf |
-D /var/run/pesign 0770 pesign pesign -
|
|
|
9b526cf |
+D /run/pesign 0770 pesign pesign -
|
|
|
9b526cf |
--
|
|
|
9b526cf |
2.26.2
|
|
|
9b526cf |
|