[pkg-ntp-maintainers] [pkg-ntp] 13/13: Set --home in adduser to resolve lintian error

Bernhard Schmidt berni at moszumanska.debian.org
Sun May 7 19:44:07 UTC 2017


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

berni pushed a commit to branch berni-wip
in repository pkg-ntp.

commit 2f06f916e24aab1dc9ecb89a4765602d0d99e0f1
Author: Bernhard Schmidt <berni at debian.org>
Date:   Sun May 7 21:31:49 2017 +0200

    Set --home in adduser to resolve lintian error
---
 debian/ntp.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/ntp.postinst b/debian/ntp.postinst
index 3e46351..6a9b1a6 100644
--- a/debian/ntp.postinst
+++ b/debian/ntp.postinst
@@ -20,7 +20,7 @@ fi
 
 if [ "$1" = "configure" ]; then
 	addgroup --system --quiet ntp
-	adduser --system --quiet --ingroup ntp --no-create-home ntp
+	adduser --system --quiet --ingroup ntp --no-create-home --home /nonexistent ntp
 	chown -R ntp:ntp /var/lib/ntp /var/log/ntpstats
 fi
 

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



More information about the pkg-ntp-maintainers mailing list