tinydns-setup creates a dnscache user instead of a tinydns user if tinydns user does not exist in the password file. Patch provided below: --- /usr/bin/tinydns-setup 2004-07-10 03:14:38.000000000 +0800 +++ tinydns-setup 2004-07-17 03:04:07.000000000 +0800 @@ -58,7 +58,7 @@ then echo ">>> Adding user dnscache ..." /usr/sbin/useradd -d /dev/null -s /bin/false -g nofiles \ - dnscache &> /dev/null + tinydns &> /dev/null fi /usr/bin/grep dnslog /etc/passwd &> /dev/null
Created attachment 35496 [details, diff] Fix tinydns-setup useradd line
Created attachment 35497 [details, diff] Fix tinydns-setup useradd line and echo line as well. Missed the echo line in the earlier patch.
this is great, but what package is this for please?
Oops! This is for djbdns. tinydns-setup is a gentoo specific addition to this package for setting up the dns server after installation. Current version I am using is 1.05-r12 but I believe this problem might be there in all the version that have this tool. Also some more useful information about the problem. Oops again! The problem does not show up normally because the tinydns user is added in the emerge process, so that part of the code usually don't execute. The problem will only serface if for some reason the tinydns user is removed from the passwd file and this script is run.
Thanks for the bug report. This has been fixed.