Link: https://bugs.launchpad.net/bugs/2083823

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

Title:
  hardlink permission denied in selftests

Status in linux-intel package in Ubuntu:
  New
Status in linux-intel source package in Oracular:
  New

Bug description:
  In ubuntu_qrt_kernel_security, for linux-intel-6.11.0-1003, test case
  KernelSecurityTest.test_092_hardlink_restriction failed with:

  19:26:08 ERROR| [stderr] FAIL: test_092_hardlink_restriction 
(__main__.KernelSecurityTest.test_092_hardlink_restriction)
  19:26:08 ERROR| [stderr] Hardlink disallowed for unreadable/unwritable sources
  19:26:08 ERROR| [stderr] 
----------------------------------------------------------------------
  19:26:08 ERROR| [stderr] Traceback (most recent call last):
  19:26:08 ERROR| [stderr]   File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py",
 line 1055, in test_092_hardlink_restriction
  19:26:08 ERROR| [stderr]     self._check_hardlinks(hardened=expected)
  19:26:08 ERROR| [stderr]   File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py",
 line 997, in _check_hardlinks
  19:26:08 ERROR| [stderr]     self.assertShellExitEquals(0, ['sudo', '-u', 
os.environ['SUDO_USER'], 'cat', '%s/null' % (tmpdir)])
  19:26:08 ERROR| [stderr]   File 
"/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/testlib.py",
 line 1332, in assertShellExitEquals
  19:26:08 ERROR| [stderr]     self.assertEqual(expected, rc, msg + result + 
report)
  19:26:08 ERROR| [stderr] AssertionError: 0 != 1 : Got exit code 1, expected 0
  19:26:08 ERROR| [stderr] Command: 'sudo', '-u', 'ubuntu', 'cat', 
'/tmp/hardlinks-d09q1t0r/null'
  19:26:08 ERROR| [stderr] Output:
  19:26:08 ERROR| [stderr] cat: /tmp/hardlinks-d09q1t0r/null: Permission denied

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