[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-08-20 Thread Edward Hope-Morley
** Tags removed: sts-sru-needed ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-25 Thread Hua Zhang
According to Eric's above comment, I've opened a new bug to track this at - https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1745531 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-25 Thread Eric Desrochers
Joshua, Could you also report another bug against preseed for this particular case with this one as a reference ? With its own SRU justification tmpl, It'll make sponsor and SRU team life easier to review. - Eric -- You received this bug notification because you are a member of Ubuntu

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-25 Thread Eric Desrochers
Joshua, That look good to me. So I would suggest: 1) Keep the if statement and add the -w option to grep to be more robust 2) Modify the sed cmd with word boundaries (\b) to be more robust as well. Can you build preseed & "d-i" in your PPA to generate a mini.iso and test the reproducer ? If

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-24 Thread Hua Zhang
Hi Eric, I think your proposal '-w' is good, so I will change to use: if ! echo "$RET" | grep -qw 'ubuntu'; then Mathieu, How about using '/b' ? I mean using the following regex /bin/sed -i "s/\b${CURRENT_HOSTNAME}\b/${NETCFG_HOSTNAME}/g" /etc/hosts I have done some test below:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-24 Thread Eric Desrochers
IIUC,one of the goal mentioned by cyphermox here seems to avoid the grep cmd to catch ubuntu pattern where hostname has ubuntu in it. Example: sometextbeforeubuntusometextafter ubuntusometextafter sometextbeforeubuntu and only catch it when it is 'ubuntu' nothing else. I think "-w" should

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-24 Thread Mathieu Trudel-Lapierre
I don't think I'd want to have the patches provided applied as-is. There are multiple problems with them: - The default hostname is 'ubuntu', and is the value you will get if nothing is preseeded -- we *do* need to skip it in this case, although the grep may need to be more precise. A name like

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Eric Desrochers
** Also affects: debian-installer (Ubuntu Bionic) Importance: Medium Assignee: Eric Desrochers (slashd) Status: Fix Released ** Also affects: preseed (Ubuntu Bionic) Importance: Medium Assignee: Eric Desrochers (slashd) Status: Fix Released -- You received this bug

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Eric Desrochers
Hi Joshua, As discussed on irc, It would be best for Trusty to use the debdiff I made found in LP: #1743787. Otherwise, when the "d-i" rebuild will be needed to generate a new mini.iso for instance, "d-i" will fail to build. Everything is documented in the bug. - Eric -- You received this

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
Remove the debdiff for "d-i" for Trusty only and Eric will take care of it in lp bug #1743787 ** Attachment removed: "d-i_trusty.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5037278/+files/d-i_trusty.debdiff ** Patch removed: "d-i_trusty_v2.debdiff"

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Tags removed: sts-sru-done verification-done ** Tags added: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "d-i_xenial_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042030/+files/d-i_xenial_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "d-i_bionic_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042032/+files/d-i_bionic_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "d-i_trusty_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042028/+files/d-i_trusty_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "lp_1452202_bonic_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042031/+files/lp_1452202_bonic_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "lp_1452202_xenial_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042029/+files/lp_1452202_xenial_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-23 Thread Hua Zhang
** Patch added: "lp_1452202_trusty_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202/+attachment/5042027/+files/lp_1452202_trusty_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-17 Thread Eric Desrochers
Hi Hua Zhang, Just as an FYI... A rebuild of "d-i" will be also required after your "preseed" SRU change in order to generate a new Minimal image of Ubuntu (mini.iso). Note that there is a "d-i" FTBTFS situation that will need to be fix for "d-i" before the "d-i" rebuilt for the package to

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-17 Thread Eric Desrochers
Hi Hua Zhang, Just as an FYI... A rebuild of "d-i" will be also required after your "preseed" SRU change in order to generate a new Minimal image of Ubuntu (mini.iso). Note that there is a "d-i" FTBTFS situation that will need to be fix for "d-i" before the "d-i" rebuilt for the package to

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-17 Thread Eric Desrochers
Hi Hua Zhang, Just as an FYI... A rebuild of "d-i" will be also required after your "preseed" SRU change in order to generate a new Minimal image of Ubuntu (mini.iso). Note that there is a "d-i" FTBTFS situation that will need to be fix for "d-i" before the "d-i" rebuilt for the package to

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-16 Thread Hua Zhang
The following regex is more better /bin/sed -i "/^[127|localhost]/s/${CURRENT_HOSTNAME}/${NETCFG_HOSTNAME}/g" /etc/hosts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-15 Thread Hua Zhang
I mean: /usr/bin/awk '$1 ~ /^127|localhost/ {print $0}' /etc/hosts | /bin/sed "s/\s*\(${CURRENT_HOSTNAME}\)\(\s*\)/\t${NETCFG_HOSTNAME}/g" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-15 Thread Hua Zhang
Maybe we can use the following regex instead, 'awk '$1 ~ /^127|localhost/ {print $0}'' is used to fix 'ff02::1 ip6-allnodes' case, and add 'g' option to modifity all hostname. $ hostname=ubuntu $ echo '127.0.1.1 ubuntu.me.com ubuntu' |awk '$1 ~ /^127|localhost/ {print $0}' |sed

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2018-01-15 Thread Hua Zhang
I think Peter Wu is totally right. In addition to above two problems, there is still another problem with the patch that the present regular expression '/bin/sed -i "s/$CURRENT_HOSTNAME/$NETCFG_HOSTNAME/" /etc/hosts' can't handle multiple hostname case: $ echo '127.0.1.1 ubuntu.me.com ubuntu'

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2017-05-17 Thread Peter Wu
See also the comments in https://unix.stackexchange.com/questions/106614/preseed-cfg-ignoring-hostname-setting, and in particular the reference to http://d-i.alioth.debian.org/manual/en.i386/apbs04.html#preseed-network The hostname is probably a very common case though. I am currently using

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2017-05-17 Thread Peter Wu
There are two problems with the patch: 1. netcfg/hostname=ubuntu (or any value containing "ubuntu") remains unfixed. 2. Certain DHCP hostnames can result in corrupting the hosts file. For example, with DHCP name "node" and "netcfg/hostname=newname" we have this command: /bin/sed -i

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2017-03-22 Thread Louis Bouchard
** Tags removed: sts-sru ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications about this

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2017-01-12 Thread Launchpad Bug Tracker
This bug was fixed in the package debian-installer - 20101020ubuntu451.9 --- debian-installer (20101020ubuntu451.9) xenial; urgency=medium * Bump FLOPPY_SIZE by 2MB on amd64 and i386 for linux-firmware growth. debian-installer (20101020ubuntu451.8) xenial; urgency=medium * No

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-12-16 Thread Eric Desrochers
The patch has been tested a while ago, but the tag never been changed. I change the tag to verification-done. Thanks Adam for pointing this out. Eric ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-12-16 Thread Adam Conrad
Still waiting on someone to test the xenial debian-installer upload and tell us that the bug is indeed fixed there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-11-09 Thread Martin Pitt
Hello bugproxy, or anyone else affected, Accepted debian-installer into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/debian- installer/20101020ubuntu451.7 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package preseed - 1.71ubuntu1.1 --- preseed (1.71ubuntu1.1) xenial; urgency=medium * Fix for netcfg/hostname, if set, to take precedence. (LP: #1452202) - Modify debian/network-preseed.postinst -- Eric Desrochers Wed,

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package preseed - 1.62ubuntu1.1 --- preseed (1.62ubuntu1.1) trusty; urgency=medium * Fix for netcfg/hostname, if set, to take precedence. (LP: #1452202) - Modify debian/network-preseed.postinst -- Eric Desrochers Wed,

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package debian-installer - 20101020ubuntu318.41 --- debian-installer (20101020ubuntu318.41) trusty; urgency=medium * No change rebuild to pick up the latest change in preseed (LP: #1452202) -- Eric Desrochers Mon, 17 Oct

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-20 Thread Louis Bouchard
** Tags removed: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications about this bug go to:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-18 Thread Eric Desrochers
The d-i debdiff contains no changes, it is only to allow the rebuild (Daily ISO) to happen and to pick up the latest change in preseed package. Eric ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-18 Thread Martin Pitt
Hello bugproxy, or anyone else affected, Accepted debian-installer into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/debian- installer/20101020ubuntu318.41 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-17 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/debian-installer/trusty-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-17 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/debian-installer/xenial-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-14 Thread Eric Desrochers
I have tested on Trusty with "preseed - 1.62ubuntu1.1" by rebuilding the source code on a PPA along with d-i " 20101020ubuntu318.40" in order to get a mini.iso. I confirmed the mini.iso override the hostname as expected if "netcfg/hostname" is set and that the override occurred before the disk

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-14 Thread Brian Murray
Hello bugproxy, or anyone else affected, Accepted preseed into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/preseed/1.62ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Mathieu Trudel-Lapierre
Ok, looks like yakkety already has picked up the latest preseed in the current debian-installer package in the images; marking this one Fix Released. ** Changed in: debian-installer (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Eric Desrochers
d-i debdiff for Trusty ** Patch added: "d-i_trusty.debdiff" https://bugs.launchpad.net/ubuntu/trusty/+source/preseed/+bug/1452202/+attachment/4760531/+files/d-i_trusty.debdiff ** Changed in: debian-installer (Ubuntu) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Eric Desrochers
d-i debdiff for Yakkety ** Patch added: "d-i_yakkety.debdiff" https://bugs.launchpad.net/ubuntu/trusty/+source/preseed/+bug/1452202/+attachment/4760529/+files/d-i_yakkety.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Mathieu Trudel-Lapierre
** Also affects: debian-installer (Ubuntu) Importance: Undecided Status: New ** Changed in: debian-installer (Ubuntu) Status: New => In Progress ** Changed in: debian-installer (Ubuntu Trusty) Status: New => In Progress ** Changed in: debian-installer (Ubuntu)

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Eric Desrochers
d-i debdiff for Xenial ** Patch added: "d-i_xenial.debdiff" https://bugs.launchpad.net/ubuntu/trusty/+source/preseed/+bug/1452202/+attachment/4760530/+files/d-i_xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Eric Desrochers
Next step, is to increase the version of d-i for Y/X/T for the change in preseed to be rebuild and be part of the new ISOs (Daily) Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Eric Desrochers
I have tested "preseed - 1.71ubuntu1.1" by rebuilding the source code on a PPA along with d-i "20101020ubuntu451.6" in order to get a mini.iso. I confirmed the mini.iso override the hostname as expected if "netcfg/hostname" is set and that the override occurred before the disk configuration for

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-13 Thread Martin Pitt
Hello bugproxy, or anyone else affected, Accepted preseed into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/preseed/1.71ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package preseed - 1.71ubuntu3 --- preseed (1.71ubuntu3) yakkety; urgency=medium * Fix for netcfg/hostname, if set, to take precedence. (LP: #1452202) - Modify debian/network-preseed.postinst -- Eric Desrochers Wed, 05

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Mathieu Trudel-Lapierre
Since we changed stuff in preseed, fixing up the package links... ** Package changed: netcfg (Ubuntu) => preseed (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread bugproxy
** Tags added: targetmilestone-inin1510 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications about this bug go to:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
** Tags removed: targetmilestone-inin1510 vivid ** Tags added: sts-sponsor ** Tags added: sts-sru ** Description changed: [Impact]  * DHCP hostname take precedence over netcfg/hostname, if set. The problem is that the system read the preseed file after having run netcfg, thus the

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
Debdiff for Yakkety ** Patch added: "lp_1452202_yak.debdiff" https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1452202/+attachment/4755192/+files/lp_1452202_yak.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
Debdiff for Xenial ** Patch added: "lp_1452202_xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1452202/+attachment/4755214/+files/lp_1452202_xenial.debdiff ** Changed in: netcfg (Ubuntu Xenial) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
Debdiff for Trusty ** Patch added: "lp_1452202_trusty.debdiff" https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1452202/+attachment/4755204/+files/lp_1452202_trusty.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
Moving the script in preseed src code under "network-preseed.postinst" address the vg name creation situation (see previous comment). It basically make "netcfg/hostname",if set, to load (override the hostname) before the "Volume Group" creation start which build the vg name based on the hostname

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
Additional note about the re-work. The original patch I have submitted works as expected by overriding the hostname but ... I noticed after more testing that if LVM is used partman rely on "/etc/hostname" to name the VG[1] for instance : --vg-root. Unfortunately, the current patch does the

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-10-05 Thread Eric Desrochers
I have deleted the proposed .debdiff as I want to re-work them a little bit. Will re-submit once my re-work is completed. Eric ** Patch removed: "Fix for Yakkety" https://bugs.launchpad.net/ubuntu/trusty/+source/netcfg/+bug/1452202/+attachment/4744663/+files/yakkety_lp1452202.debdiff **

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-30 Thread Bug Watch Updater
** Changed in: netcfg (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-29 Thread Mathew Hodson
** Changed in: netcfg (Ubuntu Xenial) Importance: Undecided => Medium ** Project changed: netcfg => ubuntu-translations ** Changed in: ubuntu-translations Importance: Unknown => Undecided ** Changed in: ubuntu-translations Remote watch: Debian Bug tracker #755848 => None ** No longer

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-28 Thread Eric Desrochers
** Description changed: [Impact]  * DHCP hostname take precedence over netcfg/hostname, if set. The problem is that the system read the preseed file after having run netcfg, thus the preseed parameter cannot be loaded straight from the start. [Test Case]  * HOWTO

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-28 Thread Chris J Arges
** Also affects: netcfg (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: netcfg (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-28 Thread Eric Desrochers
** Changed in: netcfg (Ubuntu Trusty) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: netcfg (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: netcfg (Ubuntu Trusty) Status: New => In Progress -- You received this bug notification because you are a

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fix for Yakkety" seems to be a debdiff. The ubuntu- sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Eric Desrochers
** Description changed: [Impact]  * DHCP hostname take precedence over netcfg/hostname, if set. The problem is that the system read the preseed file after having run netcfg, thus the preseed parameter cannot be loaded straight from the start. - - If netcfg is re-run, it freezes.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Eric Desrochers
** Description changed: [Impact]  * DHCP hostname take precedence over netcfg/hostname, if set. The problem is that the system read the preseed file after having run netcfg, thus the preseed parameter cannot be loaded straight from the start. If netcfg is re-run, it freezes.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Eric Desrochers
Fix for Trusty ** Patch added: "Fix for Trusty" https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1452202/+attachment/4744664/+files/trusty_lp1452202.debdiff ** Tags added: sts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Eric Desrochers
Fix for Yakkety ** Description changed: + [Impact] + + * DHCP hostname take precedence over netcfg/hostname, if set. + + The problem is that the system read the preseed file after having run netcfg, thus preseed parameter cannot be loaded straight from the start + + [Test Case] + + *

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-20 Thread Eric Desrochers
** Changed in: netcfg (Ubuntu) Assignee: Mathieu Trudel-Lapierre (cyphermox) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-09-16 Thread Mathieu Trudel-Lapierre
This bug is still on my list, but there hasn't been progress for the moment. The workaround I can think of to set hostname during the install would be to preseed the value on the command-line (setting netcfg/hostname=whatever along with priority=critical, etc.). -- You received this bug

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-08-06 Thread Bug Watch Updater
** Changed in: netcfg Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications about this

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-08-06 Thread Ben Hagen
** Bug watch added: Debian Bug tracker #755848 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755848 ** Also affects: netcfg via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755848 Importance: Unknown Status: Unknown -- You received this bug notification because you are a

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2016-07-19 Thread Sandhya Venugopala
Hi Mathieu Trudel-Lapierre, Kindly let us know the updates and target release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-11-04 Thread Mathieu Trudel-Lapierre
Reassigning to netcfg which is the correct package where to fix this. ** Package changed: debian-installer (Ubuntu) => netcfg (Ubuntu) ** Changed in: netcfg (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-09-10 Thread Mathieu Trudel-Lapierre
Yes, I'd be the one fixing this issue -- I'm just responding to the fact that this was initially opened as "how can I make d-i not ask for the hostname, to get a fully unattended install". In this sense, the bug is "fixed", by bringing up debconf priority, the install will be unattended. Now, I'd

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-09-08 Thread Mathieu Trudel-Lapierre
Looks to me like you're "just" missing adding 'priority=critical' on the command-line to avoid being asked for the hostname. This happens before while the hostname is preseeded, the network needs to be brought up before it can be read, and netcfg does both bringing up the network and setting the

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-08-27 Thread Steve Langasek
** Changed in: debian-installer (Ubuntu) Assignee: (unassigned) = Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-05-19 Thread Mathieu Trudel-Lapierre
Confirming/Triaged: I can reproduce this here easily; preseeded hostname should indeed get used. As I recall this isn't a new issue. Setting priority to medium since there is an easy workaround for it. ** Changed in: debian-installer (Ubuntu) Status: New = Triaged ** Changed in:

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-05-06 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people

[Bug 1452202] Re: ubuntu preseed install fails to set a hostname

2015-05-06 Thread Brian Murray
** Tags added: vivid ** Package changed: ubuntu = debian-installer (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage