Project

General

Profile

Bug #8046

Feature #7584: Update documentation for Jessie

Bug #8043: Update Disks documentation for Jessie

Tails Installer crashes on Jessie

Added by sajolida about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Installation
Target version:
Start date:
10/09/2014
Due date:
% Done:

0%

Feature Branch:
feature/jessie
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Steps to reproduce:

  • Copy the ISO manually on a USB stick
  • Open a terminal
  • Execute liveusb-creator-launcher

Traceback:

[creator:1200] extlinux not found! Only FAT filesystems will be supported
Traceback (most recent call last):
File "/usr/bin/liveusb-creator", line 99, in <module>
main()
File "/usr/bin/liveusb-creator", line 94, in main
LiveUSBApp(opts, sys.argv)
File "/usr/lib/python2.7/dist-packages/liveusb/gui.py", line 64, in init
self.mywindow = LiveUSBDialog(opts, args)
File "/usr/lib/python2.7/dist-packages/liveusb/gui.py", line 335, in init
self.live = LiveUSBCreator(opts=opts)
File "/usr/lib/python2.7/dist-packages/liveusb/creator.py", line 625, in init
"/org/freedesktop/UDisks")
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in init
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files

History

#1 Updated by intrigeri about 5 years ago

Building an ISO with the udisks package installed might be enough. If not, then we'll probably have to port Tails Installer to UDisks2.

#2 Updated by intrigeri almost 5 years ago

  • Category set to Installation

Installing the udisks package triggers the emergency shutdown (so, in the current state of things, one is logged out: #8098) but then one can successfully start Tails Installer. So, it might be that we can avoid porting Tails Installer to UDisks2 for the time being.

However, a USB drive plugged into the system isn't seen as a valid candidate target: [creator:712] Unable to write on /dev/sdb, skipping. so it's not added to the list of devices in the GUI. And indeed:

brw-rw---- 1 root disk 8, 16 Nov 17 10:43 /dev/sdb

liveusb-creator upstream doesn't seem to have any fix for that, but they recommend running as root, so we shouldn't hold our breath. We could delegate the operations that need write access to the raw block device to privileged helpers.

#3 Updated by anonym almost 5 years ago

  • Status changed from Confirmed to Resolved
  • Feature Branch set to feature/jessie

intrigeri wrote:

Installing the udisks package triggers the emergency shutdown (so, in the current state of things, one is logged out: #8098) but then one can successfully start Tails Installer. So, it might be that we can avoid porting Tails Installer to UDisks2 for the time being.

I think so. I added udisks to config/chroot_local-packageslists/tails-common.list (commit c06b47e) and built an image, and it starts...

However, a USB drive plugged into the system isn't seen as a valid candidate target: [creator:712] Unable to write on /dev/sdb, skipping. so it's not added to the list of devices in the GUI. And indeed:

[...]

liveusb-creator upstream doesn't seem to have any fix for that, but they recommend running as root, so we shouldn't hold our breath. We could delegate the operations that need write access to the raw block device to privileged helpers.

... and I get this issue, now is tracked separately in #8273.

#4 Updated by intrigeri almost 5 years ago

  • Related to Feature #8290: Port Tails Installer to UDisks2 added

#5 Updated by intrigeri over 4 years ago

  • Related to deleted (Feature #8290: Port Tails Installer to UDisks2)

Also available in: Atom PDF