[Pkg-mpd-commits] [pkg-mpd] 08/10: document that socket activation voids bind_to_address setting (closes: #785418)

Florian Schlichting fsfs at moszumanska.debian.org
Mon Jun 22 22:15:49 UTC 2015


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

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit 46ebe0ada4f8f2a4c6eac9107267ff52f306de33
Author: Florian Schlichting <fsfs at debian.org>
Date:   Tue Jun 23 00:04:25 2015 +0200

    document that socket activation voids bind_to_address setting (closes: #785418)
---
 debian/mpd.conf                                        |  3 ++-
 debian/patches/bind-to-address-socket-activation.patch | 16 ++++++++++++++++
 debian/patches/series                                  |  1 +
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/mpd.conf b/debian/mpd.conf
index 1982f39..4cdaa2b 100644
--- a/debian/mpd.conf
+++ b/debian/mpd.conf
@@ -77,7 +77,8 @@ user				"mpd"
 # This setting sets the address for the daemon to listen on. Careful attention
 # should be paid if this is assigned to anything other then the default, any.
 # This setting can deny access to control of the daemon. Choose any if you want
-# to have mpd listen on every address
+# to have mpd listen on every address. Not effective if systemd socket
+# activation is in use.
 #
 # For network
 bind_to_address		"localhost"
diff --git a/debian/patches/bind-to-address-socket-activation.patch b/debian/patches/bind-to-address-socket-activation.patch
new file mode 100644
index 0000000..30a0c85
--- /dev/null
+++ b/debian/patches/bind-to-address-socket-activation.patch
@@ -0,0 +1,16 @@
+Description: document that socket activation voids bind_to_address setting
+Author: Florian Schlichting <fsfs at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785418
+
+--- a/doc/mpdconf.example
++++ b/doc/mpdconf.example
+@@ -75,7 +75,8 @@
+ #
+ # This setting sets the address for the daemon to listen on. Careful attention
+ # should be paid if this is assigned to anything other then the default, any.
+-# This setting can deny access to control of the daemon.
++# This setting can deny access to control of the daemon. Not effective if
++# systemd socket activiation is in use.
+ #
+ # For network
+ #bind_to_address		"any"
diff --git a/debian/patches/series b/debian/patches/series
index 8de029a..042102c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ protect_system.patch
 unknown-lvalue-ControlGroup.patch
 libsystemd.patch
 curl-proxy.patch
+bind-to-address-socket-activation.patch

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



More information about the Pkg-mpd-commits mailing list