** Changed in: linux (Ubuntu)
   Importance: Undecided => Critical

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

** Changed in: linux (Ubuntu)
       Status: Confirmed => In Progress

** Description changed:

+ SRU Justification
+ 
+ Impact: The LSM stacking patches for disco changed the values read from
+ /sys/module/apparmor/parameters/enabled from Y/N to 0/1. This has caused
+ regressions in applications which expect Y/N, as demonstrated by this
+ failing lxc dep8 test.
+ 
+ Fix: Change the values read back from
+ /sys/module/apparmor/parameters/enabled to Y/N.
+ 
+ Regression Potential: Minimal, the change is straightforward and fixes a
+ regression.
+ 
+ Test Case: Can be confirmed with 'cat
+ /sys/module/apparmor/parameters/enabled' and by running the lxc dep8
+ tests and confirming that lxc-test-apparmor passes.
+ 
+ ---
+ 
  The lxc apparmor tests are failing with linux 5.0.0-9.10. The test
  expects an open of /sys/kernel/uevent_helper to fail, but it succeeds:
  
  FAIL: lxc-tests: lxc-test-apparmor (2s)
  ---
  failed - opened /sys/kernel/uevent_helper
  ---
  
  Full test log:
  
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-disco-canonical-kernel-team-
  bootstrap/disco/amd64/l/lxc/20190405_072222_d0e52@/log.gz

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1823379

Title:
  Apparmor enforcement failure in lxc selftests

Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  SRU Justification

  Impact: The LSM stacking patches for disco changed the values read
  from /sys/module/apparmor/parameters/enabled from Y/N to 0/1. This has
  caused regressions in applications which expect Y/N, as demonstrated
  by this failing lxc dep8 test.

  Fix: Change the values read back from
  /sys/module/apparmor/parameters/enabled to Y/N.

  Regression Potential: Minimal, the change is straightforward and fixes
  a regression.

  Test Case: Can be confirmed with 'cat
  /sys/module/apparmor/parameters/enabled' and by running the lxc dep8
  tests and confirming that lxc-test-apparmor passes.

  ---

  The lxc apparmor tests are failing with linux 5.0.0-9.10. The test
  expects an open of /sys/kernel/uevent_helper to fail, but it succeeds:

  FAIL: lxc-tests: lxc-test-apparmor (2s)
  ---
  failed - opened /sys/kernel/uevent_helper
  ---

  Full test log:

  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-disco-canonical-kernel-team-
  bootstrap/disco/amd64/l/lxc/20190405_072222_d0e52@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1823379/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to