[Pkg-samba-maint] [samba] 01/02: Be more verbose about masking samba-ad-dc.service (Closes: #841147)

Mathieu Parent sathieu at moszumanska.debian.org
Mon Oct 31 20:28:17 UTC 2016


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

sathieu pushed a commit to branch master
in repository samba.

commit 61eaeba2a7a2df61b681b4ea545811569de421d0
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Mon Oct 31 21:06:09 2016 +0100

    Be more verbose about masking samba-ad-dc.service (Closes: #841147)
    
    Patch by Roland Hieber
---
 debian/samba.postinst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/samba.postinst b/debian/samba.postinst
index 35b476f..787d802 100644
--- a/debian/samba.postinst
+++ b/debian/samba.postinst
@@ -87,6 +87,8 @@ if [ "$SERVER_ROLE" != "active directory domain controller" ] \
 ; then
     if [ ! -e /etc/systemd/system/samba-ad-dc.service ]; then
         mkdir -p /etc/systemd/system
+        echo "Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service."
+        echo "Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service."
         ln -s /dev/null /etc/systemd/system/samba-ad-dc.service
         # In case this system is running systemd, we make systemd reload the unit files
         # to pick up changes.

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




More information about the Pkg-samba-maint mailing list