auto logon in oem mode fails

Bug #347900 reported by Jonathan Riddell on 2009-03-24
Affects Status Importance Assigned to Milestone
oem-config (Ubuntu)
Colin Watson
ubiquity (Ubuntu)
Colin Watson

Bug Description

Binary package hint: ubiquity

In Kubuntu selecting automatic login during an oem install does succesfully login as oem but once the user it set up it tries to log in as oem (which no longer exists) and fails.

Auto login should probably be removed from oem ubiquity and added to oem-config

Colin Watson (cjwatson) wrote :

The bug here is not that ubiquity is setting up automatic login, but that oem-config is failing to undo it.

Changed in ubiquity (Ubuntu):
status: New → Invalid
Jonathan Riddell (jr) wrote :
Jonathan Riddell (jr) wrote :
Jonathan Riddell (jr) wrote :

kdmrc.oem is created but also has AutoLoginUser=oem set

Colin Watson (cjwatson) wrote :

Ah, I misstated the problem before, sorry.

What's happening here is that auto-login is being set up *twice* - once because it was selected on the "Who are you?" page, and once because it's forced on for any oem-config installation.

Now that user-setup supports auto-login, we should remove the hardwired code from oem-config and ubiquity to do this, and instead just force auto-login on by setting passwd/auto-login=true and greying out the radio buttons in ubiquity.

Changed in ubiquity (Ubuntu):
assignee: nobody → cjwatson
importance: Undecided → High
status: Invalid → Triaged
Changed in oem-config (Ubuntu):
status: New → Invalid
assignee: nobody → cjwatson
importance: Undecided → Medium
status: Invalid → Triaged
Colin Watson (cjwatson) on 2009-03-25
Changed in oem-config (Ubuntu):
status: Triaged → Fix Committed
Colin Watson (cjwatson) wrote :

BTW, the way I worked this out was to look at the timestamps of kdmrc and kdmrc.oem at the end of installation before rebooting, observe that they were roughly five minutes apart despite both containing auto-login configuration and therefore obviously created by different parts of the installer, and match up the timestamps against the installer log to see what was happening at each time.

Changed in ubiquity (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (3.6 KiB)

This bug was fixed in the package ubiquity - 1.12.0

ubiquity (1.12.0) jaunty; urgency=low

  [ Colin Watson ]
  * Update for new message context system in GTK+ 2.15.1, and update
    imported translations from gtk+2.0 2.16.0-1ubuntu2.
  * Stop setting message attribute in InstallStepError; it isn't used and it
    generates a deprecation warning with Python 2.6. Similarly, rename
    PartedServerError's message attribute to parted_error.
  * Always set auto-login for OEM installations.
  * KDE frontend:
    - Hide auto-login and require-password radio buttons for OEM
  * Remove reimplementation of gdm and kdm auto-login support for OEM
    installations, since user-setup handles this now and the duplication
    causes oem-config to be unable to undo autologin (LP: #347900).
  * Fix ubiquity/install_bootloader handling (LP: #348660):
    - Check the seen flag rather its value when deciding whether to override
      it with the UI's value.
    - Outside automatic mode, default the UI's "Install boot loader"
      question to the value of ubiquity/install_bootloader.
  * Offer "Yes" and "No" choices for user-setup/password-weak (LP: #349173).
  * Depend on grub | grub-pc, and don't remove grub-pc until after
    grub-installer has had the chance to decide whether it wants to use it
    (LP: #349835).
  * Add a compatibility wrapper for update-dev to ensure that it never
    attempts to call 'udevadm trigger', which isn't necessary in ubiquity
    and can cause problems (LP: #349937).
  * Permit dmraid-style /dev/mapper/* device names in advanced boot loader
    selector, as well as disk and partition numbers over 9 (LP: #342354).
  * Remove /target/var/lib/apt-xapian-index per Michael Vogt, since it needs
    to be rebuilt based on the installed system's sources.list, and apt's
    cron.daily script and/or synaptic will do this.
  * Preserve ordering of automatic partitioning choices when replacing them
    with our customised strings (LP: #351547).
  * Update translations from Launchpad.
  * Automatic update of included source packages: apt-setup 1:0.37ubuntu11,
    base-installer 1.98ubuntu4, console-setup 1.28ubuntu7, grub-installer
    1.36ubuntu5, hw-detect 1.71ubuntu6, partman-base 129ubuntu4,
    partman-target 58ubuntu6.

  [ Evan Dandrea ]
  * Make the partman/unmount_active dialog a yes or no question
    (LP: #346589).
  * Sort the list of regions on the timezone page (LP: #344334).
  * Merge Roman's city placement code into the GTK frontend.
  * Work in bytes rather than percentages in the partition bar code
    (LP: #336203).
  * Fix partition bar slider (for resizing) code by adding correct
    calculations for bounds checking and slider positioning.
  * Properly encode data from os-prober (LP: #345573).
  * Make sure that the before and after partitioning bars use the same
    colors for the same partitions (LP: #289324).
  * Fix the placement of the partition bars in scrolled windows when
  * Don't let the partition bars eat up any extra space.
  * Move selecting a disk from radio buttons to a drop down box on the
    automatic partitioning page. This saves a lot of space when...


Changed in ubiquity:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oem-config - 1.54.10

oem-config (1.54.10) jaunty; urgency=low

  [ Colin Watson ]
  * Tighten frontend dependencies on oem-config to prevent problems when one
    architecture is out of sync.
  * Set passwd/auto-login=true rather than implementing auto-login ourselves
    (LP: #347900).
  * Suggest checkbox/checkbox-gtk rather than recommending
  * Update translations from Launchpad.
  * Automatic update of included source packages: console-setup 1.28ubuntu7,
    user-setup 1.23ubuntu15.

  [ Evan Dandrea ]
  * Update the timezone_map to match changes in ubiquity (more accurate
    city placement).
  * Merge in the new KDE time zone map from ubiquity. Thanks Roman

  [ Mario Limonciello ]
  * Change the number of columns in the language icon view to 5. This
    should make it fit in 1024x600. (LP: #347350)
  * Remove old hack in gtk frontend to only show scrollbars on language
    selector when it would be larger than the desktop. With the hack taken
    out, the scrollbars aren't showing up on 800x576, which is likely the
    lowest supportable resolution.

 -- Colin Watson <email address hidden> Tue, 31 Mar 2009 16:31:14 +0100

Changed in oem-config:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers