Closed zefanja closed 4 years ago
Hm, interesting. Well, not interesting, bullshit coding of the snap-developers as far as I followed the link. Thanks for the input and the fix/workaround. I think we need to test this before merging - does it work for you?
I think we need to test this before merging - does it work for you?
Yes, it does.
Ok, we are still in an early phase, but a change like this needs to be brought to attention. People are probably building scripts depending on /home/cache and the documentation needs to be fixed here: https://github.com/linuxmuster/linuxmuster-client-adsso/wiki maybe, I guess. Anyway. I will add this for the next release.
There are several problem with the current approach regarding snap packages. This is a deeper problem.
Issue can be solved by:
#sudo dpkg-reconfigure apparmor
In the ncurse input box write down the path to the domainuser-homes:
/home/cache/
Thats's it. All snaps installed by the template user will be available for the domainusers.
If you want to use snap apps in Ubuntu (like Chromium and other) they don't work when you are logged in as a domain user. This is because snap expects the home to be in
/home/user
and not in a subdirectory (likelinuxmuster-adsso-setup
sets it up →/home/cache/user
). More infos here: https://forum.snapcraft.io/t/how-can-i-use-snap-when-i-dont-use-home-user/3352Is there a critical reason why all domain user homes are in
/home/cache/
? A workaround would be to changeoverride_homedir
to something like/home/%d_%u
insssd.conf
.