FS#29529 - [inetutils] domainname and dnsdomainname set incorrect domain names

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Wednesday, 18 April 2012, 16:54 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 25 April 2012, 19:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The /bin/domainname and /bin/dnsdomainname scripts have the flags for `hostname` reversed -- currently `domainname` uses "-d" and `dnsdomainname` uses "-y".

`domainname` should use "-y" to set the NIS/YP domain, as it has done in every other Unix system. `dnsdomainname` should use "-d".

(I don't actually see the reason for keeping /bin/domainname. If anyone actually uses NIS, they will have extra/yp-tools installed, which already provides its own /usr/bin/domainname.)

inetutils 1.9.1-1
yp-tools 2.12-2
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 25 April 2012, 19:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  domainname was removed and dnsdomainname was fixed in inetutils-1.9.1-2

Loading...