This appears to be an intended change in yakkety:

  commit f45068b560e1694450624dddb1777354723530c8
  Author: John Johansen <john.johan...@canonical.com>
  Date:   Fri Aug 12 08:08:33 2016 -0700

    apparmor: default to allowing unprivileged userns policy
    
    To disable set kernel/unprivileged_userns_apparmor_policy = 0
    
    Signed-off-by: John Johansen <john.johan...@canonical.com>
    Signed-off-by: Leann Ogasawara <leann.ogasaw...@canonical.com>

Which implies the test is now wrong.  Also this change has been
backported to other releases with the apparmor backport.

-- 
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/1636461

Title:
  linux 4.8.0-27.29 ADT test failure with linux 4.8.0-27.29

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Testing failed on all real architectures:

  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-
  yakkety/yakkety/amd64/l/linux/20161021_193124_cecf7@/log.gz

  Seems to be the below test:

      def test_152_sysctl_disables_apparmor_unpriv_userns(self):
          '''unprivileged_userns_apparmor_policy sysctl supported'''

          expected = 0
          exists = True
          if not self.kernel_at_least('4.4'):
              self._skipped("unprivileged apparmor disable sysctl did not exist 
before xenial")
              expected = 1
              exists = False

  self._test_sysctl_value('kernel/unprivileged_userns_apparmor_policy',
  expected, exists=exists)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636461/+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