Ubiquity 2.3.13 (oem-config) fails to create initial user

Bug #628587 reported by Robert Nelson
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Using rootstock (debootstrap script) i build custom images for omap3 users using a custom kernel with enhancements not yet ready for ubuntu's omap3 kernel..

At some point between maverick alpha-3 (ubiquity (2.3.3)) and 2.3.13 the username and password setting portion of the script now fails. The only odd thing is a "sh: killall.sh: not found"

If it's worthwhile i can run the older alpha-3 image i still have with the debug-oem-config bootarg option..

Revision history for this message
Robert Nelson (robertcnelson) wrote :
Revision history for this message
Robert Nelson (robertcnelson) wrote :
Revision history for this message
Robert Nelson (robertcnelson) wrote :

missing:
ubuntu user with encrypted passwd...

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Alpha-3's Ubiquity 2.3.3 (oem-config)

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Alpha-3's syslog for comparison

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Alpha-3's passwd, with correct user/password combo..

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Ubiquity 2.3.15 (oem-config) just hit the armel repo, same problem...

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Slowly been bisecting between the releases.. (rebuilding in a native chroot, and with testing it takes about 3-4 hours per build..)

Original Alpha-3's 2.3.3 is still first good, and 2.3.5 is current first bad..

Rebuilding 2.3.3 and 2.3.4 should know more tomorrow..

Regards,

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Bisect complete, it looks like the changes from 2.3.3 (last good) to 2.3.4 (first bad) caused this regression..

somewhere in:
https://launchpad.net/ubuntu/+archive/primary/+files/ubiquity_2.3.3_2.3.4.diff.gz

Regards,

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Ubiquity 2.3.17 (oem-config) still fails the same way...

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Can you test with the released maverick repo and report back if this is still an issue?

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Sure, I had stopped reporting as it would have been mostly the same spam.. ;)

With Ubiquity 2.4.4 (oem-config) (this is the console not X11/GTK version, which works ish..) Same issue.. Attaching recent oem-config log...

Regards,

Revision history for this message
Mario Limonciello (superm1) wrote :

Using the debconf frontend, this behavior looks to be expected - there is no support for calling out to plugininstall when in oem-config mode. Installation using the debconf frontend is most likely broke too.

Based on the behavior, I think this patch should help at least oem-config mode.

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Thanks for looking into this Mario..

Unfortunally no dice with the last patch..

Traceback (most recent call last):
  File "/usr/sbin/oem-config", line 530, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 517, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 242, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/debconf_ui.py", line 129, in run
    dbfilter = plugininstall.Install(self)
NameError: global name 'plugininstall' is not defined

Side note, due to a conversation on irc, i did switch the rootstock tar and untarring scripts to use "--numeric-owner" but no help from that either..

Revision history for this message
Oliver Grawert (ogra) wrote :

--numeric-owner only helps with the issue where ubiquity-dm doesnt start at all due to the dbus ownership being switched over to the UID/GUI found in the hosts passwd/group files ... (completely different bug)

on the preinstalled images for omap3/4 we use oem-config successfully the exact same way as rootstock does, this bug is a very strange weirdness...

tags: added: patch
Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Robert Nelson (robertcnelson) wrote :

Hi Mario,

With the last patch:

Traceback (most recent call last):
  File "/usr/sbin/oem-config", line 530, in <module>
    main(oem_config)
  File "/usr/sbin/oem-config", line 517, in main
    install(query=options.query)
  File "/usr/sbin/oem-config", line 242, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/debconf_ui.py", line 132, in run
    ret = dbfilter.run_unfiltered()
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 205, in run_unfiltered
    prep = self.prepare(unfiltered=True)
  File "/usr/lib/ubiquity/ubiquity/components/plugininstall.py", line 38, in prepare
    install_bootloader_seen = self.db.fget('ubiquity/install_bootloader',
AttributeError: 'NoneType' object has no attribute 'fget'

tags: added: ubiquity-2.3.3
tags: added: maverick
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 628587

and any other logs that are relevant for this particular issue.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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