ubiquity exec needs to be prefixed with sudo to stop crash

Bug #1553620 reported by fossfreedom on 2016-03-05
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Medium
Unassigned
ubiquity (Ubuntu)
Medium
Unassigned

Bug Description

Creating a live CD of 16.04. Just happen to be using Pinguy ISO Builder but I guess it still applies to those that are manually creating a live CD using ubiquity.

When the distroy live CD starts and the ubiquity icon on the desktop is run, ubiquity crashes immediately after the copy files process has completed. I briefly saw it was installing locales.

The fix is to change data/ubiquity.desktop.in and the Exec=sh -c 'ubiquity gtk_ui' to Exec=sudo sh -c 'ubiquity gtk_ui'

Note - using the same Pinguy code in 15.10 did not require this work around so something has changed in 16.04 and the live cd user account not having the full root permissions

attached /var/log/partman - the /var/log/syslog was 0 bytes and there were no partman or syslog files in /var/log/installer

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.47 [modified: usr/share/ubiquity/apt-setup]
ProcVersionSignature: Ubuntu 4.4.0-9.24-generic 4.4.3
Uname: Linux 4.4.0-9-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CasperVersion: 1.367
CurrentDesktop: Budgie:GNOME
Date: Sat Mar 5 23:22:57 2016
LiveMediaBuild: budgie-remix 16.04 - Release amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UbiquitySyslog:

UpgradeStatus: No upgrade log present (probably fresh install)

fossfreedom (fossfreedom) wrote :
fossfreedom (fossfreedom) wrote :

if you want to see this on a 16.04 based distro you could try my ISO here:

 - https://sourceforge.net/projects/budgie-remix/files/tech-demo2/

Niccola (niccolatorres) wrote :

thanks @fossfreedom it is really the problem.

However, how could I make it work with only-ubiquity/automatic-ubiquity/noninteractive options?
It only works if booted into live session, which is not the fact that I want. I need to load a preseed file for unattended installation.

How could I make it working with a preseed file?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers