Bug#500806: database rebuild does not ensure readable database

2009-02-09 Thread martin f krafft
tags 500806 patch thanks also sprach Pierre Habouzit [2009.01.15.2330 +0100]: > +exec su -c "$username" '"$0" -c "${configfile}" "$@"' This does not work: + exec su -c nsd '"$0" -c "${configfile}" "$@"' Unknown id: "$0" -c "${configfile}" "$@" Instead, you need to move the -c afte

Bug#500806: database rebuild does not ensure readable database

2009-01-15 Thread Pierre Habouzit
On Thu, Jan 15, 2009 at 10:15:04PM +, Pierre Habouzit wrote: > On Thu, Jan 15, 2009 at 11:16:52PM +, martin f krafft wrote: > > reopen 500806 > > retitle 500806 nsdc should drop privileges when invoked as root > > severity 500806 wishlist > > thanks > > > > also sprach Pierre Habouzit [20

Bug#500806: database rebuild does not ensure readable database

2009-01-15 Thread Pierre Habouzit
On Thu, Jan 15, 2009 at 11:16:52PM +, martin f krafft wrote: > reopen 500806 > retitle 500806 nsdc should drop privileges when invoked as root > severity 500806 wishlist > thanks > > also sprach Pierre Habouzit [2009.01.16.0222 +1300]: > > Nope, you're the one being wrong, you should not run

Bug#500806: database rebuild does not ensure readable database

2009-01-15 Thread martin f krafft
reopen 500806 retitle 500806 nsdc should drop privileges when invoked as root severity 500806 wishlist thanks also sprach Pierre Habouzit [2009.01.16.0222 +1300]: > Nope, you're the one being wrong, you should not run nsdc as root, > unless you're starting nsd. > > You should do : su -c nsd nsdc

Bug#500806: database rebuild does not ensure readable database

2009-01-15 Thread Pierre Habouzit
On Wed, Oct 01, 2008 at 04:12:01PM +, martin f krafft wrote: > Package: nsd3 > Version: 3.0.7-2 > Severity: important > > wall:/etc/nsd3# ls -la /var/lib/nsd3/nsd.db > -rw-r--r-- 1 root root 23580 2008-10-01 18:09 /var/lib/nsd3/nsd.db > wall:/etc/nsd3# nsdc rebuild > wall:/etc/nsd3# ls -la /va

Bug#500806: database rebuild does not ensure readable database

2008-10-01 Thread martin f krafft
Package: nsd3 Version: 3.0.7-2 Severity: important wall:/etc/nsd3# ls -la /var/lib/nsd3/nsd.db -rw-r--r-- 1 root root 23580 2008-10-01 18:09 /var/lib/nsd3/nsd.db wall:/etc/nsd3# nsdc rebuild wall:/etc/nsd3# ls -la /var/lib/nsd3/nsd.db -rw--- 1 root root 23580 2008-10-01 18:10 /var/lib/nsd3/nsd