It is just the standard fare. it was originally in an alternate location, however I had moved it back to a standard path without symlinks to fix a previous snap issue.
I tried to reproduce on a fresh 17.04 x86-64, snapcraft deb, lxd deb, lxd init with defaults except none for IPv6 as you said, running as a user (not root). I’m not seeing any error here.
Are those details I emphasized in bold the same for you?
Just moving some of the discussion we had in rocket onto here to keep the issue in context for future visitors.
This is the deb package of LXD
I have meant to move my snapcraft, led, etc. of the snap versions. So if you think that might help - will gladly do so.
I ran this as my user, and not root.
So the big thing about this system, it is Active Directory integrated using powerbroker. This system that used to have the non-standard home location (since moved into an std spot). This one (system) system seems to be problematic overall with snapping. I don’t want to waste someone’s time with the system (could move to my laptop) unless you see value working through this (from a bug POV). My system is an edge case for sure. So a question of priorities for you guys.
No matches for wildcard '/var/lib/snapd/apparmor/profiles/snap.lxd.*'. (Tip: empty matches are allowed in 'set', 'count', 'for'.)
fish: sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap.lxd.*
Dropped back to bash from fish in case that was the issue:
snap-mumble$ sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap.lxd.*
[sudo] password for dkrysak:
File /var/lib/snapd/apparmor/profiles/snap.lxd.* not found, skipping...
Did you execute that with the lxd snap installed? Did you try re-installing it?
For reference, on my system I get these, which in this case means “working fine”, no output would also be a good thing:
Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.check-kernel (/var/lib/snapd/apparmor/profiles/snap.lxd.check-kernel line 384): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.benchmark (/var/lib/snapd/apparmor/profiles/snap.lxd.benchmark line 384): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.daemon (/var/lib/snapd/apparmor/profiles/snap.lxd.daemon line 384): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
Warning from /var/lib/snapd/apparmor/profiles/snap.lxd.lxd (/var/lib/snapd/apparmor/profiles/snap.lxd.lxd line 384): Unconfined exec qualifier (ux) allows some dangerous environment variables to be passed to the unconfined process; 'man 5 apparmor.d' for details.
If lxd commands fail in general, please take it to the lxd forums, I bet they would be interested in solving this problem in a general way. If it only happens with snapcraft we will try and help you out from our side.