[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
I've just merged hostname 2.98 into Ubuntu Lucid. hostname (2.98) unstable; urgency=low [ Cristian Greco ] * Fix some indentation. * bump version to 2.98. * attempt to clarify program documentation in usage() and manpage. [ Michael Meskes ] * Made program behave exactly like yp-tools domainname when called as {nis,yp,}domainname. * We replace nis by installing {yp,nis,}domainname, closes: #546753 -- Michael Meskes mes...@debian.org Wed, 16 Sep 2009 19:47:31 +0200 hostname (2.97) unstable; urgency=low * New maintainer, closes: #543892 * Bumped Standards-Version to 3.8.3, no changes needed. * Do not print trailing blank for option -a, closes: #390527 * Refer to correct init file, closes: #540774 * Applied patch by Scott James Remnant sc...@ubuntu.com to take care of an empty or non existant /etc/hostname, closes: #543666 * Made package description and manpage clearer, closes: #483221 * Added patch by Michael Stapelberg michael+db20090...@stapelberg.de to better cope with IPv6, closes: #535467 * Added nisdomainname/ypdomainname, closes: #501005 * Strip domain name returned by gethostname(), closes: #420053 -- Michael Meskes mes...@debian.org Sun, 13 Sep 2009 14:34:13 +0200 ** Changed in: hostname (Ubuntu) Status: New = Fix Released -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
** Changed in: hostname (Debian) Status: New = Fix Released -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
This has been fixed in hostname 2.98 upstream. http://packages.debian.org/changelogs/pool/main/h/hostname/hostname_2.98/changelog -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
Looking at this again, a more complete patch would be: if (!strcmp(progname, domainname) || !strcmp(progname, nisdomainname) || !strcmp(programe, ypdomainname)) type = NIS; I realize that this functionality has been moved into the nis package, but installing nis just to provide the domainname functionality has the side effect of a long delay during boot, accompanied by the message binding to YP server Stefano Rivera suggested that a package providing the domainname, nisdomainname and ypdomainname links could be created that is incompatible with the nis package. I believe that the patch above, combined with a 'nislinks' package installed with the hostname package is the solution. -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
** Bug watch added: Debian Bug tracker #501005 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501005 ** Also affects: hostname (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501005 Importance: Unknown Status: Unknown -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277568] Re: invoking hostname as domainname does not produce results described in --help
** Changed in: hostname (Debian) Status: Unknown = New -- invoking hostname as domainname does not produce results described in --help https://bugs.launchpad.net/bugs/277568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs