FEDORA-2017-37a7331620

newpackage update in Fedora 25 for snapd and snapd-glib

Status: stable 9 months ago

snapd 2.23.6 and snapd-glib 1.10 introduce support for using Snaps in Fedora.

snapd provides the Snappy system functionality, while snapd-glib enables various applications to interact and integrate with snapd.

See https://snapcraft.io/ for more information on Snappy.

Comments 27

This update has been submitted for testing by ngompa.

ngompa edited this update.

ngompa edited this update.

New build(s):

  • snapd-2.23.6-2.fc25

Removed build(s):

  • snapd-2.23.6-1.fc25

This update has been pushed to testing.

ngompa edited this update.

ngompa edited this update.

New build(s):

  • snapd-2.23.6-3.fc25

Removed build(s):

  • snapd-2.23.6-2.fc25

This update has been submitted for testing by ngompa.

This update has been pushed to testing.

Tested this package on a clean Fedora 25 install. Everything looks fine and works well so far. However the rpmlint/rpmgrill errors is something we need to look into.

After some testing snapd works still fine for me. No big issues blocking this update spotted.

karma: +1 #1390616: +1 #1367825: +1 #1421274: +1

Upon installation the snapd.socket was not started. Something is not right with the preset handling.

[zyga@localhost ~]$ systemctl status snapd.socket | cat                         
● snapd.socket - Socket activation for snappy daemon                            
   Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; vendor preset:
 enabled)                                                                       
   Active: inactive (dead)                                                      
   Listen: /run/snapd.socket (Stream)                                           
           /run/snapd-snap.socket (Stream)                                      

So this part was OK but the socket is inactive (dead) any ideas why?

I started the socket manually, installed hello-world. It has installed correctly although the formatting of the progress bar is incorrect. I suspect we are using an older version of the progress bar package.

Aha, may I notice that this was on a server variant, not sure if this is relevant.

I installed python0 which is a snap using classic confinement but those obviously don't run. I think that for as long as we don't have an answer for that we should fail in the daemon and return an error message with a link to a tracking bug.

I'm giving my +1 comment despite the remarks above as this is a big improvement and we can iterate on specific issues.

karma: +1 #1367825: +1 #1421274: +1

ngompa edited this update.

New build(s):

  • snapd-2.23.6-4.fc25
  • snapd-glib-1.10-1.fc25

Removed build(s):

  • snapd-glib-1.9-2.fc25
  • snapd-2.23.6-3.fc25

This update has been submitted for testing by ngompa.

This update has been pushed to testing.

Tested latest version again and works fine for me.

karma: +1 #1390616: +1 #1367825: +1 #1421274: +1 #1438790: +1

I just tested this on F25 and it worked great out of the box :-) Thanks

karma: +1 #1390616: +1 #1367825: +1 #1421274: +1 #1438790: +1

This update has been submitted for stable by bodhi.

I tried snapd on F25 on Linode and see that it works straight. I see that snaps are installed in /var/lib/snapd/snap and the path variable in the shell is not set automatically, so I am unable to call the apps/binaries exposed in the snap. Instead, I need to refer to the absolute path-

[root@li421-251 ~]# ll /var/lib/snapd/snap/bin/
total 0
lrwxrwxrwx 1 root root 13 Apr  7 22:51 hello-world -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 Apr  7 22:51 hello-world.env -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 Apr  7 22:51 hello-world.evil -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 Apr  7 22:51 hello-world.sh -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 Apr  7 22:54 httpstat -> /usr/bin/snap

[root@li421-251 ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

[root@li421-251 ~]# hello-world
-bash: hello-world: command not found
[root@li421-251 ~]# /var/lib/snapd/snap/bin/hello-world
Hello World!

For reference-

[root@li421-251 ~]# snap --version
snap    2.23.6-4.fc25
snapd   2.23.6-4.fc25
series  16
fedora  25

kernel 4.9.7-x86_64-linode80

The path is loaded via a profile.d snippet, so the path change takes effect on next logon. There's not much that can be done about that, unfortunately.

Thanks for the update @ngompa!

This update has been pushed to stable.


Add Comment & Feedback
Toggle Preview

Comment fields support Fedora-Flavored Markdown.

-1 0 +1 Feedback Guidelines
#1390616 Review Request: snapd-glib - Library providing a GLib interface to snapd
#1367825 Review Request: snapd - The snapd and snap tools enable systems to work with .snap files
#1421274 Is this ever going to be built?
#1438790 snapd-glib-1.10 is available
Is the update generally functional?
Content Type
RPM
Status
stable
Submitted by
Update Type
newpackage
Karma
+3
stable threshold: 3
unstable threshold: -3
Autopush
Enabled
Dates
submitted 10 months ago
in testing 9 months ago
in stable 9 months ago
modified 9 months ago

Related Bugs 4

0+3 #1390616 Review Request: snapd-glib - Library providing a GLib interface to snapd
0+3 #1367825 Review Request: snapd - The snapd and snap tools enable systems to work with .snap files
0+3 #1421274 Is this ever going to be built?
0+3 #1438790 snapd-glib-1.10 is available

Automated Test Results