This is causing the following:

/etc/cron.hourly/0yum-hourly.cron:

Error reading config file

to be sent every hour from Fedora 19/rawhide machines.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
>From 88608fa32d238d7dfaac007ec74dfe51ecf9d4fc Mon Sep 17 00:00:00 2001
From: Orion Poplawski <[email protected]>
Date: Wed, 17 Apr 2013 10:35:38 -0600
Subject: [PATCH] yum-cron does not use -C to specify config file

---
 yum-cron/yum-hourly.cron.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yum-cron/yum-hourly.cron.sh b/yum-cron/yum-hourly.cron.sh
index 557dd4d..f0b77a9 100755
--- a/yum-cron/yum-hourly.cron.sh
+++ b/yum-cron/yum-hourly.cron.sh
@@ -8,4 +8,4 @@ if [[ ! -f /var/lock/subsys/yum-cron ]]; then
 fi
 
 # Action!
-exec /usr/sbin/yum-cron -C /etc/yum/yum-cron-hourly.conf
+exec /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
-- 
1.8.1.4

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to