certain services fail to start after removing snapd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 16.04.6 LTS
Release: 16.04
snapd version: 2.40 from the xenial-updates repo
After running `apt-get remove snapd`, some services like apparmor and snappy-installed services fail to start up in systemd. apparmor fails because the /etc/apparmor.
As far as the snappy-installed services, looking at the snap.amazon-
Admittedly I'm not very familiar with packaging, but it seems to me like the ideal case would be to not leave any service failures lingering after uninstalling the package. For the former case, that would require removing the apparmor profile. For the latter, that means removing all snaps before removing the snap package. Are these reasonable goals? My instinct tells me if someone is removing snapd then they won't be using snaps at all.
I am aware that the apparmor issue can be resolved by running `apt-get purge snapd`, but I believe the remove command should still avoid leaving services broken, especially since abstracted package handlers like ansible's package module may not use the purge command.
Changed in snapd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in snapd (Ubuntu): | |
status: | New → Triaged |