Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49521 closed defect (fixed)

policykit does not create user polkitd, referenced by config file

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: policykit

Description

policykit's installed config references user "polkitd" but the Portfile creates user "polkituser"

~/src/macports/dports/security/policykit $ cat /opt/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <policy user="polkitd">
    <allow own="org.freedesktop.PolicyKit1"/>
  </policy>

  <policy context="default">
    <allow send_destination="org.freedesktop.PolicyKit1"/>
  </policy>

  <!-- Allow uid 0 to send messages on the org.freedesktop.PolicyKit1.AuthenticationAgent interface -->
  <policy user="polkitd">
    <allow send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
  </policy>

</busconfig>

~/src/macports/dports/security/policykit $ grep users Portfile 
add_users           polkituser group=polkituser realname=Policy\ Kit

Change History (1)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Now creates user polkitd to match default polkitd owner, r142699. Thanks for pointing out this inconsistency.

Last edited 9 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.