← Back to team overview

kernel-packages team mailing list archive

[Bug 1373174] Re: unix_socket_pathname.sh confined server dgram test fails

 

** Changed in: linux (Ubuntu)
   Importance: High => Medium

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

Title:
  unix_socket_pathname.sh confined server dgram test fails

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  This is an existing failure that is uncovered by a new test. Note that
  this failure only occurs with the dgram tests and passes with the
  identical stream and seqpacket tests.

  * The failure:

  Error: unix_socket failed. Test 'AF_UNIX pathname socket (dgram); confined server w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL CLIENT - sendto: Permission denied
  FAIL - recvfrom: Interrupted system call'

  * The denial:

  apparmor="DENIED" operation="sendmsg"
  profile="/home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket"
  name="/tmp/sdtest.16086-14002-IJxwaQ/aa_sock.client" pid=16580
  comm="unix_socket_cli" requested_mask="r" denied_mask="r" fsuid=0
  ouid=0

  * The profile:

  /home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket {
    /etc/ld.so.cache r,
    /proc/*/attr/current w,
    /dev/urandom r,
    /home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket rix,
    /lib/x86_64-linux-gnu/libc-2.19.so mr,
    /lib/x86_64-linux-gnu/ld-2.19.so rix,
    /tmp/sdtest.16086-14002-IJxwaQ/output.unix_socket w,
    /tmp/sdtest.16086-14002-IJxwaQ/aa_sock rw,
    unix (create,getopt,setopt,getattr),
    /home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket_client Ux,
  }

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


References