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

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


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

sathieu pushed a commit to branch experimental
in repository samba.

commit 24802c24472c74eed3aadb57bb8ff4ffbc6fdb47
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
    
    (cherry picked from commit 61eaeba2a7a2df61b681b4ea545811569de421d0)
---
 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