So Skype for Linux isn't updated anymore other than its Snap version. So I tried to install that by following the instructions here:

  https://wiki.gentoo.org/wiki/Snap

As well as here for AppArmor:


https://wiki.gentoo.org/wiki/Security_Handbook/Linux_Security_Modules/AppArmor

After I did everything and emerged snapd with +apparmor -forced-devmode, the snapd system service fails to start, and the log says:

====================
systemd[1]: Starting Snap Daemon...
snapd[1781]: panic: USE=forced-devmode is disabled
snapd[1781]: goroutine 1 [running]:
snapd[1781]: github.com/snapcore/snapd/sandbox.ForceDevMode()
snapd[1781]:     github.com/snapcore/snapd/sandbox/forcedevmode.go:40 +0x59
snapd[1781]: github.com/snapcore/snapd/snapdenv.SetUserAgentFromVersion({0x56276eefc947, 0x4}, 0x56276f335708, {0x0, 0x0, 0x0})
snapd[1781]:     github.com/snapcore/snapd/snapdenv/useragent.go:41 +0xec
snapd[1781]: main.run(0xc000287740)
snapd[1781]:     github.com/snapcore/snapd/cmd/snapd/main.go:108 +0x85
snapd[1781]: main.main()
snapd[1781]:     github.com/snapcore/snapd/cmd/snapd/main.go:60 +0xd3
systemd[1]: snapd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
systemd[1]: snapd.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Snap Daemon.
systemd[1]: snapd.service: Triggering OnFailure= dependencies.
systemd[1]: Starting Failure handling of the snapd snap...
systemd[1]: snapd.failure.service: Deactivated successfully.
systemd[1]: Finished Failure handling of the snapd snap.
====================

I have not tried with +forced-devmode because I just don't want to do that if I can avoid it. Is it a hard requirement?


Reply via email to