-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
AppArmor Breaking Flatpak Updates without Error #614
Comments
Can you also provide the result of |
Those are the results, there is absolutely nothing except a new line. That's why I'm confused :/ |
ok, that was to be sure: in some configuration systemd does not collect auditd. I have just tested it. I found no issues on my side. Are you sure the problem is because of the apparmor profiles? |
I'm not really sure, there is no way I found for now to tell for sure. The only thing I know is I set up AppArmor according to the Arch Wiki, installed This is the output for Updating 4/4…
F: flatpak_dir_pull: Using commit ba10c8449b13c9580116b856e0bf1d2b0aad0efdb9836829a26da1811892584b for pull of ref app/org.tenacityaudio.Tenacity/x86_64/stable from remote flathub
F: Preparing transaction in repository 0x56401e7eaf80
F: Pushing lock non-blocking with timeout 300
F: Push lock: state=unlocked, depth=0
F: Locking repo shared
F: Reusing tmpdir staging-0dad615b-fe50-4746-bf07-b1925c637a9d-NjuaVJ
F: starting fetch of delta index delta-indexes/uh/DIRJsTyVgBFrhW4L8dKwqtDv25g2gpom2hgRiSWEs.index
Updating 4/4… 0% 0 bytes/s
F: starting fetch of delta superblock deltas/2Z/5JYBc8py43bCt9x4fpbnlnhBrKVf9mSlEOfhpjO+0-uhDIRJsTyVgBFrhW4L8dKwqtDv25g2gpom2hgRiSWEs/superblock
F: _ostree_fetcher_should_retry_request: error: unset, n_retries_remaining: 5
F: Adding GPG keyring data from flathub.trustedkeys.gpg to verifier
F: GnuPG >= 2.1.17, skipping gpg-agent cleanup in /tmp/ostree-gpg-8MS74B
F: _ostree_fetcher_should_retry_request: error: 196:1 Unable to write detached metadata: linkat: No such file or directory, n_retries_remaining: 5
F: Request caught error: Unable to write detached metadata: linkat: No such file or directory
F: pull: idle, exiting mainloop
F: Aborting transaction in repository 0x56401e7eaf80
F: Popping lock non-blocking with timeout 300
F: Pop lock: state=shared, depth=1
F: Unlocking repo
Error: While pulling app/org.tenacityaudio.Tenacity/x86_64/stable from remote flathub: Unable to write detached metadata: linkat: No such file or directory
Updates complete. |
AppArmor seems to be causing issues, with Flatpak installs/updates. Weirdly enough, I don't see any logs related whatsoever. Neither in
journalctl
nor inaa-log
. It must be AppArmor related, though, sincesudo aa-teardown
gets rid of the error.❯ flatpak update Looking for updates… ID Branch Op Remote Download 1. [✗] com.heroicgameslauncher.hgl stable u flathub 1.0 kB / 215.6 MB Error: While pulling app/com.heroicgameslauncher.hgl/x86_64/stable from remote flathub: Unable to write detached metadata: linkat: No such file or directory Updates complete.
After restarting
apparmor.service
things still work fine, but a reboot breaks them again, so probably not all profiles get fully reloaded without a reboot, which would kinda make sense I guess.I am running both a fully updated AppArmor from the Arch repos and
apparmor.d-git
from the AUR.The text was updated successfully, but these errors were encountered: