-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap installation not compatible with modules #1222
Comments
From time to time I question the value of maintaining a snap installer. Problems:
Snaps are great for accessory applications such as calculators, music players, and the like, but I feel that the snap security model hinders rather than helps when running some development apps. |
Yea, Snap was sold to me as something "maintainance free", but I @anthonyfok (and I and others) have spent countless hours making it ... work. |
Perhaps those hours would be better spent on other things. I have no idea what percentage of total installs are snaps. |
What do you think @anthonyfok ? |
Hi all,
That's a good point, and actually, there are security models to choose from. From https://snapcraft.io/docs/choosing-a-security-model:
I was hesitant in changing the confinement setting from Should I go ahead and start changing confinement from |
For reference. Installation instructions from https://snapcraft.io:
|
Is it possible for people today to use:
If so, we could educate people about that? |
|
I have just submitted a "Request for classic confinement for hugo snap" on the Snapcraft forum at https://forum.snapcraft.io/t/request-for-classic-confinement-for-hugo-snap/19892 as a step forward to switching to classic confinement, though the Snapcraft Team usually discourages the use of classic confinement unless absolutely necessary, and may instead offer helpful advice and workarounds which would solve our problems without switching to classic confinement. We'll see what happens. Everyone reading this, please feel free to join the discussion over there. |
@anthonyfok, the snapcraft team closed your request for classic confinement. They pinged you several times, then gave up. |
So, there are people who have not much to do with Go and Hugo that decide if it's worth having Hugo being "confined" to classic mode? That's some kind of "Peter Parker principle" gone wrong. Like @jmooring said above: Why having a snap Hugo? Is there a flatpack package? Is there an appimage package? The principal of a snap package is that it's able to run in it's own environment. Hugo can't. So why keep trying it "officially"? Someone with time and calm at their hands could maintain an unofficial package? |
My current and temporary workaround is |
This issue was rolled into gohugoio/hugo#9078. |
There have been two (probably three) reports:
This limitation should be documented here:
https://gohugo.io/getting-started/installing/#linux
The text was updated successfully, but these errors were encountered: