#1000508 snapd is not started once it is installed

Package:
snapd
Source:
snapd
Description:
Daemon and tooling that enable snap packages
Submitter:
mando
Date:
2021-11-24 12:00:03 UTC
Severity:
normal
#1000508#5
Date:
2021-11-24 11:57:28 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I tried to install pycharm as it is not available via apt on a debian testing up-to-date.
So I decided to use snap as suggested here: https://snapcraft.io/install/pycharm-community/debian

I ran as root:

  apt install snapd
  snap install install pycharm-community

I got the following error:

  error: cannot communicate with server: Post "http://localhost/v2/snaps/pycharm-community": dial unix /run/snapd.socket: connect: connection refused

This is because snapd is not running once it is installed.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I ran as root:

  systemctl start snapd

   * What was the outcome of this action?

I was able to successfully use snap, e.g.:

  snap install install pycharm-community

   * What outcome did you expect instead?

It would be nice to run snapd once it is installed as for any usual service (like apache2, sshd, ...).

Thanks,
Best regards
mando