Summary: | sys-libs/glibc: please support having resolv.conf in /var | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | CC: | binki, dagger, lack, nirbheek, openrc, pchrist, qiaomuf, radek, steev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
2011-08-03 17:59:06 UTC
My concern about putting it in /var would be, will it be available early enough if /var is on a separate partition? (In reply to comment #1) > My concern about putting it in /var would be, will it be available early > enough if /var is on a separate partition? That's why I'm suggesting not using weird kinds of things like symlinks and just falling back to /etc when not available at the moment. If someone needs resolver that early during the bootup, he/she is probably ok with some kind of static configuration as well. Also, someone mentioned using tmpfs-mounted /run for it. That seems like quite a good solution too. i'm not interested in mucking with glibc ahead of it being merged upstream. if you want to develop/test, then you can easily do that yourself. as for symlinks + /var not being available, nothing is stopping you from keeping your "fallback" resolv.conf in an otherwise empty /var until it gets a chance to be mounted. nothing says /var must be empty in order to mount on top if it. so from the glibc perspective, there's nothing to do here. i think that really only leaves openresolv. |