NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48379: resolv.conf symlink changes not picked up by resolver



On 13 November 2013 17:35, Joerg Sonnenberger 
<joerg%britannica.bec.de@localhost> wrote:
> The following reply was made to PR bin/48379; it has been noted by GNATS.
>
>  > >Synopsis:       resolv.conf symlink changes not picked up by resolver
>
>  I don't think it is reasonable to expect that to work.
>  The system would have to monitor not only the symlink, but e.g. all
>  directories involved. Consider
>
>  /etc/resolv.conf -> /a/b

I would have thought checking readlink() plus dev+ino would be pretty
comprehensive.

The PR was a followup to a question from Christos. I'd also be quite
happy if the current mechanism and limitations was documented in
resolver(3) or similar - right now from a user perspective its just
magic. Very cool magic, but undocumented and uncertain in the face of
symlinks.


Home | Main Index | Thread Index | Old Index