[Touch-packages] [Bug 1738155] Re: Calling reboot or poweroff on a node-red snap is fail

2017-12-14 Thread zhangyang
Note: I also add plugs: "shutdown,core-support, process-control",but it is no longer effective. Thanks for any help! -- 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/1738155

[Touch-packages] [Bug 1738155] Re: Calling reboot or poweroff on a node-red snap is fail

2017-12-14 Thread zhangyang
Note: In the node-red snap to run "poweroff" is meaning: I post a flow into web(node-red client) to run "poweroff" command, but it is no longer effective. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. ht

[Touch-packages] [Bug 1738155] [NEW] Calling reboot or poweroff on a node-red snap is fail

2017-12-14 Thread zhangyang
Public bug reported: OS:Ubuntu 16.04.3-amd64 when I run command "reboot" or "poweroff" in the node-red snap.It is no longer effective. my snapcraft.yaml: name: nodered version: 1.00 summary: A visual tool for wiring the Internet of Things description: Node-RED is a tool for wiring together hard

[Touch-packages] [Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED

2017-08-15 Thread zhangyang
I think I fix the issue. [ 22.126997] audit: type=1400 audit(1502779554.863:21): apparmor="DENIED" operation="getattr" info="Failed name lookup - disconnected path" error=-13 profile="/usr/lib/NetworkManager/nm-dhcp- helper" name="etc/ld.so.cache" You can find that the path which is looking for

[Touch-packages] [Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED

2016-02-25 Thread zhangyang
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." "

[Touch-packages] [Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED

2016-02-25 Thread zhangyang
Dear Seth Arnold, Recently, I use this method " attach_disconnected " in the virtualbox.However, this method does not seem stable, often unable to get online. Best Regard, zy -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to a

[Touch-packages] [Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED

2016-02-04 Thread zhangyang
Dear Seth Arnold, OH,It`s amazing.with the attach_disconnected, It is seem to work . It`s a good way to solve the trouble.Thank you for your answer. if I find some valuable thing about the trouble,I will be post here. Best Regard, zy -- You received this bug notification because you are a membe

[Touch-packages] [Bug 1541450] Re: overlayroot read-only mode apparmor dhclient DENIED

2016-02-03 Thread zhangyang
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 insec

[Touch-packages] [Bug 1541450] [NEW] overlayroot read-only mode apparmor dhclient DENIED

2016-02-03 Thread zhangyang
Public bug reported: 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=