[pkg-bacula-commits] [bacula] 01/02: Fixed default config for bacula-sd so it listens only on localhost

Carsten Leonhardt leo at moszumanska.debian.org
Thu Aug 31 13:34:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

leo pushed a commit to branch master
in repository bacula.

commit 4e85371f6664238bdb7b518d8fe65c9a0be40d2c
Author: Carsten Leonhardt <leo at debian.org>
Date:   Thu Aug 31 15:29:35 2017 +0200

    Fixed default config for bacula-sd so it listens only on localhost
---
 debian/changelog                               |  6 ++++++
 debian/patches/debian-fix-default-config.patch | 23 +++++++++--------------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f8c9396..5991e93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bacula (9.0.3+dfsg-2) unstable; urgency=low
+
+  * Fixed default config for bacula-sd so it listens only on localhost
+
+ --
+
 bacula (9.0.3+dfsg-1) experimental; urgency=low
 
   * New upstream release (Closes: #855645)
diff --git a/debian/patches/debian-fix-default-config.patch b/debian/patches/debian-fix-default-config.patch
index 6801bbc..c38f262 100644
--- a/debian/patches/debian-fix-default-config.patch
+++ b/debian/patches/debian-fix-default-config.patch
@@ -115,7 +115,7 @@ Last-Update: 2012-06-01
  }
 --- a/src/stored/bacula-sd.conf.in
 +++ b/src/stored/bacula-sd.conf.in
-@@ -15,7 +15,7 @@
+@@ -15,19 +15,20 @@
  #
  
  Storage {                             # definition of myself
@@ -124,7 +124,12 @@ Last-Update: 2012-06-01
    SDPort = @sd_port@                  # Director's port
    WorkingDirectory = "@working_dir@"
    Pid Directory = "@piddir@"
-@@ -27,7 +27,7 @@
+   Plugin Directory = "@plugindir@"
+   Maximum Concurrent Jobs = 20
++  SDAddress = 127.0.0.1
+ }
+ 
+ #
  # List Directors who are permitted to contact Storage daemon
  #
  Director {
@@ -133,7 +138,7 @@ Last-Update: 2012-06-01
    Password = "@sd_password@"
  }
  
-@@ -36,7 +36,7 @@
+@@ -36,7 +37,7 @@
  #   status of the storage daemon
  #
  Director {
@@ -142,23 +147,13 @@ Last-Update: 2012-06-01
    Password = "@mon_sd_password@"
    Monitor = yes
  }
-@@ -330,5 +330,5 @@
+@@ -330,5 +331,5 @@
  #
  Messages {
    Name = Standard
 -  director = @basename at -dir = all
 +  director = @debian_hostname at -dir = all
  }
---- a/src/stored/stored.conf.in
-+++ b/src/stored/stored.conf.in
-@@ -16,6 +16,7 @@
-   WorkingDirectory = "@working_dir@"
-   Pid Directory = "@piddir@"
-   Subsys Directory = "@subsysdir@"
-+  SDAddress = 127.0.0.1
- }
- 
- #
 --- a/src/console/bconsole.conf.in
 +++ b/src/console/bconsole.conf.in
 @@ -6,7 +6,7 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list