← Back to team overview

desktop-packages team mailing list archive

[Bug 1508075] Re: crash during network setup in ubiquity wily

 

I tried today's ISO: Ubuntu 15.10 "Wily Werewolf" - Release amd64
(20151020)

On my UEFI laptop I don't get the graphical "Try Ubuntu / Install
Ubuntu" picker, just the grub one. I tried all four cases of "try"
(live session) and "install" (ubiquity-only) and connect via indicator
vs. connect in ubiquity, and it worked fine. Also, I checked (in
separate reboots, to not influence the first four tests before) that in
all of these cases polkitd was already running before I did anything
(switched to VT1).

I then tried the same iso on my wife's laptop with BIOS, and do get the
graphical install vs. try picker. I can connect there via the indicator
as well. I also booted it in QEMU, and polkit starts up properly
(naturally I can't verify wifi there).

So I cannot reproduce this myself.

In the syslog it appears that polkit started up fine:

Oct 20 14:21:06 ubuntu dbus[1414]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'
Oct 20 14:21:06 ubuntu systemd[1]: Started Authenticate and Authorize Users to Run Privileged Tasks.

which means that polkit's bus name was properly claimed (as that's what
systemd considers as "started" for Type=dbus).

but 25s later it timed out, which is exactly the default D-Bus timeout:

Oct 20 14:21:31 ubuntu NetworkManager[1373]: <warn>  error requesting
auth for org.freedesktop.NetworkManager.wifi.share.protected: (0)
Authorization check failed:
GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate
service 'org.freedesktop.PolicyKit1': timed out

so it seems it registered on the bus but then froze (I don't think it
crashed as that should appear in the logs somewhere.

Can you please boot the live system with "break=casper-bottom", and run

   sed -i '/^Exec/ s!=!=/usr/bin/strace -fvvs1024 -o /run/polkit.trace
!' /root/lib/systemd/system/polkitd.service

(no editor on the initramfs..) then continue booting with Ctrl+D, then
go up to the point when polkit freezes. Switch to VT1, log in (user
ubuntu, no password), and salvage /run/polkit.trace. I tested these
steps in a  VM, but of course my polkit.trace doesn't tell me anything
interesting.

Thanks!


** Changed in: policykit-1 (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1508075

Title:
  crash during network setup in ubiquity wily

Status in policykit-1 package in Ubuntu:
  Incomplete

Bug description:
  on wily release candidates I get a crash when it switches to the
  network setup page

  this doesn't happen with "try ubuntu" mode which runs as root only
  when launching ubiquity from the desktop

  the backtrace points to an authentication issue

  I get a related backtrace even if I'm connected to a network from the
  panel network-manager

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: ubiquity 2.21.35
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu3
  Architecture: amd64
  CasperVersion: 1.365
  CurrentDesktop: Unity
  Date: Tue Oct 20 14:26:28 2015
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash ---
  LiveMediaBuild: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151019)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1508075/+subscriptions