Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04: Simplenote 2.22.2 doesn't start #3284

Open
thomas-maeder opened this issue Jan 10, 2025 · 2 comments
Open

Ubuntu 24.04: Simplenote 2.22.2 doesn't start #3284

thomas-maeder opened this issue Jan 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@thomas-maeder
Copy link

I have successfully installed Simplenote-linux-2.22.2-amd64.deb using dpkg.

Expected

  • If I type simplenote in a command prompt, I'd expect the program to start.
  • If I type man simplenote, I'd expect the man page to be displayed
  • If I type simplenote --help, I'd expect a usage information to be displyed.

Observed

  • If I type simplenote or simplenote --help, I get:
    [1656152:0110/093715.959918:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)
    Trace/breakpoint trap (core dumped)

  • If I type man simplenote, I get: No manual entry for simplenote

Where did you see the bug

  • System Make:
  • System Model:
  • OS: Ubuntu
  • OS version: 24.04
  • Browser (if applicable):
  • Browser version (if applicable):
  • Simplenote app version: 2.22.2
@thomas-maeder thomas-maeder added the bug Something isn't working label Jan 10, 2025
@thomas-maeder
Copy link
Author

Might be a problem with apparmor. When I try to start simplenote, I see in dmesg:

kern :notice: [Fri Jan 10 14:03:49] audit: type=1400 audit(1736514229.228:937): apparmor="DENIED" operation="userns_create" class="namespace" info="User namespace creation restricted" error=-13 profile="unconfined" pid=1722862 comm="simplenote" requested="userns_create" denied="userns_create"
kern :info : [Fri Jan 10 14:03:49] traps: simplenote[1722862] trap int3 ip:567bf2e07e9a sp:7fff61e6c130 error:0 in simplenote[567bef170000+837d000]

@thomas-maeder
Copy link
Author

thomas-maeder commented Jan 10, 2025

It was apparmor indeed.

Once I added the following file, simplenote started starting:

$ cat /etc/apparmor.d/opt.Simplenote.simplenote
# 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>
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant