snap/kodi:apparmor blocks dvd












0















Would be nice to use dvd in the kodi-snap in the cosmic's software-center, but it somehow seems to be blocked by apparmor:



audit[10035]: AVC apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(1551807964.170:48): apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000


Any ideas?










share|improve this question























  • I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

    – Ryan J. Yoder
    9 hours ago











  • You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

    – cmak.fr
    9 hours ago











  • You could ask here - forum.snapcraft.io/c/snap

    – doug
    9 hours ago






  • 1





    Possible duplicate of How to get access to USB-storage from the application installed as Snap?

    – N0rbert
    7 hours ago
















0















Would be nice to use dvd in the kodi-snap in the cosmic's software-center, but it somehow seems to be blocked by apparmor:



audit[10035]: AVC apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(1551807964.170:48): apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000


Any ideas?










share|improve this question























  • I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

    – Ryan J. Yoder
    9 hours ago











  • You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

    – cmak.fr
    9 hours ago











  • You could ask here - forum.snapcraft.io/c/snap

    – doug
    9 hours ago






  • 1





    Possible duplicate of How to get access to USB-storage from the application installed as Snap?

    – N0rbert
    7 hours ago














0












0








0








Would be nice to use dvd in the kodi-snap in the cosmic's software-center, but it somehow seems to be blocked by apparmor:



audit[10035]: AVC apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(1551807964.170:48): apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000


Any ideas?










share|improve this question














Would be nice to use dvd in the kodi-snap in the cosmic's software-center, but it somehow seems to be blocked by apparmor:



audit[10035]: AVC apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(1551807964.170:48): apparmor="DENIED" operation="open" profile="snap.kodi.kodi" name="/var/lib/snapd/hostfs/media/jarosch/SOME_NICE_FILM/" pid=10035 comm="kodi.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000


Any ideas?







snap apparmor kodi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 9 hours ago









MitschMitsch

112




112













  • I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

    – Ryan J. Yoder
    9 hours ago











  • You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

    – cmak.fr
    9 hours ago











  • You could ask here - forum.snapcraft.io/c/snap

    – doug
    9 hours ago






  • 1





    Possible duplicate of How to get access to USB-storage from the application installed as Snap?

    – N0rbert
    7 hours ago



















  • I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

    – Ryan J. Yoder
    9 hours ago











  • You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

    – cmak.fr
    9 hours ago











  • You could ask here - forum.snapcraft.io/c/snap

    – doug
    9 hours ago






  • 1





    Possible duplicate of How to get access to USB-storage from the application installed as Snap?

    – N0rbert
    7 hours ago

















I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

– Ryan J. Yoder
9 hours ago





I'm not familiar with the kodi-snap, but have you made sure all its interfaces are connected?

– Ryan J. Yoder
9 hours ago













You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

– cmak.fr
9 hours ago





You will find the apparmor policy definitions in /etc/apparmor.d/ - If you want to fight with it, you can try to tune the policies defined in a file named like 'snap.kodi.kodi' - My prefered option : remove the snap package of kodi and install it from repository with apt.

– cmak.fr
9 hours ago













You could ask here - forum.snapcraft.io/c/snap

– doug
9 hours ago





You could ask here - forum.snapcraft.io/c/snap

– doug
9 hours ago




1




1





Possible duplicate of How to get access to USB-storage from the application installed as Snap?

– N0rbert
7 hours ago





Possible duplicate of How to get access to USB-storage from the application installed as Snap?

– N0rbert
7 hours ago










1 Answer
1






active

oldest

votes


















0














Try connecting the removable-media interface.



$ snap connect kodi:removable-media


The optical-drive interface should be auto-connect and I believe it's declared for kodi. The removable-media interface on the other hand is not auto-connect. It's possible your system is not recognizing /media/jarosch/ as an optical-drive.






share|improve this answer
























  • Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

    – Mitsch
    7 hours ago











  • snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

    – Ryan J. Yoder
    7 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123268%2fsnap-kodiapparmor-blocks-dvd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Try connecting the removable-media interface.



$ snap connect kodi:removable-media


The optical-drive interface should be auto-connect and I believe it's declared for kodi. The removable-media interface on the other hand is not auto-connect. It's possible your system is not recognizing /media/jarosch/ as an optical-drive.






share|improve this answer
























  • Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

    – Mitsch
    7 hours ago











  • snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

    – Ryan J. Yoder
    7 hours ago
















0














Try connecting the removable-media interface.



$ snap connect kodi:removable-media


The optical-drive interface should be auto-connect and I believe it's declared for kodi. The removable-media interface on the other hand is not auto-connect. It's possible your system is not recognizing /media/jarosch/ as an optical-drive.






share|improve this answer
























  • Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

    – Mitsch
    7 hours ago











  • snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

    – Ryan J. Yoder
    7 hours ago














0












0








0







Try connecting the removable-media interface.



$ snap connect kodi:removable-media


The optical-drive interface should be auto-connect and I believe it's declared for kodi. The removable-media interface on the other hand is not auto-connect. It's possible your system is not recognizing /media/jarosch/ as an optical-drive.






share|improve this answer













Try connecting the removable-media interface.



$ snap connect kodi:removable-media


The optical-drive interface should be auto-connect and I believe it's declared for kodi. The removable-media interface on the other hand is not auto-connect. It's possible your system is not recognizing /media/jarosch/ as an optical-drive.







share|improve this answer












share|improve this answer



share|improve this answer










answered 9 hours ago









Ryan J. YoderRyan J. Yoder

765




765













  • Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

    – Mitsch
    7 hours ago











  • snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

    – Ryan J. Yoder
    7 hours ago



















  • Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

    – Mitsch
    7 hours ago











  • snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

    – Ryan J. Yoder
    7 hours ago

















Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

– Mitsch
7 hours ago





Unfortunately, the snap command you posted didn't change anything. I'm - by the way - not familiar with snap at all and don't know how to check if the interfaces are connected. While it's getting complicated, I'd rather use VLC for DVDs and hope the best that disco will fix it all… Just less than two months to go…

– Mitsch
7 hours ago













snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

– Ryan J. Yoder
7 hours ago





snap interfaces kodi should display all the interfaces the snap needs and if any are unplugged.

– Ryan J. Yoder
7 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123268%2fsnap-kodiapparmor-blocks-dvd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection