Debian Bug report logs - #661369
live-build: cannot change hostname

version graph

Package: live-build; Maintainer for live-build is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-build is src:live-build.

Reported by: Piotr <upiter77@lycos.com>

Date: Sun, 26 Feb 2012 18:12:02 UTC

Severity: normal

Found in version live-build/3.0~a45-1

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, upiter77@lycos.com, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Sun, 26 Feb 2012 18:12:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Piotr <upiter77@lycos.com>:
New Bug report received and forwarded. Copy sent to upiter77@lycos.com, Debian Live Project <debian-live@lists.debian.org>. (Sun, 26 Feb 2012 18:12:06 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Piotr <upiter77@lycos.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-build: cannot change hostname
Date: Sun, 26 Feb 2012 19:10:40 +0100
Package: live-build
Version: 3.0~a45-1
Severity: normal

Dear Maintainer,

I cannot change the hostname.
I have tried to change manually in config/binary:

# $LB_HOSTNAME: set hostname
# (Default: debian)
LB_HOSTNAME="live"

but it doesn't work, the hostname is still debian.

greetings
Piotr

-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.8+b1
ii  debootstrap   1.0.38

Versions of packages live-build recommends:
ii  cpio                            2.11-7
ii  gettext-base                    0.18.1.1-5
ii  gnu-fdisk                       1.2.4-3
ii  live-boot-doc                   3.0~a25-1
ii  live-config-doc                 3.0~a32-1
ii  live-manual-html [live-manual]  1:3.0~a10-1
ii  live-manual-txt [live-manual]   1:3.0~a10-1

Versions of packages live-build suggests:
pn  dosfstools                  3.0.12-1
pn  genisoimage                 <none>
pn  memtest86+ | memtest86      <none>
pn  mtools                      4.0.12-1
pn  parted                      <none>
pn  squashfs-tools | mtd-tools  <none>
pn  sudo                        1.8.3p2-1
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>

-- no debconf information




Reply sent to daniel.baumann@progress-technologies.net:
You have taken responsibility. (Sun, 26 Feb 2012 18:33:07 GMT) Full text and rfc822 format available.

Notification sent to Piotr <upiter77@lycos.com>:
Bug acknowledged by developer. (Sun, 26 Feb 2012 18:33:07 GMT) Full text and rfc822 format available.

Message #10 received at 661369-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: Piotr <upiter77@lycos.com>
Cc: 661369-done@bugs.debian.org
Subject: Re: Bug#661369: live-build: cannot change hostname
Date: Sun, 26 Feb 2012 19:22:30 +0100
On 02/26/2012 07:10 PM, Piotr wrote:
> I cannot change the hostname.
> I have tried to change manually in config/binary:

see man live-config and put the correct option in bootappend-live.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Sun, 26 Feb 2012 20:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Geert Stappers <stappers@stappers.nl>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sun, 26 Feb 2012 20:57:06 GMT) Full text and rfc822 format available.

Message #15 received at 661369@bugs.debian.org (full text, mbox):

From: Geert Stappers <stappers@stappers.nl>
To: 661369@bugs.debian.org
Subject: Re: Bug#661369: marked as done (live-build: cannot change hostname)
Date: Sun, 26 Feb 2012 21:42:45 +0100
On Sun, Feb 26, 2012 at 06:33:07PM +0000, Debian Bug Tracking System wrote:
> Your message dated Sun, 26 Feb 2012 19:22:30 +0100
> with message-id <4F4A7866.3030803@progress-technologies.net>
> and subject line Re: Bug#661369: live-build: cannot change hostname

> > Package: live-build
> > Version: 3.0~a45-1
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > I cannot change the hostname.
> > I have tried to change manually in config/binary:
> > 
> > # $LB_HOSTNAME: set hostname
> > # (Default: debian)
> > LB_HOSTNAME="live"
> > 
> > but it doesn't work, the hostname is still debian.
> > 
> > greetings
> > Piotr

> has caused the Debian Bug report #661369,
> regarding live-build: cannot change hostname
> to be marked as done.
> 
> This means that you claim that the problem has been dealt with.

I wonder how.

If the bugreport was invalid, please say so.

If the bug was there, please tell how it was fixed.


Regards
Geert Stappers




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Sun, 26 Feb 2012 23:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "upiter77@lycos.com" <upiter77@lycos.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sun, 26 Feb 2012 23:27:03 GMT) Full text and rfc822 format available.

Message #20 received at 661369@bugs.debian.org (full text, mbox):

From: "upiter77@lycos.com" <upiter77@lycos.com>
To: synrg@sanctuary.nslug.ns.ca
Cc: 661369@bugs.debian.org
Subject: Re: Re: Bug#661369: live-build: cannot change hostname
Date: Sun, 26 Feb 2012 23:15:41 +0000 (GMT)
[Message part 1 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Mon, 27 Feb 2012 00:09:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 27 Feb 2012 00:09:11 GMT) Full text and rfc822 format available.

Message #25 received at 661369@bugs.debian.org (full text, mbox):

From: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
To: "upiter77@lycos.com" <upiter77@lycos.com>
Cc: 661369@bugs.debian.org
Subject: Re: Bug#661369: live-build: cannot change hostname
Date: Sun, 26 Feb 2012 20:06:20 -0400
On 26/02/12 07:15 PM, upiter77@lycos.com wrote:
> 
> Thx Ben, but
> 
> lb config --hostname "my_name"
> 
> doesn't work, perhaps due to the syslinux and I'm using syslinux as a
> boot loader.
> 
> Any other idea to solve this problem?

Only the one that both Daniel *and* I have already given you, to use the
live-config 'hostname' option instead. Note: live-config is not
lb_config. To use live-config options, you need to pass them through
lb_config --bootappend-live, as explained in live-manual. Read 7.1 Build
time vs. boot time configuration, and chapter 10, Customizing run time
behaviours. Also, as we said before, see the live-config man page. Note
that in wheezy/sid, this man page is in the separately installed
live-config-doc package.


Ben




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Mon, 27 Feb 2012 01:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "upiter77@lycos.com" <upiter77@lycos.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 27 Feb 2012 01:36:04 GMT) Full text and rfc822 format available.

Message #30 received at 661369@bugs.debian.org (full text, mbox):

From: "upiter77@lycos.com" <upiter77@lycos.com>
To: synrg@sanctuary.nslug.ns.ca
Cc: 661369@bugs.debian.org
Subject: Re: Re: Bug#661369: live-build: cannot change hostname
Date: Mon, 27 Feb 2012 01:33:09 +0000 (GMT)
[Message part 1 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Mon, 27 Feb 2012 10:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 27 Feb 2012 10:06:28 GMT) Full text and rfc822 format available.

Message #35 received at 661369@bugs.debian.org (full text, mbox):

From: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
To: "upiter77@lycos.com" <upiter77@lycos.com>
Cc: 661369@bugs.debian.org
Subject: Setting the hostname via --bootappend-live spelled out in excruciating detail
Date: Mon, 27 Feb 2012 06:03:22 -0400
On 26/02/12 09:33 PM, upiter77@lycos.com wrote:
> Thx again, but still cannot find out howto pass them through lb_config
> --bootappend-live.
> I've read the live manual, but still this is not clear.

I can't see how it is not clear, after I led you directly to the
relevant doc sections!

Although live-manual does not list every single option you can pass via
--bootappend-live, it does introduce the idea in 7.1 that you can use
this parameter to specify any of the options listed in the live-boot and
live-config man pages and urges you to install those. It also links
directly to chapter 10 where this is explained in more detail, giving an
ample number of examples.

Furthermore, the live-config man page (if you've actually read it, which
I am beginning to doubt) indicates that 'hostname' is among the
parameters you can pass:

  live-config.hostname=HOSTNAME | hostname=HOSTNAME
    Allows to set the hostname of the system. The default is 'debian'.

In chapter 10, in the very first example, "Customizing the live user",
it shows how to change the username. Is the doc really so confusing that
you can't put the two together and figure out that hostname works the
same way?

  It is also possible to change the default username "user" and the
  default password "live". If you want to do that for any reason, you
  can easily achieve it as follows:

  To change the default username you can simply specify it in your
  config:

  $ lb config --bootappend-live "username=live-user"

So, since you seem to have difficulty with this, I will put the
information from two documents together for you:

  $ lb config --bootappend-live "hostname=live"

Frankly, I'm disappointed at the degree of hand-holding that I've had to
do here. I think the documentation is completely clear about this. And
no, in case you were thinking it, I will not list hostname=live as
another example in live-manual. This will not help make it clearer
because then our readers have to slog through yet another example to
convey to them exactly the same information as the other ones. The
logical conclusion to that would be the wholesale copying of the entire
contents of the man pages into live-manual. This would encourage lazy
readers to believe they can skip reading the man pages and just rely on
live-manual to tell them everything they need to know. Do you know I
already have had users complain that they cannot use live-manual because
it's too long? No, listing every blessed option that is already listed
in live-config man page in live-manual is not the answer.

I'm sorry if this sounds harsh, but this is now the fourth time in this
bug report you've been told what to do, and my patience is now worn
rather thin.

Ben




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#661369; Package live-build. (Mon, 27 Feb 2012 11:18:38 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.baumann@progress-technologies.net:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 27 Feb 2012 11:19:03 GMT) Full text and rfc822 format available.

Message #40 received at 661369@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: "upiter77@lycos.com" <upiter77@lycos.com>
Cc: 661369@bugs.debian.org
Subject: Re: Bug#661369: Setting the hostname via --bootappend-live spelled out in excruciating detail
Date: Mon, 27 Feb 2012 11:59:44 +0100
On 02/27/2012 11:03 AM, Ben Armstrong wrote:
> Do you know I
> already have had users complain that they cannot use live-manual because
> it's too long?

furthermore, live-manual shall teach concepts, and not copy reference
matierial from the manpages (which would be useless dublication and
would need constant synchronisation).

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 27 Mar 2012 07:39:00 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 21:20:49 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.