ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00579
[Bug 1288742] Re: clock app using incorrect path for config file
I added the qtorganizer5-eds task since it was assigned via the just now
duped bug, but it seems odd that the clock app would be using
qtorganizer5-eds. Please adjust as necessary.
** Also affects: qtorganizer5-eds (Ubuntu)
Importance: Undecided
Status: New
** Changed in: qtorganizer5-eds (Ubuntu)
Assignee: (unassigned) => Timo Jyrinki (timo-jyrinki)
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1288742
Title:
clock app using incorrect path for config file
Status in Clock application for Ubuntu devices:
New
Status in “qtorganizer5-eds” package in Ubuntu:
New
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Confirmed
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
References