Debian Bug report logs - #452444
support kernel parameters (ip)

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

Reported by: Anton Lundin <glance@acc.umu.se>

Date: Thu, 22 Nov 2007 22:30:01 UTC

Severity: wishlist

Tags: squeeze

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, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to Anton Lundin <glance@acc.umu.se>:
New Bug report received and forwarded. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Anton Lundin <glance@acc.umu.se>
To: submit@bugs.debian.org
Subject: honor ip=
Date: Thu, 22 Nov 2007 23:28:29 +0100
[Message part 1 (text/plain, inline)]
Package: live-initramfs
severity: wishlist                                                              
Version: 1.110.7~20071118.171728

the live script doesn't care about ip= parameters like which interface
to do dhcp on and so on so this patch adds code to do this.

Its not nice and should probably be abstracted to a separate fuction to
run in all the diffrent cases, and not just the nfs-root case.

This is related to using live-initramfs in the fai-install procedure.


-- 
Anton Lundin	+46702-161604
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to Anton Lundin <glance@acc.umu.se>:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Anton Lundin <glance@acc.umu.se>
To: 452444@bugs.debian.org
Subject: Re: Bug#452444: Acknowledgement (honor ip=)
Date: Thu, 22 Nov 2007 23:36:24 +0100
[Message part 1 (text/plain, inline)]
Stupid me forgot the patch...

-- 
Anton Lundin	+46702-161604
[live.ip=.patch (text/plain, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Anton Lundin <glance@acc.umu.se>, 452444@bugs.debian.org
Subject: Re: Bug#452444: honor ip=
Date: Thu, 22 Nov 2007 23:50:18 +0100
Anton Lundin wrote:
> the live script doesn't care about ip= parameters like which interface
> to do dhcp on and so on so this patch adds code to do this.

you probably forgot to attach the patch.

> Its not nice and should probably be abstracted to a separate fuction to
> run in all the diffrent cases, and not just the nfs-root case.

actually, initramfs-tools should be refactured for this, in order to let
 the different initramfs-tools hooks (like live-initramfs) use it and
share the code, rather than to implement/copy the same code again.

anyone got spare time to look into the issue?

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to Jordi Pujol <jordipujolp@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Jordi Pujol <jordipujolp@gmail.com>
To: daniel@debian.org, 452444@bugs.debian.org
Subject: Re: Bug#452444: honor ip=
Date: Mon, 26 Nov 2007 09:10:43 +0100
El Thursday 22 November 2007 23:50:18 Daniel Baumann va escriure:
> Anton Lundin wrote:
> > the live script doesn't care about ip= parameters like which interface
> > to do dhcp on and so on so this patch adds code to do this.
>
> you probably forgot to attach the patch.
>
> > Its not nice and should probably be abstracted to a separate fuction to
> > run in all the diffrent cases, and not just the nfs-root case.
>
> actually, initramfs-tools should be refactured for this, in order to let
>  the different initramfs-tools hooks (like live-initramfs) use it and
> share the code, rather than to implement/copy the same code again.
>
> anyone got spare time to look into the issue?

Hello list,

yes,
I was thinking in populating the file /live.vars
already that is lightly used but moving it to /etc/live.vars
that file could become part of the live-initramfs package and of the 
live-helpers package also,
live-helpers can populate that with initial values and at start of the LiveOS, 
live-initramfs scripts can modify or add options.
After, the hooks can import /etc/live.vars to get all the options converted 
into variables.

Observe:
the procedure really_export ()
actually is used, but that have not a wide use

/etc/live.vars will not contain export sentences, only variable assignments, 
example:
********************
DEBUG="Yes"
HOSTNAME=pcdebianlive
********************

and every option in the live-initramfs procedures will be written to this 
file.

really_export ()
{
	local STRING="${1}"
	local VALUE="$(eval echo -n \${$STRING})"

	set_option "/etc/live.vars" "${STRING}" "${VALUE}"

	eval export "${STRING}"="${VALUE}"
}

set_option ()
{
	local filename=${1}
	local option=${2}
	local value=${3}

	if grep "^${option}=" ${filename} > /dev/null
	then
		sed -i -e "s/^${option}=.*/${option}=${value}/" ${filename}
	else
		echo "${option}=${value}" >> ${filename}
	fi
}

at the end, the live script will move the file /etc/live.vars 
to /root/etc/live.vars
then also the procedures in /etc/init.d/* could import that.

Some observations about ?

Best regards,

Jordi Pujol




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to vagrant@freegeek.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: vagrant@freegeek.org
To: 452444@bugs.debian.org
Subject: Re: Bug#452444: honor ip=
Date: Fri, 30 Nov 2007 19:25:07 -0800
On Thu, Nov 22, 2007 at 11:50:18PM +0100, Daniel Baumann wrote:
> Anton Lundin wrote:
> > Its not nice and should probably be abstracted to a separate fuction to
> > run in all the diffrent cases, and not just the nfs-root case.
> 
> actually, initramfs-tools should be refactured for this, in order to let
>  the different initramfs-tools hooks (like live-initramfs) use it and
> share the code, rather than to implement/copy the same code again.
> 
> anyone got spare time to look into the issue?

use the configure_networking function introduced in initramfs-tools 0.91
(debian bug #439397).

note that this would break compatibility with etch(and currently lenny
too), unless you also used a backport of initramfs-tools.

live well,
  vagrant




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#452444; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: vagrant@freegeek.org, 452444@bugs.debian.org
Subject: Re: Bug#452444: honor ip=
Date: Sat, 01 Dec 2007 20:04:23 +0100
vagrant@freegeek.org wrote:
> use the configure_networking function introduced in initramfs-tools 0.91
> (debian bug #439397).

nice; thanks.

> note that this would break compatibility with etch(and currently lenny
> too), unless you also used a backport of initramfs-tools.

yep.

as live-initramfs is not part of etch, i don't care about etch
compatibility of live-initramfs (as long as it can be easily solved by
backports). there are some other things (e.g. localized keyboard layout)
i'm going to make easier when bumping initramfs depends.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Changed Bug title to `source configure_networking from initramfs to honor ip=' from `honor ip='. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 06 Mar 2009 09:27:10 GMT) Full text and rfc822 format available.

Severity set to `normal' from `wishlist' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 06 Mar 2009 09:27:12 GMT) Full text and rfc822 format available.

Tags added: squeeze Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 06 Mar 2009 09:27:13 GMT) Full text and rfc822 format available.

Changed Bug title to 'support kernel parameters (ip)' from 'source configure_networking from initramfs to honor ip=' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Mon, 01 Feb 2010 09:54:16 GMT) Full text and rfc822 format available.

Changed Bug title to ''more' doesn't work' from 'support kernel parameters (ip)' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Mon, 01 Feb 2010 10:03:06 GMT) Full text and rfc822 format available.

Changed Bug title to 'support kernel parameters (ip)' from ''more' doesn't work' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Mon, 01 Feb 2010 10:12:04 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 18 Mar 2010 05:03:05 GMT) Full text and rfc822 format available.

Bug reassigned from package 'live-initramfs' to 'live-boot'. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 16 Jul 2010 03:09:04 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions 1.110.7~20071118.171728. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 16 Jul 2010 03:09:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Live Systems Maintainers <debian-live@lists.debian.org>:
Bug#452444; Package live-boot. (Wed, 19 Jun 2013 06:00:07 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 Live Systems Maintainers <debian-live@lists.debian.org>. (Wed, 19 Jun 2013 06:00:07 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: 536796@bugs.debian.org, 563082@bugs.debian.org, 563735@bugs.debian.org, 568502@bugs.debian.org, 598542@bugs.debian.org, 514916@bugs.debian.org, 442333@bugs.debian.org, 452444@bugs.debian.org
Subject: live-boot
Date: Wed, 19 Jun 2013 07:58:26 +0200
close 442333
close 452444
close 514916
close 536796
close 563082
close 563735
close 568502
close 598542
thanks

Eventually, live-boot will support additional stuff (it's on our todo
page at http://live.debian.net/devel/live-boot/todo), but since these
are wishlist items open for long time, requireing quite a bit of work to
implement and nobody worked on them for years, I do not see much point
in keeping it rotting in the bts, that's what we have the todo page for
(that includes above things, and much more).

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



Marked Bug as done Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Wed, 19 Jun 2013 06:00:31 GMT) Full text and rfc822 format available.

Notification sent to Anton Lundin <glance@acc.umu.se>:
Bug acknowledged by developer. (Wed, 19 Jun 2013 06:00:32 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 17 Jul 2013 07:33:54 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: Thu Apr 17 01:13:20 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.