Originally Posted by
erlkonig
Snap still rejects my NFS-mounted directory because it isn't in the non-standard /home, not that it would matter because big sites can't put all their users in /home period, because that stupid approach doesn't scale. Snap devs have heard about this before, but apparently can't think outside of Mom&Pop companies or something. Back to finding a debian or just compiling Thunderbird and Firefox again. Until they fix this, snaps are a non-starter for many.
And it's stupid to ship an OS with snaps that don't work because a couple of developers can't see outside of their own limited experience. 24.04 is a failure here for this reason, and there are tons of glitches even in the basic UI to add the sadness.
Testify! Enterprises use NFS for home directories across many different platforms/architectures. Expecting them to change just for 1 OS is uncooperative, at best. I see the homedirs option, so perhaps this issue is solved!
A way around the firefox snap problem, if you have it, is to use the Firefox ESR PPA.
I installed Xubuntu 24.04 on Sunday in front of 20 people at my LUG. Within 20 minutes, it locked up 3 times. I accepted all the defaults (next/next/next/....) There's a known bug immediately after install, so it was just 2 unknown times that it locked up. After the last one, we decided 24.04 wasn't ready for use and needed a month or 2 before we'd try again. I have Lubuntu 24.,04 and Ubuntu Server to try still. I'm hopeful. This was my first use of a v6.x kernel. Don't know if that is related or not.
Ok, just tried to install Lubuntu 24.04. The installer locked up about 8% into copying files. To be fair, I did a custom disk layout. I'll try it without a custom layout. Need to go kill the installer now. Trying again with all defaults.... so far, so good. No lockups in the first 10 minutes.
Code:
$ df -Th -x tmpfs
Filesystem Type Size Used Avail Use% Mounted on
/dev/vda1 ext4 25G 6.8G 17G 30% /
I did some standard things post install. Switched to networkd from network manager, purged nano, purged network-manager*, set a static IP, changed the mouse so focus follows it and patched the system. Also setup the sudoers so 3 specific patch commands don't prompt for a password. All that went well. nice and stable.
Launched firefox - which took 7 seconds - and felt harassed by the questions. Had to press "skip" like 5 times just to get to a browser window. Firefox won't let me save downloads to /tmp/ /tmp/ is THE place for downloads. No doubt, a snap problem that the snap team decided wasn't to be allowed.
Just saw the homedirs snap config thing. For small sites, that could be a good solution. For larger sites with 20-150 different storage areas for HOME depending on the username, I have to wonder if there's an arbitrary limit for the number of HOME NFS mounts allowed.
Code:
~$ sudo snap set system homedirs=/home,/u1/h,/export/home
~$ sudo snap get system homedirs
/home,/u1/h,/export/home
I still need to do more testing, but that is a start. homedirs option should work for 24.04, since it has snap 2.62+24.04build1. 22.04 and 20.04 both have snap version 2.62 as well, so it could work. I need to test more. The first complaint about this that I remember seeing the snap team downplay was in 2017. Think they did some things to address NFS issues last year too. Nice.
Now the only real remaining complaint is that locally configured storage needs to be configurable. I want all snaps to have read-write access to /tmp/ and some other NFS locations not under /mnt/ nor /media/. Did I miss those changes too? I'm encouraged, if the HOME directory issue has been solved.
Bookmarks