Comment # 24 on bug 929471 from
(In reply to Dennis Golden from comment #21)

No it was not, all systems here around with SysVinit do set the static hostname
without domain name.  And I'm also maintainer of sysvinit.  The script here was

  /etc/init.d/boot.localnet

and the code does look like

        #
        # set hostname and domainname
        #
        XHOSTNAME=""
        test -f /etc/HOSTNAME && {
            read XHOSTNAME < /etc/HOSTNAME
        }
        test -n "$HOSTNAME" -a "$HOSTNAME" != '(none)' && {
            echo Using boot-specified hostname \'${HOSTNAME}\'
            XHOSTNAME="$HOSTNAME"
        }
        test -n "$XHOSTNAME" && {
            echo -n Setting up hostname \'${XHOSTNAME%%.*}\'
            hostname ${XHOSTNAME%%.*}
            rc_status -v -r
        }

        XDOMAINNAME=""
        test -f /etc/defaultdomain && {
            read XDOMAINNAME < /etc/defaultdomain
        }
        test -n "$XDOMAINNAME" && {
            echo -n Setting up NIS domainname \'$XDOMAINNAME\'
        }
        domainname "$XDOMAINNAME"
        test -n "$XDOMAINNAME" && {
        rc_status -v -r
        }

        unset XHOSTNAME
        unset XDOMAINNAME


You are receiving this mail because: