lp:ubuntu/precise/policykit

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/precise/policykit
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

23. By Alexander Sack

rebuild rest of main for armel armv7/thumb2 optimization;
UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2

22. By Martin Pitt

* Merge from debian unstable, remaining changes:
  - ubuntu-admin-group.patch: Change PolicyKit.conf to use 'admin' as
    administrator group, instead of the 'root' user. Also grant all
    permissions to root, since root is not in the admin group and is already
    almighty anyway. This unbreaks running tools like g-s-t as root.
  - polkit-deadlock.patch: Fix deadlock when PAM_TEXT_INFO is used.
    (LP #35437)
* Tag polkit-deadlock.patch.

21. By Iulian Udrea

  * Add debian/patches/polkit-deadlock.patch.
    - Fix deadlock when PAM_TEXT_INFO is used (LP: #354378). Kudos to James
      Westby.

20. By Luke Yelavich

* Merge from debian unstable, remaining changes:
  - debian/patches/04_ubuntu-admin-group.patch: Change PolicyKit.conf to use
    'admin' as administrator group, instead of the 'root' user. Also
    grant all permissions to root, since root is not in the admin group and
    is already almighty anyway. This unbreaks running tools like g-s-t as
    root.
  - debian/policykit.init: Create /var/run/PolicyKit if it does not exist.
    This happens if /var/run is on a tmpfs. Install it in debian/rules.
  - 02_noptrace.patch.disabled: Disable ptrace() and core dumping for
    programs using libpolkit for security reasons; not enabled during
    development.
  - Don't chown /var/run/PolicyKit in the postinst, as /var/run is on a tmpfs,
    and it should be the job of the init script to do this.
  - Use root:polkituser for /var/run/PolicyKit in the init script, as this
    is what the postinst uses. Thanks to Chris Coulson for spotting this.
  - Don't ship /var/run/PolicyKit in the package either, since the init
    script should always handle it per the above.

19. By Bhavani Shankar

* Merge from debian unstable, remaining changes: LP: #314985
  - debian/patches/ubuntu-admin-group.patch: Change PolicyKit.conf to use
    'admin' as administrator group, instead of the 'root' user. Also
    grant all permissions to root, since root is not in the admin group and
    is already almighty anyway. This unbreaks running tools like g-s-t as
    root.
  - debian/policykit.init: Create /var/run/PolicyKit if it does not exist.
    This happens if /var/run is on a tmpfs. Install it in debian/rules.
  - debian/control: Drop policykit-gnome from Recommends: to Suggests: to
    match the Suggests semantics and to avoid pulling in -gnome in
    non-GNOMEish installations.
  - 02_noptrace.patch.disabled: Disable ptrace() and core dumping for
    programs using libpolkit for security reasons; not enabled during
    development.
  - Add debian/patches/03_consolekit0.3-api.patch: Try both the ConsoleKit 0.3
    and the older 0.2 API, to work with either.
  - Don't chown /var/run/PolicyKit in the postinst, as /var/run is on a tmpfs,
    and it should be the job of the init script to do this.
  - Use root:polkituser for /var/run/PolicyKit in the init script, as this
    is what the postinst uses. Thanks to Chris Coulson for spotting this.
  - Don't ship /var/run/PolicyKit in the package either, since the init
    script should always handle it per the above.

18. By Steve Langasek

[ James Westby ]
* Don't chown /var/run/PolicyKit in the postinst, as /var/run is on a tmpfs,
  and it should be the job of the init script to do this. (LP: #275355)
* Use root:polkituser for /var/run/PolicyKit in the init script, as this
  is what the postinst uses. Thanks to Chris Coulson for spotting this.

[ Steve Langasek ]
* Don't ship /var/run/PolicyKit in the package either, since the init
  script should always handle it per the above.

17. By Martin Pitt

Add debian/patches/03_consolekit0.3-api.patch: Try both the ConsoleKit 0.3
and the older 0.2 API, to work with either. (LP: #273711)

16. By Martin Pitt

* Merge from debian unstable. Remaining Ubuntu changes:
  - debian/patches/ubuntu-admin-group.patch: Change PolicyKit.conf to use
    'admin' as administrator group, instead of the 'root' user. Also
    grant all permissions to root, since root is not in the admin group and
    is already almighty anyway. This unbreaks running tools like g-s-t as
    root.
  - debian/policykit.init: Create /var/run/PolicyKit if it does not exist.
    This happens if /var/run is on a tmpfs. Install it in debian/rules.
  - debian/control: Drop policykit-gnome from Recommends: to Suggests: to
    match the Suggests semantics and to avoid pulling in -gnome in
    non-GNOMEish installations.
  - 02_noptrace.patch.disabled: Disable ptrace() and core dumping for
    programs using libpolkit for security reasons; not enabled during
    development.

15. By Michael Casadevall

Changed policykit Recommends policykit-gnome to a Suggests to
which causes packages like landscape-client to install a lot of
unneeded packages (LP: #250619)

14. By James Westby

* Merge from debian unstable (LP: #232227), remaining changes:
  - debian/patches/ubuntu-admin-group.patch: Change PolicyKit.conf to use
    'admin' as administrator group, instead of the 'root' user. Also
    grant all permissions to root, since root is not in the admin group and
    is already almighty anyway. This unbreaks running tools like g-s-t as
    root.
  - debian/policykit.init: Create /var/run/PolicyKit if it does not exist.
    This happens if /var/run is on a tmpfs. Install it in debian/rules.
  - Add Breaks: policykit (<< 0.7) to libpolkit2.
  - debian/policykit.postinst: Drop the dpkg-statoverride and chown
    operations for /var/run/PolicyKit. /var/run is a tmpfs and thus
    volatile, stat overrides do not make sense on it, and it's the init
    script's job to properly set up the directory.
* Disable debian/patches/02_noptrace.patch for now, since it prevents us
  from collecting crash reports for gnome-panel and other PK-using
  applications. This will be re-enabled again just before the intrepid
  release.
* Drop debian/patches/03_readdir_filetype_unknown.patch as it is
  now fixed upstream.
* Drop debian/patches/10_format-string-security.patch as it is now
  fixed upstream.
* debian/policykit.postinst: change the permissions applied to some
  files to match what is now required upstream:
  - /var/lib/PolicyKit - Now owned by polkituser:polkituser and mode 770
  - /var/lib/PolicyKit-public - Now owned by polkituser and mode 755
  - /var/lib/misc/PolicyKit.reload - Now owned by polkituser and mode 755
  - /usr/lib/policykit/polkit-set-default-helper - Now owned by polkituser
    and mode 4755.
  - /usr/lib/policykit/polkit-resolve-exe-helper - Now in group polkituser
    and mode 4755

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/quantal/policykit
This branch contains Public information 
Everyone can see this information.

Subscribers