touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #134036
[Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED
Following the above description.
I have known a solution:
~$ sudo ln -s /etc/apparmor.d/sbin.dhclient /etc/apparmor.d/disable/
~$ sudo /etc/init.d/apparmor reload
~$ sudo /etc/init.d/apparmor restart
~$ sudo /etc/init.d/networking restart
~$ sudo dhclient enp0s3
but I think this method is insecurity.I want to know Why did it
happen?And How to fix it.
I am using "ubuntu-15.10-desktop-amd64.iso" and "overlayroot".
need any help
Thanks
--
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
References