Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.69k stars 553 forks source link

Fails to launch on Kubuntu 24.04 (Maybe other ubuntu flavors) #3203

Closed sgerner closed 1 month ago

sgerner commented 1 month ago

Expected

Application launches

Observed

Apparmor error message because application does not have a name

Reproduced

Try to open app

Where did you see the bug

Kubuntu 24.04

Solution

Modified from https://github.com/OrangeDrangon/android-messages-desktop/issues/448

  1. Create a new apparmor profile: sudo touch /etc/apparmor.d/simplenote

  2. Edit the file: sudo nano /etc/apparmor.d/simplenote

  3. Insert the following content into the new file:

    
    # This profile allows everything and only exists to give the
    # application a name instead of having the label "unconfined"

abi <abi/4.0>, include <tunables/global>

profile simplenote "/opt/Simplenote/simplenote" flags=(unconfined) { userns,

Site-specific additions and overrides. See local/README for details.

include if exists <local/simplenote> }



4. Reload apparmor
`sudo systemctl reload apparmor`
codebykat commented 1 month ago

Hi @sgerner, thanks for the report. Which version of the app is this occurring on, and where did you install it from? I'm not sure if this is fixed in the upcoming release candidate or not...

sgerner commented 1 month ago

I apologize for not being more complete and appreciate you following up!

App version is 2.21.0, AMD64. I installed it from the GitHub .deb package found here.

codebykat commented 1 month ago

Thanks! Can you try the upcoming 2.22 version and let me know if the issue exists there too?

sgerner commented 1 month ago

Everything appears to be working with the new beta and update dependencies. Thanks!