From 2e9795edf994053dfaef4fc78fdf78ed8e1db95c Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 10 Jun 2010 15:50:06 -0600 Subject: [PATCH] update init.d to clean new state location /var/lib/sudo, prepare to upload --- debian/changelog | 2 +- debian/sudo-ldap.sudo.init | 4 ++-- debian/sudo.sudo.init | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4044b55..9e1ccca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -sudo (1.7.2p7-1) UNRELEASED; urgency=high +sudo (1.7.2p7-1) unstable; urgency=high * new upstream release with security fix for secure path (CVE-2010-1646), closes: #585394 diff --git a/debian/sudo-ldap.sudo.init b/debian/sudo-ldap.sudo.init index f99fdae..530fd63 100644 --- a/debian/sudo-ldap.sudo.init +++ b/debian/sudo-ldap.sudo.init @@ -16,9 +16,9 @@ set -e case "$1" in start) # make sure privileges don't persist across reboots - if [ -d /var/run/sudo ] + if [ -d /var/lib/sudo ] then - find /var/run/sudo -exec touch -t 198501010000 '{}' \; + find /var/lib/sudo -exec touch -t 198501010000 '{}' \; fi ;; stop|reload|restart|force-reload) diff --git a/debian/sudo.sudo.init b/debian/sudo.sudo.init index 2e14e42..9300b1e 100644 --- a/debian/sudo.sudo.init +++ b/debian/sudo.sudo.init @@ -16,9 +16,9 @@ set -e case "$1" in start) # make sure privileges don't persist across reboots - if [ -d /var/run/sudo ] + if [ -d /var/lib/sudo ] then - find /var/run/sudo -exec touch -t 198501010000 '{}' \; + find /var/lib/sudo -exec touch -t 198501010000 '{}' \; fi ;; stop|reload|restart|force-reload) -- 2.30.2