diff -u mrtg-2.12.2/bin/mrtg mrtg-2.12.2/bin/mrtg --- mrtg-2.12.2/bin/mrtg +++ mrtg-2.12.2/bin/mrtg @@ -75,6 +75,7 @@ } +use File::Basename; use FindBin; use lib "${FindBin::Bin}"; use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2"; @@ -1642,6 +1643,7 @@ unless $$ == $read; } else { # now, lets do it the UNIX way ... Daves work ... + mkdir dirname($lockfile); open(LOCK,">$templock") or die "ERROR: Creating templock $templock: $!"; $main::Cleanfile = $templock; if (!link($templock,$lockfile)) { # Lock file exists - deal with it. diff -u mrtg-2.12.2/debian/changelog mrtg-2.12.2/debian/changelog --- mrtg-2.12.2/debian/changelog +++ mrtg-2.12.2/debian/changelog @@ -1,3 +1,9 @@ +mrtg (2.12.2-2) dapper; urgency=low + + * Create /var/lock/mrtg if it doesn't exist (closes: #30428) + + -- Rocco Stanzione Mon, 28 Aug 2006 14:46:09 -0500 + mrtg (2.12.2-1) unstable; urgency=low * New upstream release