Bug: https://bugs.launchpad.net/bugs/1425398 Subject: tests: workaround apparmor behavioral change w/newer kernels Upstream: no, upstream has diverged too far, has different fixes Author: Steve Beattie The version of apparmor in utopic and vivid attempted to keep backwards compatability with the trusty version when the trusty-era and earlier parser is used; however, one minor behavioral change leaked in that requires both sides of a unix socket to need read and write access. This patch adjusts the regression tests that fail due to this change. --- tests/regression/apparmor/unix_socket_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/tests/regression/apparmor/unix_socket_file.sh =================================================================== --- a/tests/regression/apparmor/unix_socket_file.sh +++ b/tests/regression/apparmor/unix_socket_file.sh @@ -33,7 +33,7 @@ client=$bin/unix_socket_file_client socket=${tmpdir}/unix_socket_file.sock message=4a0c83d87aaa7afa2baab5df3ee4df630f0046d5bfb7a3080c550b721f401b3b\ 8a738e1435a3b77aa6482a70fb51c44f20007221b85541b0184de66344d46a4c -okserver=w +okserver=rw badserver=r okclient=rw