run_afpackettests in ubuntu_kernel_selftests failed with "./in_netns.sh: Permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-signed (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Po-Hsu Lin |
Bug Description
This issue begins with my fix in bug 1853375,
the newly created in_netns.sh script got file permission with:
new file mode 100755
However, it lost the executable property when downloaded by the test case:
-rw-r--r-- 1 root root 298 Feb 5 07:41 in_netns.sh
If you do a manual chmod this test will pass without any issue.
This commit can be found here in Xenial tree: https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-174-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.21
Architecture: amd64
Date: Wed Feb 5 07:27:33 2020
SourcePackage: linux-signed
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
Changed in linux-signed (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in linux-signed (Ubuntu): | |
status: | New → Invalid |
tags: | added: ubuntu-kernel-selftests |
tags: | added: sru-20200127 |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux-signed (Ubuntu Xenial): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
This is pretty weird, the script got its executable bit in the master-next tree.
https:/ /kernel. ubuntu. com/git/ ubuntu/ ubuntu- xenial. git/tree/ tools/testing/ selftests/ net?h=master- next