[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-15 Thread Iakov Davydov
Jamie, thanks you very much for fast fix. I see that there are new versions of this packages but cannot find them in updates. Were can I get packages to test them? -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You received this bug

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-15 Thread Gustavo Carneiro
I upgraded today and I still see the problem with zotero: [ 161.516661] type=1503 audit(1255611582.902:26): operation=file_lock pid=2852 parent=1 profile=/usr/lib/firefox-3.5.*/firefox requested_mask=k:: denied_mask=k:: fsuid=1000 ouid=1000

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-15 Thread Jamie Strandboge
Gustavo, for zotero.sqlite.tmp you need the latest firefox-3.5, which is 3.5.3+build1+nobinonly-0ubuntu4. However, there is a kernel bug #451375 for truncate that is still pending that cannot be working around via profiling. -- [karmic] evince apparmor profile breaks zotero reference database

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-15 Thread Jamie Strandboge
*** This bug is a duplicate of bug 451375 *** https://bugs.launchpad.net/bugs/451375 Unfortunately, at this point (due to bug #451375) if you are using zotero you cannot use the apparmor firefox profile. To disable the profile, do: $ sudo apparmor_parser -R

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Iakov Davydov
davi...@theatre:~/.mozilla/firefox/zd7d6bcj.default/zotero/storage/5T4G9J5X$ tail /etc/apparmor.d/abstractions/evince /**.[pP][nN][gG] r, /**.[pP][sS] r, /**.[eE][pP][sS] r, /**.[tT][iI][fF][fF] r, /**.[xX][pP][mM] r, /**.[gG][zZ] r, /**.[cC][bB][rRzZ7]

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Iakov Davydov
I suppose you mean /etc/apparmor.d/, but not /etc/apparmor/ I add this line to the end of file, kill evince, perform sudo apparmor_parser...evince, but nothing changes. I still get permission denied. BTW, here is sample path of zotero PDF file:

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
Can you please attach your kern.log after getting the permission denied? Also, what version of zotero are you using? ** Also affects: firefox-3.5 (Ubuntu) Importance: Undecided Status: New ** Changed in: firefox-3.5 (Ubuntu) Status: New = Triaged -- [karmic] evince apparmor

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
Adding firefox-3.5 task. It needs the following in /etc/apparmor.d/ufw.bin.firefox-3.5: @{HOME}/.mozilla/**/*.sqlite k, Needs to be changed to: @{HOME}/.mozilla/**/*.sqlite* k, -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Iakov Davydov
kern.log: Oct 14 18:04:16 theatre kernel: [179834.672527] type=1503 audit(1255523470.059:129): operation=open pid=22597 parent=20331 profile=/usr/bin/evince requested_mask=r:: denied_mask=r:: fsuid=1000 ouid=1000

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
I played around with this a bit, and evince works ok for me. For example: $ apparmor module is loaded. 14 profiles are loaded. 14 profiles are in enforce mode. ... /usr/bin/evince-previewer /usr/bin/evince-thumbnailer /usr/bin/evince ... Then after opening the pdf via zotero (by

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
** Changed in: firefox-3.5 (Ubuntu) Status: Triaged = Fix Committed ** Changed in: firefox-3.5 (Ubuntu) Status: Fix Committed = In Progress ** Branch linked: lp:~jdstrand/firefox/firefox-449286 -- [karmic] evince apparmor profile breaks zotero reference database

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
Ok. Adding @{HOME}/.mozilla/**/zotero/** r, is not enough due to bug #451422. I will work around this in the evince profile and upload it later today. -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You received this bug notification

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Jamie Strandboge
** Changed in: firefox-3.5 (Ubuntu) Assignee: (unassigned) = Jamie Strandboge (jdstrand) ** Changed in: evince (Ubuntu) Status: Incomplete = Fix Committed -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You received this

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Launchpad Bug Tracker
This bug was fixed in the package evince - 2.28.0-0ubuntu4 --- evince (2.28.0-0ubuntu4) karmic; urgency=low * debian/apparmor-profile.abstraction: allow access to mozilla's cache. Unfortunately, the method used is not as clean as it should be due to LP: #451422. Once that

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Launchpad Bug Tracker
** Branch linked: lp:firefox/3.5 -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-14 Thread Launchpad Bug Tracker
This bug was fixed in the package firefox-3.5 - 3.5.3+build1+nobinonly- 0ubuntu4 --- firefox-3.5 (3.5.3+build1+nobinonly-0ubuntu4) karmic; urgency=low [ Fabien Tassin f...@ubuntu.com ] * Bump requirement for system sqlite to = 3.6.16 (bmo 508104) - update debian/rules [

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-13 Thread Iakov Davydov
I have similar problem. sudo apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.evince doesn't help. -- [karmic] evince apparmor profile breaks zotero reference database https://bugs.launchpad.net/bugs/449286 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-13 Thread Iakov Davydov
Sorry; maybe i was wrong. Can you be more specific about what lines should I add to /etc/apparmor/abstractions/private-files-strict ? @{HOME}/.mozilla/**/zotero/** leads to AppArmor parser error in /etc/apparmor.d/usr.bin.evince at line 741: syntax error, unexpected TOK_ID, expecting TOK_MODE

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-13 Thread Jamie Strandboge
I'm sorry. Since this is a PDF specific issue, let's put it in the evince profile. Can you add the following to /etc/apparmor/abstractions/evince: @{HOME}/.mozilla/**/zotero/** r, Then run: $ sudo apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.evince Please report back if this fixes the

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-12 Thread Nathaniel Smith
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/33479418/Dependencies.txt ** Attachment added: KernLog.txt http://launchpadlibrarian.net/33479419/KernLog.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/33479420/ProcMaps.txt ** Attachment added:

[Bug 449286] Re: [karmic] evince apparmor profile breaks zotero reference database

2009-10-12 Thread Jamie Strandboge
Does adding @{HOME}/.mozilla/**/zotero/** to abstractions/private-files-strict work for you? After adding the line, please perform: $ sudo apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.evince and restart evince. ** Changed in: evince (Ubuntu) Status: New = Incomplete ** Changed in: