[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-10-06 Thread Peter Maydell
Just a note that the udev rules change from comment 6 seems to be
necessary to reliably get an image booted under QEMU to bring up a getty
on the serial console. What seems to happen without it is that udevd
spends all its time running copies of 'readlink', and it doesn't get
around to telling systemd about the presence of ttyAMA0 until after
systemd's 1m30 timeout has expired and it gives up, reporting "Timed out
waiting for device dev-ttyAMA0.device". (This happens most of the time
on an emulated QEMU CPU and at least occasionally on one running with
single-vcpu KVM, probably dependent on speed of the host hardware.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-19 Thread Martin Pitt
Thanks for the followup. Closing the debian-installer part now. The work
on the Debian side wrt. multiplexing the installer UI to mutiple
consoles sounds interesting, but I don't think we should houd our breath
for it -- I think this is going to be tricky given how different the
capabilities of VT and serial consoles are wrt. geometry, colors,
special chars, etc.

** Changed in: debian-installer (Ubuntu Yakkety)
   Status: Triaged => Invalid

** Changed in: debian-installer (Ubuntu Xenial)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-19 Thread bugproxy
--- Comment From gpicc...@br.ibm.com 2016-09-19 15:26 EDT---
Very nice pitti, thanks for the clarification. And thanks a lot for your effort 
in this bug.

Seems there is a request/RFC to add GNU screen support to debian-
installer, so it can show the menu in multiple terminals [1] [2]. Would
be a great addition to Ubuntu installer as well, specially since it
would allow a fully functional console to be opened at same time
installer is running, allowing quick debug features.

We will close this bugzilla/LP now, since it's not a bug. Also, added
some documentation [3] about the issue in order to enlighten customers
and everybody that might face this situation.

Thanks,

Guilherme

---
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819988
[2] https://lists.debian.org/debian-boot/2016/08/msg00056.html

[3]
https://wiki.ubuntu.com/ppc64el/Recommendations#Netboot_installation_over_IPMI

** Bug watch added: Debian Bug tracker #819988
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819988

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-19 Thread Martin Pitt
That d-i behaviour agrees with how the kernel interprets those:
https://www.kernel.org/doc/Documentation/serial-console.txt -- i. e.
kernel messages appear on all "console="s, but the last one defines what
/dev/console points to.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-19 Thread Martin Pitt
gpiccoli, great finding! Indeed it seems debian-installer interprets
console= arguments and prefers the *last* one:

rootskel-1.115ubuntu1/src/sbin/reopen-console-linux:

if [ -z "$console" ]; then
# Locate the last enabled console present on the command line
for arg in $(cat /proc/cmdline); do
case $arg in
console=*)
arg=${arg#console=}
cons=${arg%%,*}
if echo "$consoles" | grep -q "^$cons$"; then
console=$cons
fi
;;
esac
done
fi

if [ -z "$console" ]; then
# Still nothing? Default to /dev/console.
console=console
fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-14 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 229-4ubuntu8

---
systemd (229-4ubuntu8) xenial-proposed; urgency=medium

  * Queue loading transient units after setting their properties. Fixes
starting VMs with libvirt. (LP: #1529079)
  * Connect pid1's stdin/out/err fds to /dev/null also for containers. This
fixes generators which expect a valid stdout/err fd in some container
technologies. (LP: #1608953)
  * 73-usb-net-by-mac.rules: Do not run readlink for *every* uevent, and
merely check if /etc/udev/rules.d/80-net-setup-link.rules exists.
A common way to disable an udev rule is to just "touch" it in
/etc/udev/rule.d/ (i. e. empty file), and if the rule is customized we
cannot really predict anyway if the user wants MAC-based USB net names or
not. (LP: #1615021)
  * systemd-networkd-resolvconf-update.service: Also pick up DNS servers from
individual link leases, as they sometimes don't appear in the global
ifstate. (LP: #1620559)

 -- Martin Pitt   Tue, 06 Sep 2016 14:16:29
+0200

** Changed in: systemd (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


Re: [Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-12 Thread Martin Pitt
Breno Leitão [2016-09-12 20:53 -]:
> Per previous comment, I understand that this bug is still not fixed,
> correct?

Yes, as it isn't even understood yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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

[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-12 Thread Breno Leitão
Martin,

Per previous comment, I understand that this bug is still not fixed,
correct?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-12 Thread Martin Pitt
I ran the test case for systemd on a 16.04.1 desktop live system with an
USB ethernet device. I confirm that naming still works as intended, MAC
naming can be disabled with the /dev/null symlink, and the readlink
calls are gone.

(Again, note that this was merely the side issue, not the main boot
problem here.)

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-12 Thread Martin Pitt
Note, there hasn't been any debian installer fix yet, as we don't even
understand what's actually happening there. There has just been an SRU
to systemd/udev to fix the "No such file or directory" error message in
udev rules, but apparently that was not the actual problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-09-07 Thread Andy Whitcroft
Hello bugproxy, or anyone else affected,

Accepted systemd into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/systemd/229-4ubuntu8
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemd (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 231-5

---
systemd (231-5) unstable; urgency=medium

  [ Iain Lane ]
  * Let graphical-session-pre.target be manually started (LP: #1615341)

  [ Felipe Sateler ]
  * Add basic version of git-cherry-pick
  * Replace Revert-units-add-a-basic-SystemCallFilter-3471.patch with upstream
patch
  * sysv-generator: better error reporting. (Closes: #830257)

  [ Martin Pitt ]
  * 73-usb-net-by-mac.rules: Test for disabling 80-net-setup-link.rules more
efficiently. Stop calling readlink at all and just test if
/etc/udev/rules.d/80-net-setup-link.rules exists -- a common way to
disable an udev rule is to just "touch" it in /etc/udev/rule.d/ (i. e.
empty file), and if the rule is customized we cannot really predict anyway
if the user wants MAC-based USB net names or not. (LP: #1615021)
  * Ship kernel-install (Closes: #744301)
  * Add debian/extra/kernel-install.d/60-initrd.install.
This kernel-install drop-in copies the initrd of the selected kernel to
the EFI partition.
  * bootctl: Automatically detect ESP partition.
This makes bootctl work with Debian's /boot/efi/ mountpoint without having
to explicitly specify --path.
Patches cherry-picked from upstream master.
  * systemd.NEWS: Point out that alternatively rcS scripts can be moved to
rc[2-5]. Thanks to Petter Reinholdtsen for the suggestion!

  [ Michael Biebl ]
  * Enable iptables support (Closes: #787480)
  * Revert "logind: really handle *KeyIgnoreInhibited options in logind.conf"
The special 'key handling' inhibitors should always work regardless of
any *IgnoreInhibited settings – otherwise they're nearly useless.
Update man pages to clarify that *KeyIgnoreInhibited only apply to a
subset of locks (Closes: #834148)

 -- Martin Pitt   Fri, 26 Aug 2016 10:58:07 +0200

** Changed in: systemd (Ubuntu Yakkety)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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

[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-25 Thread Launchpad Bug Tracker
This bug was fixed in the package busybox - 1:1.22.0-19ubuntu2

---
busybox (1:1.22.0-19ubuntu2) yakkety; urgency=medium

  * debian/patches/readlink-in-slash-bin.patch: put readlink in /bin/
like coreutils.  Closes LP: #1615021.

 -- Steve Langasek   Tue, 23 Aug 2016
12:36:39 -0700

** Changed in: busybox (Ubuntu Yakkety)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-25 Thread Martin Pitt
I don't actually know what BOOT_DEBUG does -- I've never seen it before,
it does not appear anywhere in my yakkety system, and it's for sure not
something the kernel, initramfs-tools, or systemd look at. My best guess
is that this is a debian-installer specific debug flag.

So from what I can tell, the readlink path issue is merely a red herring
-- it's good to fix it of course, but it's unrelated to the boot
failure.

Since this is a heisenbug, it rather seems to me that this is some
timing issue -- any extra debugging, or time spent with changing boot
parameters in the boot loader will change the behaviour (e. g. make the
detection of network devices by the hardware finish earlier).

ATM I'm afraid there isn't enough useful information here yet to
understand what's going on -- indeed having a screen output where the
problem does happen would be helpful. dmesg logs and "udevadm info -e"
as well, as Steve says.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-24 Thread Steve Langasek
If this screen output is for a case when the installer *did* show up, I
don't think it's going to tell us much about where things have hung in
the case that it *didn't* show up.

If there's a particular invocation of udev that lets you reproduce the
problem, I suggest sticking with that, and capturing the output of
'udevadm info -e' (possibly by using a fixed delay).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Martin Pitt
Thanks for reporting this! Indeed this is a silly rule construction,
*brown paperbag*. I fixed this for the next Debian/Yakkety upload in
https://anonscm.debian.org/cgit/pkg-
systemd/systemd.git/commit/?id=b42e1f8af2 and backported it to Xenial in
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h
=ubuntu-xenial=d244c9acd .

** Changed in: systemd (Ubuntu Yakkety)
   Status: Triaged => Fix Committed

** Changed in: systemd (Ubuntu Xenial)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Martin Pitt
** Description changed:

  == Comment: #7 - Guilherme Guaglianoni Piccoli  - 
2016-08-19 10:08:07 ==
  The normal procedure to perform a Netboot installation of Ubuntu 16.04 is to 
download the latest vmlinux and initrd.gz files available, and kexec them with 
no parameters (at least in ppc64el).
  
  We're experiencing a strange issue in which the installer freezes before
  menus are showed. The system hangs in the point specified below, right
  after the i40e driver initialization:
  
  [   11.052832] i40e 0002:01:00.0 enP2p1s0f0: renamed from eth0
  [   11.073976] i40e 0002:01:00.1 enP2p1s0f1: renamed from eth1
  [   11.117799] i40e 0002:01:00.2 enP2p1s0f2: renamed from eth2
  [   11.225745] i40e 0002:01:00.3 enP2p1s0f3: renamed from eth3
  ***HANG***
  
  The most difficult part in this issue is that it seems to be a timing
  issue/race condition, and many debug trials end up by avoiding the issue
  reproduction (heisenbug).
  
  We were successful though in getting logs by booting the kernel with the
  command-line "BOOT_DEBUG=2" and by changing the initrd in order to
  enable systemd debug; only the files "init" and "start-udev" were
  changed in initrd, both attached here.
  
  We've attached here a saved screen session that shows the entire boot
  process until it gets flooded with lots of messages like:
  
- 
  "starting '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules'
  '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules'(err) 'failed to 
execute '/bin/readlink' '/bin/readlink /etc/
  udev/rules.d/80-net-setup-link.rules': No such file or directory'
  
  seq 3244 queued, 'add' 'pci_bus'
  starting '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules'
  passed 408 byte device to netlink monitor 0x1003cfe8020seq 3236 
running'/bin/readlink /etc/udev/rules.d/80-net-setup-l
  ink.rules'(err) 'failed to execute '/bin/readlink' '/bin/readlink 
/etc/udev/rules.d/80-net-setup-link.rules': No such
  file or directory'
  '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules'(err) 'failed to 
execute '/bin/readlink' '/bin/readlink /etc/
  udev/rules.d/80-net-setup-link.rules': No such file or directory'
  Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' failed with 
exit code 2.
  PROGRAM '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' 
/lib/udev/rules.d/73-usb-net-by-mac.rules:6
  passed device to netlink monitor 0x1003d01f730
  "
  
- 
- Then it keeps hanged in this stage. We re-tested it by changing the file 
73-usb-net-by-mac.rules in initrd, replacing " 
/etc/udev/rules.d/80-net-setup-link.rules" to  
"/lib/udev/rules.d/80-net-setup-link.rules", since the former does not exist 
whereas the latter does. Same issue were observed!
+ Then it keeps hanged in this stage. We re-tested it by changing the file
+ 73-usb-net-by-mac.rules in initrd, replacing " /etc/udev/rules.d/80-net-
+ setup-link.rules" to  "/lib/udev/rules.d/80-net-setup-link.rules", since
+ the former does not exist whereas the latter does. Same issue were
+ observed!
  
  Notice that if we boot the installer with command-line "net.ifnames=0"
  or "net.ifnames=1", the problem does not reproduces anymore.
  
  We want to ask Canonical's help in investigating this issue.
  Thanks,
  
- 
  Guilherme
  
- == Comment: #8 - Guilherme Guaglianoni Piccoli  -
- 2016-08-19 10:09:51 ==
  
+ SRU INFORMATION for systemd
+ ===
  
- == Comment: #9 - Guilherme Guaglianoni Piccoli  - 
2016-08-19 10:10:31 ==
+ Test case:
+  * Check what happens for uevents on devices which are not USB network 
interfaces:
+udevadm test /sys/devices/virtual/mem/null
+udevadm test /sys/class/net/lo
  
+  With the current version these will run
  
- == Comment: #10 - Guilherme Guaglianoni Piccoli  - 
2016-08-19 10:11:49 ==
+   PROGRAM '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules'
+ /lib/udev/rules.d/73-usb-net-by-mac.rules:6
+ 
+  which is pointless. With the proposed version these should be gone.
+ 
+  * Ensure that the rule still works as intended by connecting an USB
+ network device that has a permanent MAC address (e. g. Android tethering
+ uses a temporary MAC): You should get a MAC-based name like
+ "enx12345678" for it. Now disconnect it again, disable ifnames with
+ 
+ sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
+ 
+ and reconnect the device. You should now get a kernel name like "usb0"
+ for it.
+ 
+ * Regression potential: Errors in the rule could break persistent naming
+ - or its disabling - of USB network interfaces. Running the above test
+ carefully is important to ensure this keeps working. This has little to
+ no actual effect on anything else on the system (aside from a
+ performance impact and spamming logs), so overall the regression
+ potential is low.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Steve Langasek
I've thought about this some more, and while the /bin/readlink
/usr/bin/readlink in busybox is a bug, fixing this is definitely not
going to fix the problem in the installer.  In the installer,
/etc/udev/rules.d/80-net-setup-link.rules will never exist since this is
an admin override; so the readlink command - if it existed - would still
return false.  I'm reasonably sure the lack of /bin/readlink is not
causing the udev rule to behave differently; so it's sufficient to fix
this particular issue for 16.10 and later and not SRU it.

What is *more* of an issue is that the structure of /lib/udev/rules.d/73
-usb-net-by-mac.rules causes a separate call out to readlink for every
single udev event, because the readlink check happens *before* checking
the ACTION/SUBSYSTEM/SUBSYSTEMS attributes of the event, unless
net.ifnames=0 is set.

So regardless of whether this is the root cause of the install failure,
this udev rule is causing hundreds of thousands of extra calls out to
/bin/readlink on boot, which should definitely be fixed by reordering
these checks.

Martin, can you please look into fixing this for xenial+yakkety?

** Changed in: systemd (Ubuntu)
   Status: New => Triaged

** Changed in: systemd (Ubuntu)
 Assignee: (unassigned) => Martin Pitt (pitti)

** Also affects: debian-installer (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: busybox (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: debian-installer (Ubuntu Yakkety)
   Importance: Undecided
 Assignee: Taco Screen team (taco-screen-team)
   Status: Confirmed

** Also affects: busybox (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Yakkety)
   Importance: Undecided
 Assignee: Martin Pitt (pitti)
   Status: Triaged

** Changed in: busybox (Ubuntu Xenial)
   Status: New => Won't Fix

** Changed in: busybox (Ubuntu Yakkety)
   Status: New => Fix Committed

** Changed in: debian-installer (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: debian-installer (Ubuntu Yakkety)
   Status: Confirmed => Triaged

** Changed in: systemd (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: systemd (Ubuntu Xenial)
 Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Steve Langasek
** Also affects: systemd (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Steve Langasek
Examining the initrd shows that readlink is provided as
/usr/bin/readlink -> /bin/busybox, not as /bin/readlink where systemd
expects it (and where it's shipped on an installed system).  This is a
bug in debian-installer's construction of that image - though gee it
would be nice if systemd didn't require hard-coded paths to everything.

There's no guarantee that fixing the bug that's causing this error
message will fix the underlying problem preventing your boot, but it
will at least fix the message spam.

** Package changed: systemd (Ubuntu) => debian-installer (Ubuntu)

** Also affects: busybox (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1615021/+subscriptions

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


[Bug 1615021] Re: Unable to network boot Ubuntu 16.04 installer normally on Briggs

2016-08-23 Thread Breno Leitão
** Changed in: systemd (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1615021

Title:
  Unable to network boot Ubuntu 16.04 installer normally on Briggs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1615021/+subscriptions

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