Public bug reported:

I noticed the following from snappy-debug,

= AppArmor =
Time: 2025-10-15T19:0
Log: apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" 
member="GetAll" mask="send" name=":1.302" pid=19390 
label="snap.firefox.firefox" peer_pid=19494 peer_label="unconfined"
DBus access
Suggestion:
* try adding one of 'time-control, timeserver-control, timezone-control' to 
'plugs'

I think it's quite important for some APIs in the browser to be able to
get timezone information, although I haven't noticed any breaking due to
it.

Adding

dbus (send)
    bus=system
    path=/org/freedesktop/timedate1
    interface=org.freedesktop.DBus.Properties
    member=Get{,All},

to the /var/lib/snapd/apparmor/profiles/snap.firefox.firefox profile
fixes the denial.

I was hesitant to propose adding any of the suggested plugs to the
Firefox snap, since they allow setting the time / date in addition to
reading it, so thought I'd ask here for guidance first.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2127943

Title:
  GetAll org/freedesktop/timedate1 denied by AppArmor

Status in firefox package in Ubuntu:
  New

Bug description:
  I noticed the following from snappy-debug,

  = AppArmor =
  Time: 2025-10-15T19:0
  Log: apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" 
member="GetAll" mask="send" name=":1.302" pid=19390 
label="snap.firefox.firefox" peer_pid=19494 peer_label="unconfined"
  DBus access
  Suggestion:
  * try adding one of 'time-control, timeserver-control, timezone-control' to 
'plugs'

  I think it's quite important for some APIs in the browser to be able
  to get timezone information, although I haven't noticed any breaking
  due to it.

  Adding

  dbus (send)
      bus=system
      path=/org/freedesktop/timedate1
      interface=org.freedesktop.DBus.Properties
      member=Get{,All},

  to the /var/lib/snapd/apparmor/profiles/snap.firefox.firefox profile
  fixes the denial.

  I was hesitant to propose adding any of the suggested plugs to the
  Firefox snap, since they allow setting the time / date in addition to
  reading it, so thought I'd ask here for guidance first.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2127943/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to