public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Fenzi <kevin@scrye.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rkhunter] f45: Move cron to use /run/lock instead of old /var/lock/subsys. Fixes rhbz#2545864
Date: Tue, 24 Nov 2026 23:52:59 GMT [thread overview]
Message-ID: <179556437953.1.3740775151789727330.rpms-rkhunter-acbdfdb5521f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rkhunter
Branch : f45
Commit : acbdfdb5521ff0f0c10341f71297a25dcbd3a2be
Author : Kevin Fenzi <kevin@scrye.com>
Date : 2026-11-24T15:52:20-08:00
Stats : +7/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rkhunter/c/acbdfdb5521ff0f0c10341f71297a25dcbd3a2be?branch=f45
Log:
Move cron to use /run/lock instead of old /var/lock/subsys. Fixes rhbz#2545864
---
diff --git a/01-rkhunter b/01-rkhunter
index 1e85c8e..f44ec5e 100755
--- a/01-rkhunter
+++ b/01-rkhunter
@@ -6,10 +6,10 @@ XITVAL=0
# Get a secure tempfile
TMPFILE1=`/bin/mktemp -p /var/lib/rkhunter rkhcronlog.XXXXXXXXXX` || exit 1
-if [ ! -e /var/lock/subsys/rkhunter ]; then
+if [ ! -e /run/lock/rkhunter ]; then
# Try to keep the SysInit boot scan from colliding with us (highly unlikely)
- /bin/touch /var/lock/subsys/rkhunter
+ /bin/touch /run/lock/rkhunter
# Source system configuration parameters.
if [ -e /etc/sysconfig/rkhunter ] ; then
@@ -48,7 +48,7 @@ if [ ! -e /var/lock/subsys/rkhunter ]; then
fi
# Delete the gating lockfile
- /bin/rm -f /var/lock/subsys/rkhunter
+ /bin/rm -f /run/lock/rkhunter
fi
# Delete the secure tempfile
diff --git a/rkhunter.spec b/rkhunter.spec
index 967654a..f77ae43 100644
--- a/rkhunter.spec
+++ b/rkhunter.spec
@@ -3,7 +3,7 @@
Name: rkhunter
Version: 1.4.6
-Release: 33%{?dist}
+Release: 34%{?dist}
Summary: A host-based tool to scan for rootkits, backdoors and local exploits
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -107,6 +107,9 @@ EOF
%{_mandir}/man8/*
%changelog
+* Tue Nov 24 2026 Kevin Fenzi <kevin@scrye.com> - 1.4.6-34
+- Move cron to use /run/lock instead of old /var/lock/subsys. Fixes rhbz#2545864
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-24 23:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179556437953.1.3740775151789727330.rpms-rkhunter-acbdfdb5521f@fedoraproject.org \
--to=kevin@scrye.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox