Public bug reported:

In the unity8 snap I've been working on, I tried to play music from
unity8-dash.  And it doesn't do anything.  Media Hub gives an error
about "Invalid profile name".  Seemingly from the code in
apparmor/ubuntu.cpp:

    MH_DEBUG("apparmor profile name: %s", name);
    MH_DEBUG("is_unconfined(): %s", (is_unconfined() ? "true" : "false"));
    MH_DEBUG("has_package_name(): %s", (has_package_name() ? "true" : "false"));
    if (not is_unconfined() and not is_unity() and not has_package_name())
        throw std::logic_error
        {
            "apparmor::ubuntu::Context: Invalid profile name " + str()
        };

For the unity8 snap, I see:

[DD 2016-11-16 20:54:00.782937] [ubuntu.cpp:111@Context] apparmor profile name: 
snap.unity8-session.unity8-session
[DD 2016-11-16 20:54:00.782992] [ubuntu.cpp:112@Context] is_unconfined(): false
[DD 2016-11-16 20:54:00.783028] [ubuntu.cpp:113@Context] has_package_name(): 
false
Error while executing the underlying io_service: apparmor::ubuntu::Context: 
Invalid profile name snap.unity8-session.unity8-session

It seems like media-hub is not prepared for this new snappy world.

(Also, and separately, media-hub doesn't have a non-android video
backend?  I assume that's a known issue and/or there's a bug for that
already.)

** Affects: media-hub (Ubuntu)
     Importance: Undecided
         Status: New

** Branch linked: lp:~aacid/media-hub/unity8_snap_is_unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1642611

Title:
  Won't play music inside unity8 snap because of unknown application ID

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1642611/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to