Bug 1546896

Summary: Snaps using classical confinement
Product: [Fedora] Fedora Reporter: rcmin17
Component: snapdAssignee: Neal Gompa <ngompa13>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 27CC: gfdsa, me, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-20 01:30:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rcmin17 2018-02-19 23:20:00 UTC
Description of problem: Unabled to install snap packages using the classic confinement feature using snapd-2.30-1, even as the Github pull request and Launchpad bug threads both claim that it solves the problem.


Version-Release number of selected component (if applicable): 2.30-1


How reproducible: Completely.


Steps to Reproduce:
1. Install Fedora-LXDE-Live-x86_64-27-1.6.iso
2. sudo dnf install snapd.
3. rpm -q snapd; rpm -q snap-confine
4. sudo snap install --classic anbox-installer && anbox-installer


Actual results:

error: cannot install "anbox-installer": classic confinement requires snaps under /snap or symlink
       from /snap to /var/lib/snapd/snap


Expected results:

Per https://bugs.launchpad.net/snapd/+bug/1736939 and https://github.com/snapcore/snapd/pull/4432, success in installing Anbox.

Additional info:

I'm frustrated.

Comment 1 Neal Gompa 2018-02-20 01:30:44 UTC
1) Anbox will not function without kernel modules built for the Fedora kernel. There's an associated bug for required kernel enablement (bug 1455411).


2) /snap is against FHS, and has been previously rejected by FESCo. See https://pagure.io/fesco/issue/1614 for details.

Comment 2 rcmin17 2018-02-20 03:24:07 UTC
(In reply to Neal Gompa from comment #1)
> 1) Anbox will not function without kernel modules built for the Fedora
> kernel. There's an associated bug for required kernel enablement (bug
> 1455411).

I'll have to read about this.

> 
> 
> 2) /snap is against FHS, and has been previously rejected by FESCo. See
> https://pagure.io/fesco/issue/1614 for details.

Having read the thread, I must say that I agree with this and that it appears to be part of a long pattern of obnoxious behavior on the part of Canonical. That said, I'm sad, because I need to use Android apps on my workstation, and don't want to abandon Fedora! Maybe we could have a temporary, interim compromise?

Comment 3 rcmin17 2018-02-20 03:29:08 UTC
(In reply to Neal Gompa from comment #1)
> 1) Anbox will not function without kernel modules built for the Fedora
> kernel. There's an associated bug for required kernel enablement (bug
> 1455411).

Having read #1455411, it is an entirely worthwhile thread to read for anyone interested in this issue. :)