[Bug 52335] Re: /bin/hostname complains about but still sets invalid hostname

2010-09-14 Thread rusivi1
Thank you for posting this bug.

Is this an issue in Lucid?

** Changed in: hostname (Baltix)
   Status: New = Incomplete

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2010-03-10 Thread Colin Watson
hostname (3.03ubuntu1) lucid; urgency=low

  * Merging from Debian Testing, remaining changes:
 - Install Upstart job to set hostname on startup, but do not run it in
   postinst.
 - Build-depend on newer debhelper for Upstart-aware dh_installinit.

 -- Vikram Dhillon dhillon...@gmail.com  Wed, 10 Mar 2010 19:00:50
+

hostname (3.03) unstable; urgency=low

  * Do not use buffer on error return. (Closes: #565634) - thanks to
Marco d'Itri m...@linux.it

 -- Michael Meskes mes...@debian.org  Tue, 19 Jan 2010 09:07:56 +0100

hostname (3.02) unstable; urgency=low

  [ Cristian Greco ]
  * bump version to 3.02 for next release.
  * set my new maintainer email address.

  [ Michael Meskes ]
  * Reject invalid hostnames. (LP #52335)
  * Gratiously accept FQ hostnames. While this should not be done
hostname should still be able to cope with it and print the short
name as promised in the manpage (LP#389602). (Closes: #563074)
  * Added option to display all ip addresses and all fqdns. (Closes:
#562830) - thanks to Gábor Gombás gomb...@sztaki.hu

 -- Michael Meskes mes...@debian.org  Fri, 15 Jan 2010 13:08:57 +0100

** Changed in: hostname (Ubuntu)
   Status: Confirmed = Fix Released

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-18 Thread Gaetan Nadon

Requirements for hostname are as follow:
ASCII letters 'a' through 'z' (case-insensitive), the digits '0' through '9' 
and the hyphen. Hostname labels cannot begin or end with a hyphen. No other 
symbols, punctuation characters, or blank spaces are permitted. The length is 
between 1 and 63 characters. Refer to RFC1034, 1035 and 2181.
Refer to bug 193054 which fixed a similar problem in another package

I have performed a new installation in a VirtualBox using Intrepid. The
installer program checks the hostname according to the rules above. The
text of the error message, when an invalid hostname is entered, is
wrong. It states that the length should be between 2 and 63.

RFC 1034 states that Each node has a label, which is zero to 63 octets
in length. and that One label is reserved, and that the null (i.e.,
zero length) label used for the root. The installer allows me to set a
hostname with just one letter, which is correct.

Thanks for reporting this bug. Since this bug has enough information
provided for a developer to begin work, I'm going to mark it as
confirmed and let them handle it from here. Thanks for taking the time
to make Ubuntu better!


** Changed in: hostname (Ubuntu)
   Status: New = Confirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-14 Thread Adam Niedling
** Changed in: hostname (Ubuntu)
   Status: Confirmed = New

** Changed in: hostname (Baltix)
   Status: Confirmed = New

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-14 Thread Adam Niedling
I decided to look into the source code: http://package-
import.ubuntu.com/h/hostname/intrepid/annotate/head%3A/hostname.c

169 if (!check_name(name))
170 warnx(the specified hostname is 
invalid); 
171 
172 if (sethostname(name, strlen(name))) { 

I'm not really a c expert but this looks like to me that it checks if
the hostname is correct but after the error message it just continues to
set the hostname no matter what.

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-12 Thread Jeff
Also confirmed in 8.10, hostname version 2.95 with same method as
listed.

** Changed in: hostname (Ubuntu)
   Status: New = Confirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-03 Thread Shanta Schelfhout
I was able to reproduce this on Ubuntu 8.10 with package hostname version 2.95.
Results from terminal:

me@:~$ sudo hostname airhead
sudo: unable to resolve host 
me@:~$ hostname
airhead
me@:~$ sudo hostname ''
hostname: the specified hostname is invalid
me@:~$ hostname


me@:~$ 

Contents of /etc/hostname
[EMAIL PROTECTED]:~$ more /etc/hostname 
airhead
[EMAIL PROTECTED]:~$ 




** Changed in: hostname (Ubuntu)
   Status: New = Confirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-03 Thread Adam Niedling
I really think old new bugs get more attention.

** Changed in: hostname (Ubuntu)
   Status: Confirmed = New

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-03 Thread Shanta Schelfhout
** Changed in: hostname (Ubuntu)
   Status: New = Confirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-12-03 Thread Shanta Schelfhout
** Changed in: hostname (Ubuntu)
   Status: Confirmed = New

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2008-11-30 Thread Adam Niedling
This is still an issue in Intrepid. I'm setting this back to new, maybe
it'll get more attention.

** Changed in: hostname (Ubuntu Dapper)
   Status: New = Invalid

** Changed in: hostname (Ubuntu)
   Status: Confirmed = New

-- 
/bin/hostname complains about but still sets invalid hostname
https://bugs.launchpad.net/bugs/52335
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 52335] Re: /bin/hostname complains about but still sets invalid hostname

2006-07-08 Thread Ondřej Nový
confirming in ubuntu dapper


** Changed in: Baltix
Sourcepackagename: None = hostname
   Status: Unconfirmed = Confirmed

** Also affects: hostname (Ubuntu)
   Importance: Untriaged
   Status: Unconfirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://launchpad.net/bugs/52335

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52335] Re: /bin/hostname complains about but still sets invalid hostname

2006-07-08 Thread William Grant
Erm, no. You just confirmed it in Baltix. Now confirming in Ubuntu.

** Changed in: hostname (Ubuntu)
   Status: Unconfirmed = Confirmed

-- 
/bin/hostname complains about but still sets invalid hostname
https://launchpad.net/bugs/52335

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs