From a2927cde973fba3eab558b723ba2bfba897f10c8 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Tue, 27 Nov 2012 13:34:36 -0700 Subject: [PATCH] fix for #693331, amserverconfig trying to create /var/lib/lib/amanda --- debian/patches/fix-amserverconfig-path | 13 +++++++++++++ debian/patches/series | 1 + server-src/amserverconfig.pl | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 debian/patches/fix-amserverconfig-path diff --git a/debian/patches/fix-amserverconfig-path b/debian/patches/fix-amserverconfig-path new file mode 100644 index 0000000..e9f3365 --- /dev/null +++ b/debian/patches/fix-amserverconfig-path @@ -0,0 +1,13 @@ +diff --git a/server-src/amserverconfig.pl b/server-src/amserverconfig.pl +index a05dd18..9357116 100755 +--- a/server-src/amserverconfig.pl ++++ b/server-src/amserverconfig.pl +@@ -31,7 +31,7 @@ use Amanda::Constants; + + my $confdir="$CONFIG_DIR"; + my $tmpdir="$AMANDA_DBGDIR"; +-my $amandahomedir="$localstatedir/lib/amanda"; ++my $amandahomedir="$localstatedir/amanda"; + my $templatedir="$amdatadir/template.d"; #rpm install template files here + my $def_tapedev="file:$amandahomedir/vtapes"; + diff --git a/debian/patches/series b/debian/patches/series index 4bd2880..8a8ba3f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ dumpdates-path +fix-amserverconfig-path diff --git a/server-src/amserverconfig.pl b/server-src/amserverconfig.pl index a05dd18..9357116 100755 --- a/server-src/amserverconfig.pl +++ b/server-src/amserverconfig.pl @@ -31,7 +31,7 @@ use Amanda::Constants; my $confdir="$CONFIG_DIR"; my $tmpdir="$AMANDA_DBGDIR"; -my $amandahomedir="$localstatedir/lib/amanda"; +my $amandahomedir="$localstatedir/amanda"; my $templatedir="$amdatadir/template.d"; #rpm install template files here my $def_tapedev="file:$amandahomedir/vtapes"; -- 2.30.2