touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24706
[Bug 1288742] Re: clock app, gallery, etc using incorrect path for config file due to StateSaver
This was fixed a long time ago.
** Changed in: qtbase-opensource-src (Ubuntu)
Status: Confirmed => Invalid
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1288742
Title:
clock app, gallery, etc using incorrect path for config file due to
StateSaver
Status in Clock application for Ubuntu devices:
Invalid
Status in “qtbase-opensource-src” package in Ubuntu:
Invalid
Status in “qtorganizer5-eds” package in Ubuntu:
Invalid
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
The following apparmor denials were observed with 1.0.349 of the clock-app:
Mar 6 07:22:07 ubuntu-phablet kernel: [167149.647858] type=1400 audit(1394112127.627:121): apparmor="DENIED" operation="mknod" parent=1696 profile="com.ubuntu.clock_clock_1.0.349" name="/home/phablet/.config/com.ubuntu.clock.conf.J16567" pid=16567 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
Mar 6 07:22:07 ubuntu-phablet kernel: [167149.648224] type=1400 audit(1394112127.627:122): apparmor="DENIED" operation="mknod" parent=1696 profile="com.ubuntu.clock_clock_1.0.349" name="/home/phablet/.config/com.ubuntu.clock.conf.T16567" pid=16567 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
The above looks to be a temporary file that would be written before
moving the final file to /home/phablet/.config/com.ubuntu.clock.conf.
This denial is preventing saving to the config file. AppArmor policy
already has these rules:
@{APP_PKGNAME}="com.ubuntu.clock"
...
owner @{HOME}/.config/@{APP_PKGNAME}/ rw, # subdir of XDG_CONFIG_HOME
owner @{HOME}/.config/@{APP_PKGNAME}/** mrwkl,
Please adjust the clock app to use
~/.config/com.ubuntu.clock/com.ubuntu.clock.conf instead of
~/.config/com.ubuntu.clock.conf. I couldn't find anything in the clock
app that showed it specified this file itself, so this is likely a
toolkit issue.
Adding an ubuntu-ui-toolkit task. Please feel free to close the clock
app task if the bug is in ubuntu-ui-toolkit or vice versa.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-clock-app/+bug/1288742/+subscriptions