live-config script is broken in ubuntu

Bug #913874 reported by Wagner Volanin
This bug affects 1 person
Affects Status Importance Assigned to Milestone
live-config (Ubuntu)

Bug Description

An image created with live-build uses the scripts provided by live-config to configure the image during boot.
But the live-config main script ( is broken in ubuntu.

Ways to reproduce:
- Boot the newly build image with the noautologin or noxautologin kernel parameters.

What should happen:
- The live-config main script ( should execute the configuration scripts.

What happens:
- There is an error message about '???-sysvinit' not found and aborts.

Why it happens:
- The live config package in ubuntu removes the '007-gdm3' and '016-sysvinit' files, necessary for to run.

Proposed solution:
- It's a small problem that lies in the script. The noautologin and noxautologin options asks to NOT execute some scripts (007-gdm3 and 016-sysvinit in this case). But if these scripts are not available, aborts.

The simple attached patch fixes this behaviour and makes its script inclusion/exclusion routines much more robust. Please consider it for inclusion. Thank you.

Revision history for this message
Wagner Volanin (volanin) wrote :

Using live-config-3.0~a22 from Ubuntu Oneiric.
Bug is present in all architectures.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix inclusion/exclusion of config files." of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Leo Iannacone (l3on) wrote :

Notified to developer... we will wait for an ack.

Changed in live-config (Ubuntu):
assignee: nobody → Leo Iannacone (l3on)
Revision history for this message
Wagner Volanin (volanin) wrote :

This bug is still present in the current version of Ubuntu Precise. It always happens when you create an usb-hdd image using live-build, and sets the initramfs config option to live-boot. When booting the image, error messages about the missing scripts appear on the screen. I am attaching a cleaner patch that fix this.

What is expected to happen:
The image should ignore the missing scripts and boot normally.

What happened instead:
The missing scripts are hardcoded in the config script, and as such, the boot fails.

Using Ubuntu Precise 12.04 amd64.
Live-build 3.0~a24-1ubuntu32.

Leo Iannacone (l3on)
Changed in live-config (Ubuntu):
assignee: Leo Iannacone (l3on) → nobody
Revision history for this message
simon (smirnoffice3020) wrote :

live-config package is broken in latest kubuntu 14.04!!!

Revision history for this message
simon (smirnoffice3020) wrote :

live-config package is broken in latest kubuntu 14.04!!!
please fix it quickly i really need that package

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

Other bug subscribers