Closed Bug 1934713 Opened 3 months ago Closed 26 days ago

Firefox snap AppArmor denial on /etc/fstab when using file chooser dialog

Categories

(Firefox Build System :: Third Party Packaging, defect)

Firefox 133
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alex.murray, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0

Steps to reproduce:

Using the firefox snap version 133.0-2 (revision 5361) from the latest/stable/ubuntu-24.10 track, when using the file chooser dialog (Ctrl-O) the following denial message is seen in dmesg / journalctl -k

Dec 03 09:12:32 graphene kernel: audit: type=1400 audit(1733179352.920:1320): apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" name="/etc/fstab" pid=15197 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

This can be resolved by adding the mount-observe plug to the snapcraft.yaml

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Third Party Packaging' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Third Party Packaging
Product: Firefox → Firefox Build System

It was merged

Status: UNCONFIRMED → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Blocks: snap-sandbox
You need to log in before you can comment on or make changes to this bug.