| Summary: | dnrd file permission error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Hierling <martin.hierling> |
| Component: | New packages | Assignee: | Chris White (RETIRED) <chriswhite> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Eutils.eclass
right version, 1st was wrong |
||
|
Description
Martin Hierling
2005-08-12 04:56:25 UTC
How are you starting dnrd? Mine is done by the init.d script the author provided for me, which takes the user down to a restricted level (prevents security breaches). as it is supposed to do: with tihe init script as unprev. user "dnrd":
dnrd 26353 1 0 Aug12 ? 00:00:00 /usr/sbin/dnrd --uid dnrd
--address 127.0.0.1 --log --server 193.16.xxx.yy --server 193.16.xxx.yz
see log, try for yourself:
pille ~ # /etc/init.d/dnrd stop
* Caching service dependencies ...
[ ok ]
* Stopping dnrd ...
[ ok ]
pille ~ # chown dnrd /etc/dnrd/
pille ~ # /etc/init.d/dnrd start
* Starting dnrd ...
[ ok ]
pille ~ # date
Mon Aug 15 12:23:41 MEST 2005
pille ~ # grep dnrd /var/log/messages
Aug 15 12:23:27 pille /dnrd[32666]: The /etc/dnrd directory must be owned by root
pille ~ # ps -ef| grep dnrd
root 32708 32317 0 12:23 pts/1 00:00:00 grep dnrd
pille ~ # chown root /etc/dnrd/
pille ~ # /etc/init.d/dnrd start
* WARNING: "dnrd" has already been started.
pille ~ # /etc/init.d/dnrd zap
* Manually resetting dnrd to stopped state.
pille ~ # /etc/init.d/dnrd start
* Starting dnrd ...
[ ok ]
pille ~ # ps -ef| grep dnrd
dnrd 354 1 0 12:24 ? 00:00:00 /usr/sbin/dnrd --uid dnrd
--address 127.0.0.1 --log --server 193.16.xxx.yy --server 193.16.xxx.yz
root 360 32317 0 12:24 pts/1 00:00:00 grep dnrd
Can you do me a favor and attach the current /usr/portage/eutils.eclass you have (without an emerge --sync). Created attachment 66053 [details]
Eutils.eclass
Sync History
rsync'ed at >>> Wed Aug 3 13:01:40 2005
rsync'ed at >>> Wed Aug 3 13:47:45 2005
rsync'ed at >>> Thu Aug 4 19:31:56 2005
rsync'ed at >>> Mon Aug 8 15:40:01 2005
rsync'ed at >>> Thu Aug 11 09:18:47 2005
rsync'ed at >>> Sat Aug 13 15:11:26 2005
Created attachment 66054 [details]
right version, 1st was wrong
Rsync History
rsync'ed at >>> Wed Aug 3 13:01:40 2005
rsync'ed at >>> Wed Aug 3 13:47:45 2005
rsync'ed at >>> Thu Aug 4 19:31:56 2005
rsync'ed at >>> Mon Aug 8 15:40:01 2005
rsync'ed at >>> Thu Aug 11 09:18:47 2005
rsync'ed at >>> Sat Aug 13 15:11:26 2005
Hmm.. seems I had a different run of events since the last time I tested dnrd. The whole permissions thing wasn't an issue then. Anyways, this is now fixed in cvs. |