Package: gdnsd
Version: 1.8.3-1
Severity: serious
Tags: upstream patch
Justification: fails to build from source


The tests fail to start as the 'gdnsd' user does not exist on a fresh system at 
build time (might be worth changing the tests to use the 'nobody' user?  patch 
enclosed):
----
root@dnsdev-1-t42:/usr/src# wget 
http://ftp.de.debian.org/debian/pool/main/g/gdnsd/gdnsd_1.8.3-1.dsc 
http://ftp.de.debian.org/debian/pool/main/g/gdnsd/gdnsd_1.8.3.orig.tar.xz 
http://ftp.de.debian.org/debian/pool/main/g/gdnsd/gdnsd_1.8.3-1.debian.tar.xz
root@dnsdev-1-t42:/usr/src# dpkg-source -x gdnsd_1.8.3-1.dsc
root@dnsdev-1-t42:/usr/src# cd gdnsd-1.8.3/
root@dnsdev-1-t42:/usr/src/gdnsd-1.8.3# dpkg-buildpackage -rfakeroot -us -uc -b
[snipped]
Making check in docs
make[3]: Entering directory `/usr/src/gdnsd-1.8.3/docs'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/usr/src/gdnsd-1.8.3/docs'
Making check in t
make[3]: Entering directory `/usr/src/gdnsd-1.8.3/t'
make  check-local
make[4]: Entering directory `/usr/src/gdnsd-1.8.3/t'
Test data/outputs will be stored at /usr/src/gdnsd-1.8.3/t/testout
if test "x" != "x"; then \
                TOP_BUILDDIR=/usr/src/gdnsd-1.8.3 
TESTOUT_DIR=/usr/src/gdnsd-1.8.3/t/testout TESTPORT_START=12345 /usr/bin/perl 
-I. -MTest::Harness -e "runtests(@ARGV)" ./; \
        else \
                TOP_BUILDDIR=/usr/src/gdnsd-1.8.3 
TESTOUT_DIR=/usr/src/gdnsd-1.8.3/t/testout TESTPORT_START=12345 /usr/bin/perl 
-I. -MTest::Harness -e "runtests(@ARGV)" ./[0-9]*/*.t; \
        fi
./001basic/001self.t ................ 7/9 Bailout called.  Further testing 
stopped:  gdnsd failed to finish starting properly.  output (if any):

#   Failed test at ./001basic/001self.t line 23.
# Cannot spawn daemon: gdnsd failed to finish starting properly.  output (if 
any):
# Created directory [/usr/src/gdnsd-1.8.3/t/testout/001basic_001self]/etc/geoip
# Created directory [/usr/src/gdnsd-1.8.3/t/testout/001basic_001self]/run
# Loading configuration from 'etc/config'
# DNS listener configured for 127.0.0.1:12345
# DNS listener configured for [::1]:12345
# User 'gdnsd' does not exist
FAILED--Further testing stopped: gdnsd failed to finish starting properly.  
output (if any):
make[4]: *** [check-local] Error 255
make[4]: Leaving directory `/usr/src/gdnsd-1.8.3/t'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/usr/src/gdnsd-1.8.3/t'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/usr/src/gdnsd-1.8.3'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/usr/src/gdnsd-1.8.3'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
----
diff -u -r gdnsd-1.8.3/t/001basic/gdnsd.conf gdnsd-1.8.3.orig/t/001basic/gdnsd.conf
--- gdnsd-1.8.3/t/001basic/gdnsd.conf	2013-06-10 12:45:21.000000000 +0000
+++ gdnsd-1.8.3.orig/t/001basic/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,6 +3,5 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/002simple/gdnsd.conf gdnsd-1.8.3.orig/t/002simple/gdnsd.conf
--- gdnsd-1.8.3/t/002simple/gdnsd.conf	2013-06-10 12:45:22.000000000 +0000
+++ gdnsd-1.8.3.orig/t/002simple/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   include_optional_ns = true
   realtime_stats = true
   udp_recv_width = 1
diff -u -r gdnsd-1.8.3/t/003complex/gdnsd.conf gdnsd-1.8.3.orig/t/003complex/gdnsd.conf
--- gdnsd-1.8.3/t/003complex/gdnsd.conf	2013-06-10 12:44:52.000000000 +0000
+++ gdnsd-1.8.3.orig/t/003complex/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   zones_default_ttl = 21600
   realtime_stats = true
   max_response = 62464
diff -u -r gdnsd-1.8.3/t/004misc/gdnsd.conf gdnsd-1.8.3.orig/t/004misc/gdnsd.conf
--- gdnsd-1.8.3/t/004misc/gdnsd.conf	2013-06-10 12:44:49.000000000 +0000
+++ gdnsd-1.8.3.orig/t/004misc/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   include_optional_ns = true
   realtime_stats = true
   max_response = 62464
diff -u -r gdnsd-1.8.3/t/005tld/gdnsd.conf gdnsd-1.8.3.orig/t/005tld/gdnsd.conf
--- gdnsd-1.8.3/t/005tld/gdnsd.conf	2013-06-10 12:45:07.000000000 +0000
+++ gdnsd-1.8.3.orig/t/005tld/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   zones_default_ttl = 43200
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/006root/gdnsd.conf gdnsd-1.8.3.orig/t/006root/gdnsd.conf
--- gdnsd-1.8.3/t/006root/gdnsd.conf	2013-06-10 12:45:32.000000000 +0000
+++ gdnsd-1.8.3.orig/t/006root/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,6 +3,5 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/007plugins/gdnsd.conf gdnsd-1.8.3.orig/t/007plugins/gdnsd.conf
--- gdnsd-1.8.3/t/007plugins/gdnsd.conf	2013-06-10 12:44:55.000000000 +0000
+++ gdnsd-1.8.3.orig/t/007plugins/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/008origin/gdnsd.conf gdnsd-1.8.3.orig/t/008origin/gdnsd.conf
--- gdnsd-1.8.3/t/008origin/gdnsd.conf	2013-06-10 12:44:45.000000000 +0000
+++ gdnsd-1.8.3.orig/t/008origin/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,6 +3,5 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/009monio/gdnsd001.conf gdnsd-1.8.3.orig/t/009monio/gdnsd001.conf
--- gdnsd-1.8.3/t/009monio/gdnsd001.conf	2013-06-10 12:49:59.000000000 +0000
+++ gdnsd-1.8.3.orig/t/009monio/gdnsd001.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/009monio/gdnsd002.conf gdnsd-1.8.3.orig/t/009monio/gdnsd002.conf
--- gdnsd-1.8.3/t/009monio/gdnsd002.conf	2013-06-10 12:49:42.000000000 +0000
+++ gdnsd-1.8.3.orig/t/009monio/gdnsd002.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/009monio/gdnsd005.conf gdnsd-1.8.3.orig/t/009monio/gdnsd005.conf
--- gdnsd-1.8.3/t/009monio/gdnsd005.conf	2013-06-10 12:49:49.000000000 +0000
+++ gdnsd-1.8.3.orig/t/009monio/gdnsd005.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/009monio/gdnsd006.conf gdnsd-1.8.3.orig/t/009monio/gdnsd006.conf
--- gdnsd-1.8.3/t/009monio/gdnsd006.conf	2013-06-10 12:49:46.000000000 +0000
+++ gdnsd-1.8.3.orig/t/009monio/gdnsd006.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/009monio/gdnsd007.conf gdnsd-1.8.3.orig/t/009monio/gdnsd007.conf
--- gdnsd-1.8.3/t/009monio/gdnsd007.conf	2013-06-10 12:49:53.000000000 +0000
+++ gdnsd-1.8.3.orig/t/009monio/gdnsd007.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/010relax/gdnsd.conf gdnsd-1.8.3.orig/t/010relax/gdnsd.conf
--- gdnsd-1.8.3/t/010relax/gdnsd.conf	2013-06-10 12:45:25.000000000 +0000
+++ gdnsd-1.8.3.orig/t/010relax/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,6 +3,5 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/011upthresh/gdnsd.conf gdnsd-1.8.3.orig/t/011upthresh/gdnsd.conf
--- gdnsd-1.8.3/t/011upthresh/gdnsd.conf	2013-06-10 12:45:03.000000000 +0000
+++ gdnsd-1.8.3.orig/t/011upthresh/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/013edns_clientsub/gdnsd.conf gdnsd-1.8.3.orig/t/013edns_clientsub/gdnsd.conf
--- gdnsd-1.8.3/t/013edns_clientsub/gdnsd.conf	2013-06-10 12:45:19.000000000 +0000
+++ gdnsd-1.8.3.orig/t/013edns_clientsub/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/014geoip/gdnsd.conf gdnsd-1.8.3.orig/t/014geoip/gdnsd.conf
--- gdnsd-1.8.3/t/014geoip/gdnsd.conf	2013-06-10 12:44:41.000000000 +0000
+++ gdnsd-1.8.3.orig/t/014geoip/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/014geoip/gdnsd2.conf gdnsd-1.8.3.orig/t/014geoip/gdnsd2.conf
--- gdnsd-1.8.3/t/014geoip/gdnsd2.conf	2013-06-10 12:49:38.000000000 +0000
+++ gdnsd-1.8.3.orig/t/014geoip/gdnsd2.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/015zruntime/gdnsd.conf gdnsd-1.8.3.orig/t/015zruntime/gdnsd.conf
--- gdnsd-1.8.3/t/015zruntime/gdnsd.conf	2013-06-10 12:45:10.000000000 +0000
+++ gdnsd-1.8.3.orig/t/015zruntime/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -3,7 +3,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
   zones_rfc1035_quiesce = 0
diff -u -r gdnsd-1.8.3/t/016extmon/gdnsd.conf gdnsd-1.8.3.orig/t/016extmon/gdnsd.conf
--- gdnsd-1.8.3/t/016extmon/gdnsd.conf	2013-06-10 12:45:16.000000000 +0000
+++ gdnsd-1.8.3.orig/t/016extmon/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -4,7 +4,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   plugin_search_path = @pluginpath@
   realtime_stats = true
 }
diff -u -r gdnsd-1.8.3/t/017dos/gdnsd.conf gdnsd-1.8.3.orig/t/017dos/gdnsd.conf
--- gdnsd-1.8.3/t/017dos/gdnsd.conf	2013-06-10 12:44:59.000000000 +0000
+++ gdnsd-1.8.3.orig/t/017dos/gdnsd.conf	2013-02-04 23:12:22.000000000 +0000
@@ -5,7 +5,6 @@
   http_listen => @http_lspec@
   dns_port => @dns_port@
   http_port => @http_port@
-  username = nobody
   include_optional_ns = true
   realtime_stats = true
   udp_recv_width = 1

Reply via email to