Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#540 - rc.sysinit does not set nisdomain name

Attached to Project: Arch Linux
Opened by Roberto Braga (Bobonov) - Sunday, 14 March 2004, 21:09 GMT
Last edited by dorphell (dorphell) - Sunday, 14 March 2004, 21:41 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Actually rc.sysinit doea not set nisdomainname, I wrote 3 line to add to the script in order to set it.
Is a diff result so it can be used with patch

104a105,107
> if [ -f /bin/nisdomainname ]; then
> status "Setting NIS Domain Name: $HOSTNAME" /bin/nisdomainname $HOSTNAME
> fi

This task depends upon

Closed by  Judd Vinet (judd)
Sunday, 05 June 2005, 20:30 GMT
Reason for closing:  Implemented
Comment by Roberto Braga (Bobonov) - Monday, 22 March 2004, 16:21 GMT
I made a mistake in my suggestion, it is not $HOSTNAME, but should be something like $NISDOMAINNAME.
There are several ways to set NISDOMAINNAME variable, the most simple one is by rc.conf.
Another way (and the best one) is to obtain it from the /etc/yp.conf

Comment by Roberto Braga (Bobonov) - Monday, 22 March 2004, 16:35 GMT
I wrote again wrongly, please read /etc/yp.conf as /etc/defaultdomain
Comment by Judd Vinet (judd) - Sunday, 05 June 2005, 20:30 GMT
There's now a /etc/conf.d/nisdomainname setting.

Loading...