/bin/hostname complains about but still sets invalid hostname
Bug #52335 reported by
Florian Diesch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hostname (Baltix) |
Incomplete
|
Undecided
|
Unassigned | ||
hostname (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When trying to set a invalid hostname using /bin/hostname it compalions about the hostname being invalid but still sets it:
diesch@vogon:~% hostname
vogon
diesch@vogon:~% sudo hostname ''
Password:
hostname: the specified hostname is invalid
diesch@vogon:~% hostname
diesch@vogon:~%
After the error msg I didn't expect it to change the hostname so at least the msg should be change to make that clear or (IMHO better) just not set an invalid hostname.
Note: the original reporter indicated the bug was in package 'hostname'; however, that package was not published in Baltix.
Changed in hostname: | |
status: | New → Confirmed |
Changed in hostname: | |
status: | Confirmed → New |
Changed in hostname: | |
status: | Confirmed → New |
status: | Confirmed → New |
To post a comment you must log in.
confirming in ubuntu dapper