~ubuntu-branches/debian/jessie/systemd/jessie

« back to all changes in this revision

Viewing changes to src/timedate/org.freedesktop.timedate1.policy.in

  • Committer: Package Import Robot
  • Author(s): Tollef Fog Heen, Tollef Fog Heen, Michael Biebl
  • Date: 2012-04-03 19:59:17 UTC
  • mfrom: (1.1.10) (6.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120403195917-l532urrbg4pkreas
Tags: 44-1
[ Tollef Fog Heen ]
* New upstream version.
  - Backport 3492207: journal: PAGE_SIZE is not known on ppc and other
    archs
  - Backport 5a2a2a1: journal: react with immediate rotation to a couple
    of more errors
  - Backport 693ce21: util: never follow symlinks in rm_rf_children()
    Fixes CVE-2012-1174, closes: #664364
* Drop output message from init-functions hook, it's pointless.
* Only rmdir /lib/init/rw if it exists.
* Explicitly order debian-fixup before sysinit.target to prevent a
  possible race condition with the creation of sockets.  Thanks to
  Michael Biebl for debugging this.
* Always restart the initctl socket on upgrades, to mask sysvinit
  removing it.

[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
* Create compat /dev/initctl symlink in case we are upgrading from a system
  running a newer version of sysvinit (using /run/initctl) and sysvinit is
  replaced with systemd-sysv during the upgrade. Closes: #663219
* Install new man pages.
* Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
 
2
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 
3
        "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
 
4
 
 
5
<!--
 
6
  This file is part of systemd.
 
7
 
 
8
  systemd is free software; you can redistribute it and/or modify it
 
9
  under the terms of the GNU General Public License as published by
 
10
  the Free Software Foundation; either version 2 of the License, or
 
11
  (at your option) any later version.
 
12
-->
 
13
 
 
14
<policyconfig>
 
15
 
 
16
        <vendor>The systemd Project</vendor>
 
17
        <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
 
18
 
 
19
        <action id="org.freedesktop.timedate1.set-time">
 
20
                <_description>Set system time</_description>
 
21
                <_message>Authentication is required to set the system time.</_message>
 
22
                <defaults>
 
23
                        <allow_any>auth_admin_keep</allow_any>
 
24
                        <allow_inactive>auth_admin_keep</allow_inactive>
 
25
                        <allow_active>auth_admin_keep</allow_active>
 
26
                </defaults>
 
27
        </action>
 
28
 
 
29
        <action id="org.freedesktop.timedate1.set-timezone">
 
30
                <_description>Set system timezone</_description>
 
31
                <_message>Authentication is required to set the system timezone.</_message>
 
32
                <defaults>
 
33
                        <allow_any>auth_admin_keep</allow_any>
 
34
                        <allow_inactive>auth_admin_keep</allow_inactive>
 
35
                        <allow_active>auth_admin_keep</allow_active>
 
36
                </defaults>
 
37
        </action>
 
38
 
 
39
        <action id="org.freedesktop.timedate1.set-local-rtc">
 
40
                <_description>Set RTC to local timezone or UTC</_description>
 
41
                <_message>Authentication is required to control whether
 
42
                the RTC stores the local or UTC time.</_message>
 
43
                <defaults>
 
44
                        <allow_any>auth_admin_keep</allow_any>
 
45
                        <allow_inactive>auth_admin_keep</allow_inactive>
 
46
                        <allow_active>auth_admin_keep</allow_active>
 
47
                </defaults>
 
48
        </action>
 
49
 
 
50
        <action id="org.freedesktop.timedate1.set-ntp">
 
51
                <_description>Turn network time synchronization on or off</_description>
 
52
                <_message>Authentication is required to control whether
 
53
                network time synchronization shall be enabled.</_message>
 
54
                <defaults>
 
55
                        <allow_any>auth_admin_keep</allow_any>
 
56
                        <allow_inactive>auth_admin_keep</allow_inactive>
 
57
                        <allow_active>auth_admin_keep</allow_active>
 
58
                </defaults>
 
59
        </action>
 
60
 
 
61
</policyconfig>