Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83281 - dnrd-2.19.ebuild (updated package)
Summary: dnrd-2.19.ebuild (updated package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Chris White (RETIRED)
URL: http://dnrd.sf.net/
Whiteboard:
Keywords:
: 81474 83277 88764 (view as bug list)
Depends on:
Blocks: 83277
  Show dependency tree
 
Reported: 2005-02-25 03:08 UTC by Meder Bakirov
Modified: 2005-08-12 08:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dnrd-2.19.ebuild (dnrd-2.19.ebuild,761 bytes, text/plain)
2005-02-25 03:14 UTC, Meder Bakirov
Details
dnrd-2.19.ebuild (updated ebuild) (dnrd-2.19.ebuild,830 bytes, text/plain)
2005-07-14 01:00 UTC, Natanael Copa
Details
files/dnrd (dnrd,476 bytes, text/plain)
2005-07-14 01:02 UTC, Natanael Copa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meder Bakirov 2005-02-25 03:08:40 UTC
Version bump of dnrd.

This is a bugfix release and fixes some issues with timeouts/deactivation and reactivation of upstream servers, especially when dnscache from djbdns is the upstream server. 
 
Windows/Cygwin support also added with this release

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Meder Bakirov 2005-02-25 03:14:17 UTC
Created attachment 52108 [details]
dnrd-2.19.ebuild

Added "dodir /etc/dnrd", because dnrd refuses to start when there is no
/etc/dnrd directory (http://bugs.gentoo.org/show_bug.cgi?id=83277)
Comment 2 Keith Constable 2005-02-26 11:19:00 UTC
Also note that dnrd needs to be removed from www-proxy, for it is stale and is not actually a proxy for the world wide web.
Comment 3 Keith Constable 2005-02-26 11:21:56 UTC
One mooore thing: bug 81474 should probably be a duplicate of this one since this contains the fix for bug 83277.
Comment 4 Natanael Copa 2005-04-08 02:48:31 UTC
Any particular reason that this hasn't been committed to the portage tree yet? Anything I can to to help?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-12 08:34:02 UTC
*** Bug 81474 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-04-13 11:18:24 UTC
*** Bug 88764 has been marked as a duplicate of this bug. ***
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-20 11:09:20 UTC
Natanael, if you're willing to look after this package as a proxy-maintainer (that is to say -- you help me with all bug reports and issues with it), I'll be happy to be the maintainer until we find a gentoo dev more willing.
Comment 8 Natanael Copa 2005-04-20 12:59:11 UTC
I would be happy to be a proxy-maintainer for DNRD. I maintain the DNRD project itself and the FreeBSD port too and since Gentoo is my main development platform.... I'm glad you asked :)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-05-11 03:48:03 UTC
seemant, could you have a look (see Comment #8). Thanks.
Comment 10 Matthew Bevan 2005-05-16 02:55:48 UTC
I have also updated this in my local portage tree and request the global tree be updated as well so I don't loose the e-build. ;)
Comment 11 Chris White (RETIRED) gentoo-dev 2005-05-20 11:00:38 UTC
*** Bug 83277 has been marked as a duplicate of this bug. ***
Comment 12 Chris White (RETIRED) gentoo-dev 2005-05-20 11:02:00 UTC
Accepting assignment, I'll try and get this into the tree sometime next week
after my small rush of finals.
Comment 13 Chad Sine 2005-07-08 13:39:10 UTC
I too, am very much looking forward to seeing this packing enter the official
tree.  For the past 2 weeks, I have been having to install dnrd-2.19 using
PORTDIR_OVERLAY.  I have to deploy that version on another 40 systems, and would
benefit greatly from it being official. 

Chris White, How is it coming?  I'm very busy with work currently, as you are
I'm sure.  However, Is their anything I can do to help?
Comment 14 Natanael Copa 2005-07-09 00:57:58 UTC
I am working on the next upstream release. It will not use the "nobody" user but
will need a separate user named "dnrd". The reason is that the use "nobody"is a
generic user. By changing the uid to a dedicated "dnrd" user we are guaranteed
that dnrd will not have any permissions on other potensial processes running as
"nobody".

Paranoia... :)

We could actually do this in the currnet 2.19 version already, using the --uid
option to dnrd.

I am thinking of creating a user named "dnrd" in the ebuild and replace this line:

/usr/sbin/dnrd $DNRD_OPTS &> /dev/null &

with:

/usr/sbin/dnrd --uid dnrd $DNRD_OPTS &> /dev/null &

in /etc/init.d/dnrd

Anyone having anything against that? 

If not, would anyone like to update the ebuild and init script? (I could do it
but I'd rather work on dnrd than research the gentoo policies on creting new users)

In next upstream release (2.20) it will try to run as "dnrd" by default.
Comment 15 Natanael Copa 2005-07-14 01:00:57 UTC
Created attachment 63367 [details]
dnrd-2.19.ebuild (updated ebuild)

Updated ebuild that creates the user and group "dnrd".

This obsoletes the previous dnrd-2.19.ebuild posted here.
Comment 16 Natanael Copa 2005-07-14 01:02:37 UTC
Created attachment 63368 [details]
files/dnrd

this is the updated /etc/init.d/dnrd script that starts dnrd as the user "dnrd"
instead of "nobody".
Comment 17 Natanael Copa 2005-07-21 05:29:56 UTC
This bug can be closed. It's fixed in #99520.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 08:16:51 UTC
2.19.1 in portage, closing.