[Bug 1432] One new message to root mail from etcinsvk cron job every hour for each klient
http://bugs.skolelinux.org/show_bug.cgi?id=1432
--- Comment #3 from Petter Reinholdtsen <pere@hungry.com> 2010-01-26 10:55:44 ---
Here is a patch for etcinsvk to improve the check in the cron job.
I suspect this will solve the problem, if the problem was only on diskless
workstations. The patch is correct anyway and should be applied.
Index: debian/cron.d
===================================================================
--- debian/cron.d (revision 62095)
+++ debian/cron.d (working copy)
@@ -1,3 +1,3 @@
#
# Commit /etc/ in svk if activated
-0 * * * * root [ -x /usr/sbin/etcinsvk ] && [ -d ~root/.svk ] &&
/usr/sbin/etcinsvk commit
+0 * * * * root [ -x /usr/sbin/etcinsvk ] && [ -d ~root/.svk/local ] &&
/usr/sbin/etcinsvk commit
Index: debian/changelog
===================================================================
--- debian/changelog (revision 62095)
+++ debian/changelog (working copy)
@@ -1,3 +1,11 @@
+etcinsvk (1.3) UNRELEASED; urgency=low
+
+ * Improve cron job to not believe etcinsvk is enabled just because
+ someone ran a failing etcinsvk commit once. Look for
+ ~root/.svk/local and not just ~root/.svk.
+
+ -- Petter Reinholdtsen <pere@debian.org> Tue, 26 Jan 2010 10:53:37 +0100
+
etcinsvk (1.2) unstable; urgency=low
* Ignore all the inavailable files on the ignore list, instead of
--
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
Reply to: