gentoo-snappy
gentoo-snappy copied to clipboard
Remaining service after uninstall of app-emulation/snapd
After uninstall
systemctl list-unit-files | grep -i snap
snap-ubuntu\x2dcore-423.mount
systemctl -all | grep -i snap
snap-ubuntu\x2dcore-423.mount loaded active mounted Mount unit for ubuntu-core ● snapd.socket not-found active running snapd.socket
snap-ubuntu\x2dcore-423.mount remains after reboot
After Install
systemctl -all | grep -i snap
snap-ubuntu\x2dcore-423.mount loaded active mounted Mount unit for ubuntu-core ● snapd.firstboot.service not-found inactive dead snapd.firstboot.service snapd.refresh.service loaded inactive dead Automatically refresh installed snaps snapd.service loaded active running Snappy daemon snapd.socket loaded active running Socket activation for snappy daemon snapd.frameworks-pre.target loaded inactive dead Ready for frameworks snapd.refresh.timer loaded inactive dead Timer to automatically refresh installed snaps
Is snap-ubuntu\x2dcore-423.mount from the snap-confine package, or does it come from installing a snap package (I've been using nitrokey-app)? I didn't see it in the src_install
portion of the snapd package.
The .mount unit is from snapd. Each installed snap is just a mounted filesystem. I think we should either:
- remove everything (all the snaps, their data, etc)
- keep everything as is
The difference is visible when you re-install snapd. After that you can just continue as if nothing had occurred earlier. If we o with 1) we'd have to carefully stop all the snap services (services from installed snaps). Stop snapd, unmount everything and remove all the generated services and mount points.
I will test with manually uninstalling my snaps prior to unmerging
the packages. If that successfully cleans things up, then maybe I'll put a notice (gentoo packaging metadata) to instruct users to do just that (if they want) - or leave them for a future re-install.
Thanks!
Even after uninstalling any snaps, snap-ubuntu\x2dcore-423.mount remains. I think ubuntu-core is installed along with the first snap package, but isn't removed when all snaps are removed. I'd prefer if either unmerging snapd removed everything - or if we could include instructions for the user on how to manually umount, disable services, and clean up the files.
What are your thoughts?
I think it should remove everything. We're still working on features for the next major release but after that I will work on packaging to address this (and many other issues). I will try to get this fixed in time for the snappy sprint next week.