Comment 6 for bug 1414366

Revision history for this message
Istimsak (saqman2060) wrote : RE: [Bug 1414366] Re: Lubuntu Software Center will not run on LiveCD.Root owns ~/.config so can't write ~/.config/lsc/LSC.ini

That means whatever program is responsible for creating the ~/.config folder should create it for the liveCD user.

-----Original Message-----
From: "Dave Kokandy" <email address hidden>
Sent: ‎1/‎25/‎2015 12:50 AM
To: "<email address hidden>" <email address hidden>
Subject: [Bug 1414366] Re: Lubuntu Software Center will not run on LiveCD.Root owns ~/.config so can't write ~/.config/lsc/LSC.ini

Root owning ~/.config is definitely the cause of the problem.

At some point in the startup process, a file is written to
/home/lubuntu/.config/ubuntu-system-settings/wizard-has-run

Apparently it is written by root, causing root to own the file.

** Attachment added: "output of ls -alR ~/.config"
   https://bugs.launchpad.net/ubuntu/+source/lubuntu-software-center/+bug/1414366/+attachment/4305174/+files/ls-config.txt

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1414366

Title:
  Lubuntu Software Center will not run on LiveCD. Root owns ~/.config so
  can't write ~/.config/lsc/LSC.ini

Status in lubuntu-software-center package in Ubuntu:
  Confirmed

Bug description:
  Lubuntu Software Center will not run on the daily image of Lubuntu
  Vivid from 2015/01/25.

  Clicking the Lubuntu Software Center icon in the LXDE menu does nothing.
  Running "lubuntu-software-center" in LXTerminal fails with the following error:

  ** (lubuntu-software-center:3139): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
  /usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py:424: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.set_label(Gtk.STOCK_CANCEL)
  DEBUG 2015-01-25 00:37:30,174 __init__ 44 Opening config file
  DEBUG 2015-01-25 00:37:30,175 __init__ 60 Creating new conf file in /home/lubuntu/.config/lsc/LSC.ini
  Traceback (most recent call last):
    File "/usr/bin/lubuntu-software-center", line 25, in <module>
      import LSC.main
    File "/usr/lib/python2.7/dist-packages/LSC/main.py", line 29, in <module>
      import threadingops
    File "/usr/lib/python2.7/dist-packages/LSC/threadingops.py", line 37, in <module>
      control.__init__()
    File "/usr/lib/python2.7/dist-packages/LSC/control.py", line 165, in __init__
      controller = Controller()
    File "/usr/lib/python2.7/dist-packages/LSC/control.py", line 67, in __init__
      self.clean_conf_file(self.file_path)
    File "/usr/lib/python2.7/dist-packages/LSC/control.py", line 130, in clean_conf_file
      self.conffile = open(file_path, "w")
  IOError: [Errno 2] No such file or directory: '/home/lubuntu/.config/lsc/LSC.ini'

  To reproduce, click "Lubuntu Software Center" in LXDE menu or run
  "lubuntu-software-center" in LXTerminal.

  A workaround was attempted, creating ~/.config/lsc, when it was
  noticed that the LiveCD user does not have permission to edit
  ~/.config without sudo.

  Original Report:

  Distributor ID: Ubuntu
  Description: Ubuntu Vivid Vervet (development branch)
  Release: 15.04
  Codename: vivid
  lubuntu@lubuntu:~$

  lubuntu-software-center:
    Installed: 0.0.8-0ubuntu1
    Candidate: 0.0.8-0ubuntu1
    Version table:
   *** 0.0.8-0ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ vivid/universe i386 Packages
          100 /var/lib/dpkg/status

  A window the lists category of applications that can be installed on
  Lubuntu is to show. Nothing happened when the icon was clicked.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: lubuntu-software-center 0.0.8-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic i686
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: i386
  CasperVersion: 1.349
  CurrentDesktop: LXDE
  Date: Sat Jan 24 20:46:25 2015
  LiveMediaBuild: Lubuntu 15.04 "Vivid Vervet" - Alpha i386 (20150123)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: lubuntu-software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lubuntu-software-center/+bug/1414366/+subscriptions