[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-10-13 Thread Andy Whitcroft
** Changed in: linux (Ubuntu)
   Status: Triaged = Fix Committed

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-10-13 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.31-14.46

---
linux (2.6.31-14.46) karmic; urgency=low

  [ Andy Whitcroft ]

  * reinstate armel.mk with no flavours
- LP: #449637
  * [Upstream] elevator: fix fastfail checks to allow merge of readahead
requests
- LP: #444915
  * [Upstream] block: silently error unsupported empty barriers too
- LP: #420423

  [ John Johansen ]

  * SAUCE: AppArmor: Fix mediation of deleted paths
- LP: #415632

  [ Tim Gardner ]

  * [Config] CONFIG_X86_MCE
https://lists.ubuntu.com/archives/kernel-team/2009-October/007584.html
  * Revert appletalk: Fix skb leak when ipddp interface is not loaded,
CVE-2009-2903 - Use patch from 2.6.31.4 which is slightly different.

  [ Upstream Kernel Changes ]

  * x86: fix csum_ipv6_magic asm memory clobber
  * tty: Avoid dropping ldisc_mutex over hangup tty re-initialization
  * x86: Don't leak 64-bit kernel register values to 32-bit processes
  * tracing: correct module boundaries for ftrace_release
  * ftrace: check for failure for all conversions
  * futex: fix requeue_pi key imbalance
  * futex: Move exit_pi_state() call to release_mm()
  * futex: Nullify robust lists after cleanup
  * futex: Fix locking imbalance
  * NOHZ: update idle state also when NOHZ is inactive
  * ima: ecryptfs fix imbalance message
  * libata: fix incorrect link online check during probe
  * sound: via82xx: move DXS volume controls to PCM interface
  * ASoC: WM8350 capture PGA mutes are inverted
  * KVM: Prevent overflow in KVM_GET_SUPPORTED_CPUID
  * KVM: VMX: flush TLB with INVEPT on cpu migration
  * KVM: fix LAPIC timer period overflow
  * KVM: SVM: Fix tsc offset adjustment when running nested
  * KVM: SVM: Handle tsc in svm_get_msr/svm_set_msr correctly
  * net: Fix wrong sizeof
  * mm: add_to_swap_cache() must not sleep
  * sis5513: fix PIO setup for ATAPI devices
  * PIT fixes to unbreak suspend/resume (bug #14222)
  * IMA: open new file for read
  * ACPI: Clarify resource conflict message
  * ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression
  * net: restore tx timestamping for accelerated vlans
  * net: unix: fix sending fds in multiple buffers
  * tun: Return -EINVAL if neither IFF_TUN nor IFF_TAP is set.
  * tcp: fix CONFIG_TCP_MD5SIG + CONFIG_PREEMPT timer BUG()
  * net: Fix sock_wfree() race
  * smsc95xx: fix transmission where ZLP is expected
  * sky2: Set SKY2_HW_RAM_BUFFER in sky2_init
  * appletalk: Fix skb leak when ipddp interface is not loaded
  * ax25: Fix possible oops in ax25_make_new
  * ax25: Fix SIOCAX25GETINFO ioctl
  * sit: fix off-by-one in ipip6_tunnel_get_prl
  * Linux 2.6.31.4
  * drm/i915: Fix FDI M/N setting according with correct color depth
- LP: #416792

 -- Andy Whitcroft a...@canonical.com   Tue, 13 Oct 2009 12:06:59 +0100

** Changed in: linux (Ubuntu)
   Status: Fix Committed = Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2009-2903

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-10-12 Thread John Johansen

** Attachment added: proposed patch, fixing both deleted file delegation and 
creation
   http://launchpadlibrarian.net/33573232/aa.diff

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-10-12 Thread John Johansen
This seems to have been two issues,

1. AppArmor was enforcing tighter deleted file delegation semantics and
2. With the new hook placement under certain filesystems creation of files/nods 
was showing up as deleted paths.

The attached patch is the proposed fix and a test kernel with the patch applied 
can be grabbed from
http://kernel.ubuntu.com/~jj/linux-image-2.6.31-13-generic_2.6.31-13.43_amd64.deb

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread Twigathy
Sure. Things incoming

** Attachment added: exports
   http://launchpadlibrarian.net/31581742/exports

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread Twigathy

** Attachment added: exports-server
   http://launchpadlibrarian.net/31581747/exports-server

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread Twigathy

** Attachment added: fstab
   http://launchpadlibrarian.net/31581749/fstab

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread Twigathy

** Attachment added: portmap
   http://launchpadlibrarian.net/31581755/portmap

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread Twigathy
Note that exports-server and exports are for server and client. portmap
is the same on both machines. fstab is for the client.

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-10 Thread John Johansen
Twigathy can you upload your

  /etc/fstab
  /etc/default/portmap
  /etc/exports

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-09-01 Thread John Johansen
This is looking like a failure in AppArmor's path resolution


** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = John Johansen (jjohansen)

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-08-26 Thread Jamie Strandboge
Reducing to Medium for now as I am not sure if High is appropriate.
Please adjust as necessary.

** Summary changed:

- evince fails to open all PDF - grey screen
+ apparmor not properly handling file deletion on NFS

** Description changed:

- All PDFs I try and load with evince end with evince showing me a
- wonderful grey screen with no content, and the window controls as usual
- (Max/min/close). PDFs open just fine with xpdf. This was working until
- about a week ago
+ Deleted files on NFS are not being handled properly. This was
+ demonstrated with the evince profile, but could happen with any confined
+ process.
+ 
+ Previous description:
+ All PDFs I try and load with evince end with evince showing me a wonderful 
grey screen with no content, and the window controls as usual (Max/min/close). 
PDFs open just fine with xpdf. This was working until about a week ago
  
  Upon launching from terminal, I get this:
  ** (evince:7414): WARNING **: Failed to create dbus proxy for 
org.gnome.SettingsDaemon: Could not get owner of name 
'org.gnome.SettingsDaemon': no such name
  
  ** (evince:7414): WARNING **: Failed to create file
  '/home/twigathy/.gnome2/evince/evince-crashed.HMQ0YU': No such file or
  directory
  
  I don't know if these two warnings are related to the app failure.
  
  I tried removing .gnome2/ and that didn't help either.
  
  Version is GNOME Document Viewer 2.27.90 / 2.27.90-0ubuntu5 in Karmic.
  
  
  Running it through strace seems to end up in an infinite loop of these:
  poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, 
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, 
{fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=3, 
events=POLLIN}], 9, 0) = 1 ([{fd=15, revents=POLLHUP}])
  read(6, 0x98be900, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
  
  
  Description:  Ubuntu karmic (development branch)
  Release:  9.10
  evince:
Installed: 2.27.90-0ubuntu5
Candidate: 2.27.90-0ubuntu5
Version table:
   *** 2.27.90-0ubuntu5 0
  500 http://gb.archive.ubuntu.com karmic/main Packages
  100 /var/lib/dpkg/status
  Expected: PDF files to be displayed onscreen
  Actual: Grey screen of death

** Package changed: evince (Ubuntu) = linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Low = High

** Changed in: linux (Ubuntu)
   Status: Incomplete = Triaged

** Changed in: linux (Ubuntu)
 Assignee: Jamie Strandboge (jdstrand) = (unassigned)

** Description changed:

  Deleted files on NFS are not being handled properly. This was
  demonstrated with the evince profile, but could happen with any confined
- process.
+ process. This is a regression over jaunty and earlier.
  
  Previous description:
  All PDFs I try and load with evince end with evince showing me a wonderful 
grey screen with no content, and the window controls as usual (Max/min/close). 
PDFs open just fine with xpdf. This was working until about a week ago
  
  Upon launching from terminal, I get this:
  ** (evince:7414): WARNING **: Failed to create dbus proxy for 
org.gnome.SettingsDaemon: Could not get owner of name 
'org.gnome.SettingsDaemon': no such name
  
  ** (evince:7414): WARNING **: Failed to create file
  '/home/twigathy/.gnome2/evince/evince-crashed.HMQ0YU': No such file or
  directory
  
  I don't know if these two warnings are related to the app failure.
  
  I tried removing .gnome2/ and that didn't help either.
  
  Version is GNOME Document Viewer 2.27.90 / 2.27.90-0ubuntu5 in Karmic.
  
  
  Running it through strace seems to end up in an infinite loop of these:
  poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, 
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, 
{fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=3, 
events=POLLIN}], 9, 0) = 1 ([{fd=15, revents=POLLHUP}])
  read(6, 0x98be900, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
  
  
  Description:  Ubuntu karmic (development branch)
  Release:  9.10
  evince:
Installed: 2.27.90-0ubuntu5
Candidate: 2.27.90-0ubuntu5
Version table:
   *** 2.27.90-0ubuntu5 0
  500 http://gb.archive.ubuntu.com karmic/main Packages
  100 /var/lib/dpkg/status
  Expected: PDF files to be displayed onscreen
  Actual: Grey screen of death

** Tags added: regression-potential

** Changed in: linux (Ubuntu)
   Importance: High = Medium

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 415632] Re: apparmor not properly handling file deletion on NFS

2009-08-26 Thread Twigathy
Ack, apologies for bugspam. Refreshing page did something odd.

-- 
apparmor not properly handling file deletion on NFS
https://bugs.launchpad.net/bugs/415632
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs