click hook run-user fails when booting image 233
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
click-user-hooks fails when starting the phablet session, making it unable to start any click packages:
Error (also from the crash file):
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
Click.
gi._glib.GError: symlink /opt/click.
It seems that this error happens because phablet is unable to create any file/dir at /opt/click.
$ ls -l /opt/
total 4
drwxr-xr-x 2 clickpkg clickpkg 4096 Mar 12 04:00 click.ubuntu.com
Related branches
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
Changed in click (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
Besides not having enough permission to create any file at /opt/click. ubuntu. com, it seems to expect a valid /opt/click. ubuntu. com/.click/ users/phablet directory when running the user hook.
After creating /opt/click. ubuntu. com/.click/ users/phablet by hand I'm able to run the user hook (and then able to start a click package as well).