https://bugs.kde.org/show_bug.cgi?id=515449
Bug ID: 515449
Summary: Discover needs an apparmor rule to update flatpaks
with apply_extra scripts
Classification: Applications
Product: Discover
Version First master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Flatpak Backend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Target Milestone: ---
SUMMARY
STEPS TO REPRODUCE
1. Try to update a flatpak which has apply_extra such as chrome on Neon (I
guess ubuntu as well)
OBSERVED RESULT
An error pops up without further information, if there are N pending updates
there will be N errors
the actual error is
bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted
EXPECTED RESULT
Update should work like when typing flatpak update
ADDITIONAL INFORMATION
I am not sure if software is expected to ship apparmor rules or the distro.
flatpak rule is shipped with apparmor itself
cat /etc/apparmor.d/flatpak
# 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 flatpak /usr/bin/flatpak flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/flatpak>
}
--
You are receiving this mail because:
You are watching all bug changes.