Comment 3 for bug 1917348

Revision history for this message
Manfred Thole (tanfred) wrote :

Using LDAP is not necessary to face this issue. The probability that snapd starts before automounts are established is just higher with LDAP. It looks like the start order needs to be enforced.

If

After=autofs.service

is added to [Unit] of /lib/systemd/system/snapd.service users with automounted homes can start snaps. Of course an alternative would be to use Before=snapd.service in /lib/systemd/system/autofs.service. Whatever is more appropriate.

However, this bug is still present in 21.10 where a very prominent application is now by default a snap: firefox
And this issue needs to be sorted out before 22.04 LTS.