[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Changed in: apparmor (Ubuntu) Status: Confirmed = In Progress ** Changed in: apparmor (Ubuntu) Status: In Progress = Invalid ** Changed in: linux (Ubuntu) Status: Confirmed = In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) = John Johansen (jjohansen) ** Changed in: linux (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Tags removed: rls-t-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
Christopher, that's probably something that the AppArmor devs (John/Tylor) should look into. When I discussed this with John and Tylor, they already seemed to know which area of AppArmor hits this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Tags added: regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
Martin Pitt, could you please provide the linux commit that this regressed in as per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244157/comments/4 via https://wiki.ubuntu.com/Kernel/KernelBisection ? ** Tags added: bot-stop-nagging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
I meet this problem on saucy too. So will the patch be backported to saucy soon? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apparmor (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
This bug was fixed in the package network-manager - 0.9.8.4-0ubuntu3 --- network-manager (0.9.8.4-0ubuntu3) trusty; urgency=low * Set allow-stderr for debian/tests/apparmor_workaround to avoid failure on AppArmor warnings. -- Martin Pitt martin.p...@ubuntu.com Tue, 05 Nov 2013 09:48:28 +0100 ** Changed in: network-manager (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
From discussion with Jamie: Changing /etc/apparmor.d/sbin.dhclient to /usr/lib/NetworkManager/nm-dhcp-client.action flags=(attach_disconnected) { does the trick. Apparently this happens because the NM tests unshare the file system namespace. They do this because they mount tmpfses over /run/NetworkManager, /etc/NetworkManager and similar, so that they don't destroy the real files on the production system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Also affects: network-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
Is there any way to temporarily add this attach_disconnected flag without having to touch files in /etc? I wouldn't want to actually sed -i there as these tests are supposed to be running on a desktop installation too (that's why I go through all the fuss in the first place). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
For adding the attach_disconnected flag, unfortunately there isn't a convenient way to apply attach_disconnected without modifying the profile directly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
So yes this is because of the unshare of the file system namespace. Currently the only work around is the use of the attach_disconnected flag. Alternate solutions are coming as part of the work to support lxc Martin: The only way to temporarily add the attach_disconnected flag is to manually replace the profile with a version that has the flag added. The manually loaded profile can be from anywhere apparmor_parser -Kr profile file -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
@John: Thanks a lot for the tip with apparmor_parser -Kr profile file, that works perfectly! I'll add that to the NM tests. If this is supposed to work that way, please feel free to close the AppArmor task. If it's just a workaround and D-BUS access is supposed to continue to work from an unshared file system, it can be kept open. ** Changed in: network-manager (Ubuntu) Status: New = In Progress ** Changed in: network-manager (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Branch linked: lp:~network-manager/network-manager/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244157] Re: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access
** Changed in: network-manager (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244157 Title: [3.11.0-12.18 regression] Failed name lookup - disconnected path in dhclient D-BUS access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1244157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs