[Logcheck-commits] Frédéric Brière : Dropped (now useless) ownership/permissions fixes on /var/lock/logcheck
Frédéric Brière
fbriere-guest at alioth.debian.org
Tue Aug 18 12:50:49 UTC 2009
Module: logcheck
Branch: master
Commit: edcd8d31e478b73fadd0035b5f16dcbb1ea1973f
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=edcd8d31e478b73fadd0035b5f16dcbb1ea1973f
Author: Frédéric Brière <fbriere at fbriere.net>
Date: Tue Aug 18 08:42:02 2009 -0400
Dropped (now useless) ownership/permissions fixes on /var/lock/logcheck
/var/lock/logcheck is no longer part of the package (f573efe), so it
will automatically be removed by dpkg when upgrading to >= 1.3.3 for the
first time. After that, it will only be created at runtime by logcheck,
running as the logcheck user, so there are no longer any ownership or
permissions issues.
---
debian/changelog | 3 +--
debian/logcheck.postinst | 4 ----
2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 71f5e5a..7373831 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,7 @@ logcheck (1.3.4) experimental; urgency=low
* Updated cron-apt rules to match all possible sizes and lengths
* Replaced bashisms with POSIX equivalents (closes: #508546)
* Depend on rsyslog by default (closes: #526911)
- * Unconditionally set ownership/permissions on /var/lock/logcheck
- (closes: #515156)
+ * Dropped (now useless) ownership/permissions fixes on /var/lock/logcheck
-- Frédéric Brière <fbriere at fbriere.net> Mon, 17 Aug 2009 11:48:08 -0400
diff --git a/debian/logcheck.postinst b/debian/logcheck.postinst
index 6ec240d..443cb78 100644
--- a/debian/logcheck.postinst
+++ b/debian/logcheck.postinst
@@ -65,10 +65,6 @@ case "$1" in
cp -p /usr/share/logcheck/header.txt /etc/logcheck
fi
- # Fix permissions for lock
- chown -R logcheck:logcheck /var/lock/logcheck || true
- chmod 755 /var/lock/logcheck || true
-
# Unconditionalizing this for now as we have files that are
# unreadable upon upgrade. <ttroxell at debian.org>
chgrp -R logcheck /etc/logcheck || true
More information about the Logcheck-commits
mailing list