Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Kernel does not Support Snap  (Read 3426 times)

Offline swo

  • User
  • Posts: 25
[EN] Kernel does not Support Snap
« on: 2018/07/19, 09:54:21 »
Hi Guys,
This topic is mainly targeted to towo since he is the "Kernel Brewer".
Well I knew some time ago siduction-kernels supported snap format. But since introduction of 4.17 I think there is a Kernel-Module missing. With standard Debian Kernel i can mount snaps as expected. I dont know why it was removed but if it was just a mistake I think it would be nice if you (towo) would add snap support again.



[Addition] I think it may be removed here:
Code: [Select]
linux-siduction (4.17-7) unstable; urgency=medium
 
  * set ABI to towo.1
  * import patch-4.17.2
  * use kernelconfig from 4.17-rc3
 
 -- Torsten Wohlfarth <towo@siduction.org>  Mon, 18 Jun 2018 15:35:37 +0200

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: Kernel does not Support Snap
« Reply #1 on: 2018/07/19, 10:34:01 »
I really don't know, what you speak about. What should snap be? In kernel, there is no filesystem called snap, so please elaborate what you are meaning exact.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline swo

  • User
  • Posts: 25
Re: Kernel does not Support Snap
« Reply #2 on: 2018/07/19, 15:38:30 »
I mean the snappy package system aka Ubuntu Core Snappy or "snapd"


Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Kernel does not Support Snap
« Reply #3 on: 2018/07/19, 17:18:41 »
snapd works fine with the latest kernel - please be more specific

Only a remark: THIS is not worth an upgrade warning - so i move this thread to software support
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline swo

  • User
  • Posts: 25
Re: Kernel does not Support Snap
« Reply #4 on: 2018/07/19, 17:24:41 »
Yes snap works well with installed packages. But did you try:
Code: [Select]
snap refresh
With Debian Kernel everything works fine but with siduction kernel I get:
Code: [Select]
Fehler: cannot perform the following tasks:
- Mount snap "libreoffice" (71) ([start snap-libreoffice-71.mount] failed with exit status 1: Job for snap-libreoffice-71.mount failed.
See "systemctl status snap-libreoffice-71.mount" and "journalctl -xe" for details.
)
- Mount snap "gtk-common-themes" (319) ([start snap-gtk\x2dcommon\x2dthemes-319.mount] failed with exit status 1: Job for snap-gtk\x2dcommon\x2dthemes-319.mount failed.
See "systemctl status "snap-gtk\\x2dcommon\\x2dthemes-319.mount"" and "journalctl -xe" for details.
)
- Mount snap "gtk-common-themes" (319) ([start snap-gtk\x2dcommon\x2dthemes-319.mount] failed with exit status 1: Job for snap-gtk\x2dcommon\x2dthemes-319.mount failed.
See "systemctl status "snap-gtk\\x2dcommon\\x2dthemes-319.mount"" and "journalctl -xe" for details.
)
- Download snap "gtk-common-themes" (319) from channel "stable" (rename /var/lib/snapd/snaps/gtk-common-themes_319.snap.partial /var/lib/snapd/snaps/gtk-common-themes_319.snap: no such file or directory)
For example
Code: [Select]
systemctl status snap-libreoffice-71.mount
leads to:
Code: [Select]
● snap-libreoffice-71.mount
   Loaded: not-found (Reason: Unit snap-libreoffice-71.mount not found.)
   Active: failed (Result: exit-code) since Thu 2018-07-19 16:33:59 CEST; 49min ago
 
Jul 19 16:33:59 worker-home systemd[1]: Mounting Mount unit for libreoffice, revision 71...
Jul 19 16:33:59 worker-home mount[32047]: mount: /snap/libreoffice/71: mount(2) Systemaufruf ist fehlgeschlagen: Ungültige Adresse.
Jul 19 16:33:59 worker-home systemd[1]: snap-libreoffice-71.mount: Mount process exited, code=exited status=32
Jul 19 16:33:59 worker-home systemd[1]: snap-libreoffice-71.mount: Failed with result 'exit-code'.
Jul 19 16:33:59 worker-home systemd[1]: Failed to mount Mount unit for libreoffice, revision 71.
 


Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Kernel does not Support Snap
« Reply #5 on: 2018/07/19, 17:59:21 »
I don't know how others see this - but in my humble opinion we should not care about snap. This have very practical and pragmatic reasons:
* we don't want to support snap and flatpak at the same time
* flatpak works fine
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline swo

  • User
  • Posts: 25
Re: Kernel does not Support Snap
« Reply #6 on: 2018/07/19, 18:03:35 »
At least I don't share your opinion  >:(

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: Kernel does not Support Snap
« Reply #7 on: 2018/07/19, 19:59:18 »
Nothing wrong with variety, even though I clearly prefer flatpak over snap.
Just tried:
Code: [Select]
snap refreshAnswer:
Code: [Select]
Alle Snaps sind aktuellname -a says:
Code: [Select]
Linux siductionbox 4.17.6-towo.1-siduction-amd64 #1 SMP siduction 4.17-16 (2018-07-12) x86_64 GNU/Linux
« Last Edit: 2018/07/19, 20:10:01 by devil »

Offline swo

  • User
  • Posts: 25
Re: Kernel does not Support Snap
« Reply #8 on: 2018/07/19, 20:30:35 »
Sure if yo have no snap installed  ;)
Just try to install one.

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: Kernel does not Support Snap
« Reply #9 on: 2018/07/19, 20:45:39 »
snap install vidcutter
vidcutter  5.5.0 aus »ozmartian« installiert