One of my users had requested obsidian to be installed in our ubuntu jammy kasm workspace.
Previously, I’ve been installing 1.8.9 in the jammy workspace, and it worked correctly after I updated the desktop file’s Exec with the “–no-sandbox”
I’m testing ubuntu noble (24.04) and i’m seeing an error with the pkg install, with both 1.8.9 and 1.8.10.
I’ve unrolled the package (dpkg-deb -R obisidian.deb) and did some debugging.
What I’ve found out is that the postinst script fails at this command:
apparmor_parser --subdomainfs --replace --write-cache --skip-read-cache /etc/apparmor.d/obsidian
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
This is inside a kasm docker workspace, and I’m rather new to admin’ing ubuntu, so this change of behavior between jammy and noble was a bit troublesome, with the comments trying to support the 22.04 and it breaks on 24.04.
Thanks,
Ben
I added a test condition that will fail so this code segment will always fail, and then the pkg will install without errors.