| Summary: | sys-apps/baselayout-1.11.12-r4: /etc/init.d/domainname should call domainname for dnsdomainname | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
domainname sets the NIS/YP domainname hence the NISDOMAIN var |
What about: n22 ~ # diff -u domainname /etc/init.d/domainname --- domainname 2005-06-24 21:50:59.000000000 +0200 +++ /etc/init.d/domainname 2005-06-24 21:51:29.000000000 +0200 @@ -45,6 +45,7 @@ if checkconfig_dns ; then ebegin "Setting DNS domainname to ${DNSDOMAIN}" + /bin/domainname "${DNSDOMAIN}" resolv=$(grep -v '^[[:space:]]*domain' /etc/resolv.conf) [[ ${OVERRIDE} == "1" ]] \ && resolv="${resolv}"$'\n'"domain ${DNSDOMAIN}" \ ? Reproducible: Always Steps to Reproduce: 1. 2. 3.