[Bug 1259253] Re: UID changes for clickpkg user breaks app updates/installs
Launchpad Bug Tracker
1259253 at bugs.launchpad.net
Tue Dec 10 13:36:32 UTC 2013
** Branch linked: lp:click
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1259253
Title:
UID changes for clickpkg user breaks app updates/installs
Status in “click” package in Ubuntu:
Fix Committed
Bug description:
The UID for the 'clickpkg' user is not hardcoded, so may change from
one build to the next. As a result the /opt/click.ubuntu.com path may
become unwritable for the clickpkg user.
Steps to reproduce.
Install Ubuntu Touch image 32 on mako
Create a single sign-on account
Install an application
Update phone to #55
Install another application
Observe the install fails
/opt/click.ubuntu.com is no longer owned by clickpkg user
--------
Just updated to #55 on mako and tried to install an app. The
download/install failed (log file fragment attached).
2013-12-09 17:14:09,845 - DEBUG - "Fatal error: /home/phablet/.local/share/ubuntu-download-manager/Downloads/com.ubuntu.developer.doflah.realtai_0.1_all.click failed to install.
Cannot install /home/phablet/.local/share/ubuntu-download-manager/Downloads/com.ubuntu.developer.doflah.realtai_0.1_all.click: Cannot acquire permission to write to /opt/click.ubuntu.com; either run as root with --user, or use "pkcon install-local" instead
Looks like permissions have become screwy on /opt/click.ubuntu.com
drwxr-xr-x 3 root root 4096 Dec 3 14:08 opt
drwxr-xr-x 133 dnsmasq ssh 8192 Dec 2 20:57 click.ubuntu.com
Every folder inside /opt/click.ubuntu.com is owned by dnsmasq
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-download-manager 0.2+13.10.20131016.1-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.7-0ubuntu1
Architecture: armhf
Date: Mon Dec 9 17:18:58 2013
InstallationDate: Installed on 2013-12-09 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20131209.1)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
SHELL=/bin/bash
SourcePackage: ubuntu-download-manager
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1259253/+subscriptions
More information about the foundations-bugs
mailing list