Cannot run customization console [Trusty]

Bug #1319460 reported by Arthur Lutz (Logilab)
This bug report is a duplicate of:  Bug #228235: Synaptic Gtk error. Edit Remove
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Confirmed
Undecided
Unassigned

Bug Description

When choosing "Run console application" the terminal shows :

CHOICE='Run console application'
Starting console application...
/tmp/customization-scripts/customize: line 99: /dev/null: Permission denied
**
GLib:ERROR:/build/buildd/glib2.0-2.40.0/./glib/gspawn.c:1175:do_exec: assertion failed: (read_null != -1)

The build fails, here is the build log.

Revision history for this message
Arthur Lutz (Logilab) (arthur-lutz-logilab) wrote :
Changed in uck:
status: New → Confirmed
Revision history for this message
dermaze (chox16) wrote :

I get exactly the same errors / problems when trying to edit the Xubuntu 14.04 Live Iso on my Ubuntu 14.04 system.
Log is attached.

Revision history for this message
golubovsky (golubovsky) wrote :

This assertion (see http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/glib2.0/trusty/view/head:/glib/gspawn.c#L1175) indeed fails when /dev/null cannot be opened while spawning a child process.

Revision history for this message
jox (joxonox) wrote :

Both of your logfiles have the following error earlier (multiple times):

  cannot create /dev/null: Permission denied

This seems to be a file system permission problem in the chroot.

Can you try the option "Do you want to customize the CD manually during building" and then "Run console application"? Then run the following command?

  mount | grep "on /dev "

Revision history for this message
Jordan (jordanblack10101) wrote :

I'm having the same chroot file system permission problem when trying to create a custom Ubuntu 15.04 while using 15.04. Build.log attached.

Revision history for this message
Artem Sagajda (asagajda) wrote :

This issue was fixed here: https://bugs.launchpad.net/uck/+bug/228235
When you start uck there's workaround mentioned on welcome screen:
...
Requirements:
1. about 5 GB of free disk space in /home/artem/tmp
   (on local machine and mounted with "dev,suid,exec" options)
...
so it's crucial to remount filesystem where ~/tmp folder resides with "dev,suid,exec" options
(in my case it's a filesystem on a separate partition with mount point /home, maybe you have /home inside root filesystem)

you can do it this way:
sudo mount -o remount,dev,suid,exec /home
or if you have not separate partition for /home:
sudo mount -o remount,dev,suid,exec /

Then try "Run console application" one more time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.