[Bug 451375] Re: apparmor disallows truncate of deleted file

2010-01-23 Thread Andrei Rohau
Greetings, Seems that this bug is affecting the latest 2.6.32-11.15 kernel in Lucid. Running the simple C program to reproduce the failure from comment #2 I get the following. Without AppArmor profile: open(/var/tmp/foo, O_RDWR|O_CREAT, 0700) = 3 ftruncate(3, 0) = 0

[Bug 451375] Re: apparmor disallows truncate of deleted file

2010-01-23 Thread John Johansen
The Lucid kernel add some flags to provide better control over this and other path behaviors and it looks like the flag for deleted file lookup isn't properly being applied. It will be fixed in the next update of AppArmor. -- apparmor disallows truncate of deleted file

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-23 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.31-15.50 --- linux (2.6.31-15.50) karmic-proposed; urgency=low [ Kees Cook ] * SAUCE: Fix nx_enable reporting - LP: #454285 linux (2.6.31-15.49) karmic-proposed; urgency=low [ Benjamin Herrenschmidt ] * [Upstream] (drop

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/linux-fsl-imx51 -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/linux-mvl-dove -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.32-3.3 --- linux (2.6.32-3.3) lucid; urgency=low [ Andy Whitcroft ] * rebase to v2.6.32-rc6 * [Config] update configs following rebase to v2.6.32-rc6 * [Config] update ports configs following rebase to v2.6.32-rc6 * resync with

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-09 Thread John Johansen
starslights, this is a different bug as it is missing info=Failed name lookup - deleted entry and running aa-decode finds a name with out the appended (deleted) [169621.221525] type=1503 audit(1257668082.865:35): operation=truncate pid=12308 parent=3052 profile=/usr/lib/firefox-3.5.*/firefox

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-09 Thread starslights
hello John, Thanks for your answer, done : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/479580 best regards -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-08 Thread starslights
hello, I have found a new truncate audit in my log who was blocked. This bug don't seem to be fixed. [169621.221525] type=1503 audit(1257668082.865:35): operation=truncate pid=12308 parent=3052 profile=/usr/lib/firefox-3.5.*/firefox requested_mask=::w denied_mask=::w fsuid=1000 ouid=0

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-06 Thread Martin Pitt
** Also affects: linux (Ubuntu Karmic) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Lucid) Importance: Medium Assignee: John Johansen (jjohansen) Status: Fix Committed -- apparmor disallows truncate of deleted file

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-11-06 Thread Martin Pitt
Accepted linux into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: linux (Ubuntu Karmic)

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-31 Thread starslights
hello, I run kubuntu karmic 9.10 x86 64 and openoffice sollice don't can be open by firefox 3.5.5pre [90641.613862] type=1503 audit(1256979234.132:54): operation=exec pid=9404 parent=6161 profile=/usr/lib/firefox-3.5.*/firefox requested_mask=::x denied_mask=::x fsuid=1000 ouid=0

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-30 Thread Jamie Strandboge
This issue is fixed using the latest kernel John made available: http://kernel.ubuntu.com/~jj/linux-image-2.6.31-14-generic_2.6.31-14.49~jj_amd64.deb -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-29 Thread Iakov Davydov
Dear John. Currently firefox apparmor profile is disabled after update so bug with zotero is not reproduced. Should I first enable apparmor firefox profile? -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-29 Thread John Johansen
Iakov, yes you will need to reenable the apparmor firefox profile to reproduce, however I have already had reports of issues with the patch and I am working on a new version so I would wait for the newer version. -- apparmor disallows truncate of deleted file

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-28 Thread John Johansen
I have placed a test kernel at http://kernel.ubuntu.com/~jj/linux-image-2.6.31-14-generic_2.6.31-14.48~jj_amd64.deb -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-28 Thread John Johansen
This is more of a bug in firefox and evinve. They are relying on trunc(/some/path) working after the file has been deleted, instead they should be using trunc(fd). There use of trunc is incorrect even though it has traditionally worked because it may not get the file pointed to by the fd. If a

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-26 Thread Jamie Strandboge
** Tags added: apparmor -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-15 Thread Jamie Strandboge
There have been several people in bug #449286 that are hitting this bug. Since the evince and firefox parts of that bug are fixed, I added a linux task and will mark that bug a duplicate. -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-15 Thread Jamie Strandboge
This bug is likely an SRU candidate. I would prefer seeing it fixed before release, but understand if the kernel team wants to freeze their kernel. -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You received this bug notification because you are a member of

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-14 Thread Jamie Strandboge
** Attachment added: AlsaDevices.txt http://launchpadlibrarian.net/33660463/AlsaDevices.txt ** Attachment added: ArecordDevices.txt http://launchpadlibrarian.net/33660466/ArecordDevices.txt ** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/33660467/BootDmesg.txt **

[Bug 451375] Re: apparmor disallows truncate of deleted file

2009-10-14 Thread John Johansen
The attached C file can be used to reproduce, the truncate call post unlink will fail. ** Attachment added: Simple C program to reproduce the failure http://launchpadlibrarian.net/33704325/trunc.c -- apparmor disallows truncate of deleted file https://bugs.launchpad.net/bugs/451375 You