Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26555 - djbdns: Bad usage of / in symlinks
Summary: djbdns: Bad usage of / in symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jared H. Hudson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-13 09:44 UTC by Kalin KOZHUHAROV
Modified: 2003-09-22 03:38 UTC (History)
2 users (show)

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


Attachments
tinydns-setup.diff (tinydns-setup.diff,564 bytes, patch)
2003-08-13 09:44 UTC, Kalin KOZHUHAROV
Details | Diff
dnscache-setup.diff (dnscache-setup.diff,588 bytes, patch)
2003-08-13 09:45 UTC, Kalin KOZHUHAROV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin KOZHUHAROV 2003-08-13 09:44:01 UTC
I just noticed that the default tinydns-setup (which is in files dir => is
gentoo added) makes some symlinks in /service with the commands such as:

ln -sf /var/tinydns /service/tinydns

The way I found that problem is when I was doing some stuff in a chrooted
environment... then / is simply something else :-)

So, a better way is to use ../var/tinydns for example. (If somebody wodered why
are there so many ../../../.. in some X11 dirs, this is it).

I will include a patch (2 pathces) for that.


Reproducible: Always
Steps to Reproduce:
1.emerge djbdns
2.tinydns-setup
3.ls -l /service

Actual Results:  
tinydns -> /var/tinydns

Expected Results:  
tinydns -> ../var/tinydns
Comment 1 Kalin KOZHUHAROV 2003-08-13 09:44:36 UTC
Created attachment 16054 [details, diff]
tinydns-setup.diff
Comment 2 Kalin KOZHUHAROV 2003-08-13 09:45:03 UTC
Created attachment 16056 [details, diff]
dnscache-setup.diff
Comment 3 Jared H. Hudson (RETIRED) gentoo-dev 2003-09-22 03:38:51 UTC
Thanks, it's been fixed.