[Bug 1048226] Re: default-session code runs before lightdm installation and has no effect

Ubuntu Foundations Team Bug Bot 1048226 at bugs.launchpad.net
Mon Jun 29 12:18:40 UTC 2015


The attachment "fix-1048226.debdiff" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-defaults-builder in
Ubuntu.
https://bugs.launchpad.net/bugs/1048226

Title:
  default-session code runs before lightdm installation and has no
  effect

Status in ubuntu-defaults-builder package in Ubuntu:
  Confirmed
Status in Baltix GNU/Linux:
  New

Bug description:
  The default-session.txt settings are applied too early, i.e. in ubuntu-defaults-el-gr.postinst, and they don't have any effect at all because lightdm-set-defaults isn't yet available.
  They should probably be applied when the chroot hook script is run and not from the postinst.

  
  # cat desktop/default-session.txt
  gnome-fallback

  # cat recommends.txt 
  gnome-session-fallback

  # ubuntu-defaults-image --package ubuntu-defaults-el-gr_0.1_all.deb  --components main,restricted,universe --ppa ts.sch.gr/ppa
  ...
  [output line 2877] Setting up ubuntu-defaults-el-gr (0.1) ...
  ...
  [output line 5896] Setting up lightdm (1.2.1-0ubuntu1.1) ...
  ...

  
  # cat chroot/etc/gdm/custom.conf 
  [daemon]
  DefaultSession=gnome-fallback

  # cat chroot/etc/lightdm/lightdm.conf
  [SeatDefaults]
  greeter-session=unity-greeter

  The above file is wrong, it should also contain
  user-session=gnome-fallback

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/1048226/+subscriptions



More information about the foundations-bugs mailing list