[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#37045: marked as done (Needs a stricter hostname sanity check)



Your message dated 20 Dec 1999 20:52:36 -0500
with message-id <oabt7l12mz.fsf@arroz.fake>
and subject line bugs closed in boot-floppies 2.2.2 (unstable)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 May 1999 19:16:47 +0000
Received: (qmail 16125 invoked from network); 2 May 1999 19:16:46 -0000
Received: from frantica.lly.org (mail@216.39.144.103)
  by master.debian.org with SMTP; 2 May 1999 19:16:46 -0000
Received: from rcw by frantica.lly.org with local (Exim 2.11 #1 (Debian))
	for submit@bugs.debian.org
	id 10e1jK-0000CR-00; Sun, 2 May 1999 12:16:46 -0700
Date: Sun, 2 May 1999 12:16:46 -0700
From: Robert Woodcock <rcw@debian.org>
To: submit@bugs.debian.org
Subject: Needs a stricter hostname sanity check
Message-ID: <19990502121645.A755@frantica.lly.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: Robert Woodcock <rcw@frantica.lly.org>

Package: boot-floppies
Version: 2.1.9

Our current MTA's (at least exim and smail, perhaps sendmail as well) do a
sanity check on the system's hostname. They will refuse to configure if your
hostname is invalid (starts with a number, etc).

Slink's bootdisks don't do this same check. You can install the base just
fine, then when you have dselect pull in standard, it'll install exim, which
will *then* complain about the hostname. At this point, because the hostname
isn't centrally set (it gets littered all over various config files) the
sysadmin is in a bit of a fix.

The bootdisks should at least warn the sysadmin about an invalid hostname.

Joey (Martin Schulze) whipped up a patch for me:

Hi rcw,

here is the patch against boot-floppies.  Please include it in your
bug report.

--- boot-floppies/utilities/dbootstrap/netconfig.c.orig Sun May  2 21:08:11 1999
+++ boot-floppies/utilities/dbootstrap/netconfig.c      Sun May  2 21:09:53 1999
@@ -177,6 +177,10 @@
     {
       problemBox(_("The host name must not contain dots."),_("Problem"));
       return 1;
+  else if(isdigit(host[0]))
+    {
+      problemBox(_("The host name must not begin with a digit."),_("Problem"));
+      return 1;
     }

 #ifdef _TESTING_

Regards,

        Joey
-- 
Robert Woodcock - rcw@debian.org
"Now we'll have to kill you." -- Linus Torvalds
---------------------------------------
Received: (at 37045-done) by bugs.debian.org; 21 Dec 1999 01:22:45 +0000
Received: (qmail 16360 invoked from network); 21 Dec 1999 01:22:37 -0000
Received: from 209-122-225-104.s104.tnt1.nyw.ny.dialup.rcn.com (HELO arroz.fake) (@209.122.225.104)
  by master.debian.org with SMTP; 21 Dec 1999 01:22:37 -0000
Received: by arroz.fake (Postfix, from userid 421)
	id DC57993805; Mon, 20 Dec 1999 20:52:36 -0500 (EST)
Sender: apharris@arroz.fake
To: 25274-done@bugs.debian.org, 32581-done@bugs.debian.org,
	37045-done@bugs.debian.org, 43057-done@bugs.debian.org,
	43058-done@bugs.debian.org, 47633-done@bugs.debian.org,
	48872-done@bugs.debian.org, 49517-done@bugs.debian.org,
	49524-done@bugs.debian.org, 49976-done@bugs.debian.org,
	52106-done@bugs.debian.org, 52304-done@bugs.debian.org,
	52692-done@bugs.debian.org
Subject: bugs closed in boot-floppies 2.2.2 (unstable)
From: Adam Di Carlo <adam@onshore.com>
Date: 20 Dec 1999 20:52:36 -0500
Message-ID: <oabt7l12mz.fsf@arroz.fake>
Lines: 73
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


These bugs were closed in boot-floppies 2.2.2, now in unstable.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
boot-floppies (2.2.2) unstable; urgency=low

  * this version of boot-floppies is not yet feature complete for potato.
    We still need a lot of help in making dbootstrap better.  Other things
    which are still dreadfully wrong:
      - task package selection not yet integrated
      - xviddetect/anXious not yet integrated
      - apt configurator not yet integrated
      - unified i18n/l10n language/charset not yet fully implemented
      - perl-base still has lots of problems
      - modconf still has tons of problems
    Please volunteer on debian-boot@lists.debian.org or notify/pester/NMU
    the appropriate packages
  * busybox: update to 0.39 from Erik Andersen <andersee@debian.org>;
    enable lots of new commands in busybox, which saves space on root.bin;
    new commands: syslogd, logger, ping, tail
  * overall aesthetics, cleanup, and maintainability fixes; fix numerous
    problems relating to compatability with the new busybox
  * base: add fbset, move all arches to libpopt0 and libnewt; remove
    bloat pkgs such as libstdc++2.9 and perl-5.005; new pcmcia 
    (closes: Bug#52692)
  * rescue: add sed (from 'sed' package); add lazybox 'free'; remove
    fgrep; stop having vi pose as ae, but instead it emit a message; fix
    bad errors in rescue/modules install.sh scripts (closes: Bug#49517);
    update f*.txt messages for i386, boot arguments documentation in
    particular expanded and updated; fix "restart dbootstrap" by looping
    in /etc/init.d/rcS
  * dbootstrap: added hostname sanity check to netconfig.c (closes:
    Bug#37045); use syslog for logging of all cmd output, which stops
    stuff from getting scribbled on the screen (closes: Bug#32581);
    preliminary support for install base via http
  * root: re-enable library reduction on alpha; provide usr/bin/eject from
    eject package on m68k (closes: Bug#52304)
  * documentation: fix to work with new debiandoc-sgml (currently at
    1.1.36); top-level README for developers mentions you need a head to
    build (closes: Bug#49524); new base size is (at least) 45MB (maybe more)
  * new top level command, 'make mirror' to make a mirror of the
    packages needed to build base; 'make check' improved
  * top-level Makefile: 'make check' now includes $(local_dir) in its
    attempts to populate updates/, checks zlib-bin in i386 check deps; use
    zlib-bin's miniunzip rather than the non-free unzip
  * control: depend on libi18n-langtags-perl, flex; remove depends on
    slice and suggests on unzip
  * remove dpkg-multicd, gettext, perl-5.005, libstdc++2.9, libdb2 from
    base (closes: Bug#48872)
  * rethink file naming:
         .../disks-<arch>/[subarch/][alt-kernel/]disks-<size>/
    Common files should appear on the top-most level at which they are
    common.  This is a deeper directory structure but it will enable us to
    have consistency across architectures and be easier for users to
    understand.  For i386 1440k rescue disk, this is now
    'disks-1.44/rescue.bin', which has the benefit of being ok for a FAT
    filesystem (closes: Bug#43057) -- NOTE: this new system introduces
    file naming issues for file searching in dbootstrap which are not yet
    implemented on all platforms -- YMMV
  * add top-level release/README file describing the new file layout, etc.
  * i386: support for dac960 controller on root disk and base disks;
    switch to 2.2.13 kernel (closes: Bug#52106)
  * i18n: portuguese keyboard support added (closes: Bug#49976);
    pt.po fixed (closes: Bug#47633); Hungarian (hu) translation added;
    Esperanto (eo) updated
  * i18n: groundwork for conherent/consistent i18n/l10n handling, see
    utilities/language-chooser for info (this is not yet part of the
    built boot-floppies)
  * more bug closing of things fixed with kernel 2.2.x 
    (closes: Bug#43058, Bug#25274)

 -- Adam Di Carlo <aph@debian.org>  Wed, 15 Dec 1999 22:48:49 -0600


Reply to: