First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 57214
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jared H. Hudson (RETIRED) <jhhudso@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ng, Wey-Han <weyhan@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tinydns-setup.patch Fix tinydns-setup useradd line patch Ng, Wey-Han 2004-07-15 12:12 0000 348 bytes Details | Diff
tinydns-setup.patch Fix tinydns-setup useradd line and echo line as well. patch Ng, Wey-Han 2004-07-15 12:17 0000 453 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 57214 depends on: Show dependency tree
Bug 57214 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-15 12:10 0000
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

------- Comment #1 From Ng, Wey-Han 2004-07-15 12:12:49 0000 -------
Created an attachment (id=35496) [edit]
Fix tinydns-setup useradd line

------- Comment #2 From Ng, Wey-Han 2004-07-15 12:17:28 0000 -------
Created an attachment (id=35497) [edit]
Fix tinydns-setup useradd line and echo line as well.

Missed the echo line in the earlier patch.

------- Comment #3 From Seemant Kulleen (RETIRED) 2004-07-15 13:54:18 0000 -------
this is great, but what package is this for please?

------- Comment #4 From Ng, Wey-Han 2004-07-15 22:03:05 0000 -------
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.

------- Comment #5 From Jared H. Hudson (RETIRED) 2004-08-23 15:27:11 0000 -------
Thanks for the bug report. This has been fixed.

First Last Prev Next    No search results available      Search page      Enter new bug