I find the relevant information about this issue.

"Unless specifically directed to connect the path,OR if in a chroot and
doing chroot relative paths and the path resolves to the namespace root
(would be connected outside of chroot) and specifically directed to
connect paths to namespace root."

"we could extend attach_disconnected so that we can define the attach
root. Eg, we can use profile foo (attach_disconnected=/mnt) {} such that
'/bin/bash' maps to '/mnt/bin/bash'."

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1541450

Title:
  overlayroot read-only mode apparmor dhclient DENIED

Status in apparmor package in Ubuntu:
  New

Bug description:
  Dear all:
      I am using the overlayroot and working on read-only mode ,and then I 
can`t connect network and dhclient .

  cat /var/log/kernel.log below

  Feb  3 23:17:53 zy-VirtualBox kernel: [   49.049090] audit: type=1400
  audit(1454512673.592:44): apparmor="DENIED" operation="getattr"
  info="Failed name lookup - disconnected path" error=-13
  profile="/sbin/dhclient" name="etc/ld.so.cache" pid=1217
  comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

  Feb  3 23:17:53 zy-VirtualBox kernel: [   49.049253] audit: type=1400
  audit(1454512673.592:45): apparmor="DENIED" operation="getattr"
  info="Failed name lookup - disconnected path" error=-13
  profile="/sbin/dhclient" name="lib/x86_64-linux-gnu/libirs-
  export.so.91.0.0" pid=1217 comm="dhclient" requested_mask="r"
  denied_mask="r" fsuid=0 ouid=0

  when I use "dhclient enp0s3",the error message is "dhclient: error
  while loading shared libraries: libirs-export.so.91: cannot stat
  shared object: Permission denied"

  need any help
  Thanks
  zy

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to