Summary: | baselayout: /etc/init.d/domainname script missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kesara Rathnayake <kesara> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | admin, sylgar |
Priority: | Highest | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 143988 |
Description
Kesara Rathnayake
2006-04-20 11:46:37 UTC
This is NOT a bug. It's even documented in baselayout's ewarn... <snip> if [[ -e "${ROOT}"/etc/init.d/domainname ]] ; then rm -f "${ROOT}"/etc/init.d/domainname rm -f "${ROOT}"/etc/runlevels/*/domainname ewarn "The domainname init script has been removed in this version." ewarn "Consult ${ROOT}/etc/conf.d/net.example for details about how" ewarn "to apply dns/nis information to the loopback interface." fi </snip> *** Bug 131278 has been marked as a duplicate of this bug. *** If you get any warnings saying domainname is missing while booting, use this command to avoid such warnings... rm -f /etc/runlevels/*/domainname *** Bug 133694 has been marked as a duplicate of this bug. *** /etc/conf.net is not a full replacement for the /etc/init.d/domainname script. there is no way in gentoo to setup the domainname through provided config files (in fact, to call the domainname binary / call the setdomainname() function). When you set it up through /etc/conf.d/net, it is just written into resolv.conf. Thus applications like postfix, which call the gethostname() and getdomainname() are still getting "(none)" as the domain. The solution is to include line "domainname <my domain>" into /etc/conf.d/local.start, but the domainname rc script would have been a cleaner solution. |