Description: Upstream translation fixes Bug-Ubuntu: https://launchpad.net/bugs/1707898 Author: Gunnar Hjalmarsson This is a concatenation of the following upstream commits: * l10n: update POTFILES.in 372771c8d32702f4930ca98a22ec4b27e2f9cfc7 * Gettextize policy files 264d8dcc161e276d31dcde98a088d15cebbebbef * meson: drop double .in suffix for o.fd.systemd1.policy file 70886abbde59a45cfabe0769c0cdb3af1e5f7790 * meson: drop unnecessary "transformation" of policy files 9b3cff199dd3827a9f2df9a7f5874d6ef18880f2 * l10n: Update POTFILES.in and POTFILES.skip d4d4688122a228a90d39ac3bddf29d1bb33d9850 * meson: fix systemd-pot target when polkit-devel is not installed b0faead2501cd539767dc11d098c08f5730224ff (the latest committed on 2018-02-18) diff -Nru a/po/meson.build b/po/meson.build --- a/po/meson.build 2018-02-17 02:20:00.496966855 +0100 +++ b/po/meson.build 2018-02-18 22:44:29.221325978 +0100 @@ -16,6 +16,6 @@ # along with systemd; If not, see . i18n = import('i18n') -i18n.gettext(meson.project_name(), preset: 'glib') - -po_dir = meson.current_source_dir() +i18n.gettext(meson.project_name(), + preset : 'glib', + data_dirs : '.') diff -Nru a/po/POTFILES.in b/po/POTFILES.in --- a/po/POTFILES.in 2018-02-17 02:20:00.492967037 +0100 +++ b/po/POTFILES.in 2018-02-18 22:40:36.158105842 +0100 @@ -1,8 +1,9 @@ -src/core/org.freedesktop.systemd1.policy.in.in -src/hostname/org.freedesktop.hostname1.policy.in -src/import/org.freedesktop.import1.policy.in -src/locale/org.freedesktop.locale1.policy.in -src/login/org.freedesktop.login1.policy.in -src/machine/org.freedesktop.machine1.policy.in -src/timedate/org.freedesktop.timedate1.policy.in +src/core/org.freedesktop.systemd1.policy.in +src/hostname/org.freedesktop.hostname1.policy +src/import/org.freedesktop.import1.policy +src/locale/org.freedesktop.locale1.policy +src/login/org.freedesktop.login1.policy +src/machine/org.freedesktop.machine1.policy +src/resolve/org.freedesktop.resolve1.policy +src/timedate/org.freedesktop.timedate1.policy src/core/dbus-unit.c diff -Nru a/po/POTFILES.skip b/po/POTFILES.skip --- a/po/POTFILES.skip 2018-02-17 02:20:00.492967037 +0100 +++ b/po/POTFILES.skip 2018-02-18 22:40:36.162105508 +0100 @@ -12,9 +12,9 @@ src/core/dbus-timer.c src/core/dbus-unit.c src/core/dbus-scope.c +src/core/org.freedesktop.systemd1.policy src/hostname/hostnamed.c src/locale/localed.c -src/core/org.freedesktop.systemd1.policy.in src/timedate/timedated.c units/user@.service.in units/debug-shell.service.in diff -Nru a/src/core/meson.build b/src/core/meson.build --- a/src/core/meson.build 2018-02-17 02:20:00.556964123 +0100 +++ b/src/core/meson.build 2018-02-18 22:35:03.486244343 +0100 @@ -211,19 +211,12 @@ install_data('org.freedesktop.systemd1.service', install_dir : dbussystemservicedir) -policy_in = configure_file( - input : 'org.freedesktop.systemd1.policy.in.in', - output : 'org.freedesktop.systemd1.policy.in', - configuration : substs) - -i18n.merge_file( - 'org.freedesktop.systemd1.policy', - input : policy_in, +policy = configure_file( + input : 'org.freedesktop.systemd1.policy.in', output : 'org.freedesktop.systemd1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + configuration : substs) +install_data(policy, + install_dir : polkitpolicydir) install_data('system.conf', 'user.conf', diff -Nru a/src/core/org.freedesktop.systemd1.policy.in b/src/core/org.freedesktop.systemd1.policy.in --- a/src/core/org.freedesktop.systemd1.policy.in 1970-01-01 01:00:00.000000000 +0100 +++ b/src/core/org.freedesktop.systemd1.policy.in 2018-02-18 22:35:03.486244343 +0100 @@ -0,0 +1,72 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Send passphrase back to system + Authentication is required to send the entered passphrase back to the system. + + no + no + auth_admin_keep + + @rootlibexecdir@/systemd-reply-password + + + + Manage system services or other units + Authentication is required to manage system services or other units. + + auth_admin + auth_admin + auth_admin_keep + + + + + Manage system service or unit files + Authentication is required to manage system service or unit files. + + auth_admin + auth_admin + auth_admin_keep + + + + + Set or unset system and service manager environment variables + Authentication is required to set or unset system and service manager environment variables. + + auth_admin + auth_admin + auth_admin_keep + + + + + Reload the systemd state + Authentication is required to reload the systemd state. + + auth_admin + auth_admin + auth_admin_keep + + + + diff -Nru a/src/core/org.freedesktop.systemd1.policy.in.in b/src/core/org.freedesktop.systemd1.policy.in.in --- a/src/core/org.freedesktop.systemd1.policy.in.in 2018-02-17 02:20:00.556964123 +0100 +++ b/src/core/org.freedesktop.systemd1.policy.in.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,72 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Send passphrase back to system - Authentication is required to send the entered passphrase back to the system. - - no - no - auth_admin_keep - - @rootlibexecdir@/systemd-reply-password - - - - Manage system services or other units - Authentication is required to manage system services or other units. - - auth_admin - auth_admin - auth_admin_keep - - - - - Manage system service or unit files - Authentication is required to manage system service or unit files. - - auth_admin - auth_admin - auth_admin_keep - - - - - Set or unset system and service manager environment variables - Authentication is required to set or unset system and service manager environment variables. - - auth_admin - auth_admin - auth_admin_keep - - - - - Reload the systemd state - Authentication is required to reload the systemd state. - - auth_admin - auth_admin - auth_admin_keep - - - - diff -Nru a/src/hostname/meson.build b/src/hostname/meson.build --- a/src/hostname/meson.build 2018-02-17 02:20:00.576963213 +0100 +++ b/src/hostname/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -20,13 +20,6 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.hostname1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.hostname1.policy', - input : 'org.freedesktop.hostname1.policy.in', - output : 'org.freedesktop.hostname1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.hostname1.policy', + install_dir : polkitpolicydir) endif diff -Nru a/src/hostname/org.freedesktop.hostname1.policy b/src/hostname/org.freedesktop.hostname1.policy --- a/src/hostname/org.freedesktop.hostname1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/hostname/org.freedesktop.hostname1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,52 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Set host name + Authentication is required to set the local host name. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Set static host name + Authentication is required to set the statically configured local host name, as well as the pretty host name. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.hostname1.set-hostname org.freedesktop.hostname1.set-machine-info + + + + Set machine information + Authentication is required to set local machine information. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff -Nru a/src/hostname/org.freedesktop.hostname1.policy.in b/src/hostname/org.freedesktop.hostname1.policy.in --- a/src/hostname/org.freedesktop.hostname1.policy.in 2018-02-17 02:20:00.576963213 +0100 +++ b/src/hostname/org.freedesktop.hostname1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,52 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set host name - Authentication is required to set the local host name. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set static host name - Authentication is required to set the statically configured local host name, as well as the pretty host name. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.hostname1.set-hostname org.freedesktop.hostname1.set-machine-info - - - - Set machine information - Authentication is required to set local machine information. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff -Nru a/src/import/meson.build b/src/import/meson.build --- a/src/import/meson.build 2018-02-17 02:20:00.576963213 +0100 +++ b/src/import/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -70,15 +70,8 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.import1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.import1.policy', - input : 'org.freedesktop.import1.policy.in', - output : 'org.freedesktop.import1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.import1.policy', + install_dir : polkitpolicydir) install_data('import-pubring.gpg', install_dir : rootlibexecdir) diff -Nru a/src/import/org.freedesktop.import1.policy b/src/import/org.freedesktop.import1.policy --- a/src/import/org.freedesktop.import1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/import/org.freedesktop.import1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,51 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Import a VM or container image + Authentication is required to import a VM or container image + + auth_admin + auth_admin + auth_admin_keep + + + + + Export a VM or container image + Authentication is required to export a VM or container image + + auth_admin + auth_admin + auth_admin_keep + + + + + Download a VM or container image + Authentication is required to download a VM or container image + + auth_admin + auth_admin + auth_admin_keep + + + + diff -Nru a/src/import/org.freedesktop.import1.policy.in b/src/import/org.freedesktop.import1.policy.in --- a/src/import/org.freedesktop.import1.policy.in 2018-02-17 02:20:00.576963213 +0100 +++ b/src/import/org.freedesktop.import1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Import a VM or container image - Authentication is required to import a VM or container image - - auth_admin - auth_admin - auth_admin_keep - - - - - Export a VM or container image - Authentication is required to export a VM or container image - - auth_admin - auth_admin - auth_admin_keep - - - - - Download a VM or container image - Authentication is required to download a VM or container image - - auth_admin - auth_admin - auth_admin_keep - - - - diff -Nru a/src/locale/meson.build b/src/locale/meson.build --- a/src/locale/meson.build 2018-02-17 02:20:00.624961027 +0100 +++ b/src/locale/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -28,15 +28,8 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.locale1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.locale1.policy', - input : 'org.freedesktop.locale1.policy.in', - output : 'org.freedesktop.locale1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.locale1.policy', + install_dir : polkitpolicydir) endif # If you know a way that allows the same variables to be used diff -Nru a/src/locale/org.freedesktop.locale1.policy b/src/locale/org.freedesktop.locale1.policy --- a/src/locale/org.freedesktop.locale1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/locale/org.freedesktop.locale1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,42 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Set system locale + Authentication is required to set the system locale. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.locale1.set-keyboard + + + + Set system keyboard settings + Authentication is required to set the system keyboard settings. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff -Nru a/src/locale/org.freedesktop.locale1.policy.in b/src/locale/org.freedesktop.locale1.policy.in --- a/src/locale/org.freedesktop.locale1.policy.in 2018-02-17 02:20:00.624961027 +0100 +++ b/src/locale/org.freedesktop.locale1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set system locale - Authentication is required to set the system locale. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.locale1.set-keyboard - - - - Set system keyboard settings - Authentication is required to set the system keyboard settings. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff -Nru a/src/login/meson.build b/src/login/meson.build --- a/src/login/meson.build 2018-02-17 02:20:00.632960663 +0100 +++ b/src/login/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -87,15 +87,8 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.login1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.login1.policy', - input : 'org.freedesktop.login1.policy.in', - output : 'org.freedesktop.login1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.login1.policy', + install_dir : polkitpolicydir) install_data('70-power-switch.rules', install_dir : udevrulesdir) diff -Nru a/src/login/org.freedesktop.login1.policy b/src/login/org.freedesktop.login1.policy --- a/src/login/org.freedesktop.login1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/login/org.freedesktop.login1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,360 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Allow applications to inhibit system shutdown + Authentication is required for an application to inhibit system shutdown. + + no + yes + yes + + org.freedesktop.login1.inhibit-delay-shutdown org.freedesktop.login1.inhibit-block-sleep org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle + + + + Allow applications to delay system shutdown + Authentication is required for an application to delay system shutdown. + + yes + yes + yes + + org.freedesktop.login1.inhibit-delay-sleep + + + + Allow applications to inhibit system sleep + Authentication is required for an application to inhibit system sleep. + + no + yes + yes + + org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle + + + + Allow applications to delay system sleep + Authentication is required for an application to delay system sleep. + + yes + yes + yes + + + + + Allow applications to inhibit automatic system suspend + Authentication is required for an application to inhibit automatic system suspend. + + yes + yes + yes + + + + + Allow applications to inhibit system handling of the power key + Authentication is required for an application to inhibit system handling of the power key. + + no + yes + yes + + org.freedesktop.login1.inhibit-handle-suspend-key org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch + + + + Allow applications to inhibit system handling of the suspend key + Authentication is required for an application to inhibit system handling of the suspend key. + + no + yes + yes + + org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch + + + + Allow applications to inhibit system handling of the hibernate key + Authentication is required for an application to inhibit system handling of the hibernate key. + + no + yes + yes + + + + + Allow applications to inhibit system handling of the lid switch + Authentication is required for an application to inhibit system handling of the lid switch. + + no + yes + yes + + + + + Allow non-logged-in user to run programs + Explicit request is required to run programs as a non-logged-in user. + + yes + yes + yes + + + + + Allow non-logged-in users to run programs + Authentication is required to run programs as a non-logged-in user. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Allow attaching devices to seats + Authentication is required for attaching a device to a seat. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.flush-devices + + + + Flush device to seat attachments + Authentication is required for resetting how devices are attached to seats. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Power off the system + Authentication is required for powering off the system. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.set-wall-message + + + + Power off the system while other users are logged in + Authentication is required for powering off the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.power-off + + + + Power off the system while an application asked to inhibit it + Authentication is required for powering off the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.power-off + + + + Reboot the system + Authentication is required for rebooting the system. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.set-wall-message + + + + Reboot the system while other users are logged in + Authentication is required for rebooting the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.reboot + + + + Reboot the system while an application asked to inhibit it + Authentication is required for rebooting the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.reboot + + + + Halt the system + Authentication is required for halting the system. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.set-wall-message + + + + Halt the system while other users are logged in + Authentication is required for halting the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.halt + + + + Halt the system while an application asked to inhibit it + Authentication is required for halting the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.halt + + + + Suspend the system + Authentication is required for suspending the system. + + auth_admin_keep + auth_admin_keep + yes + + + + + Suspend the system while other users are logged in + Authentication is required for suspending the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.suspend + + + + Suspend the system while an application asked to inhibit it + Authentication is required for suspending the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.suspend + + + + Hibernate the system + Authentication is required for hibernating the system. + + auth_admin_keep + auth_admin_keep + yes + + + + + Hibernate the system while other users are logged in + Authentication is required for hibernating the system while other users are logged in. + + auth_admin_keep + auth_admin_keep + yes + + org.freedesktop.login1.hibernate + + + + Hibernate the system while an application asked to inhibit it + Authentication is required for hibernating the system while an application asked to inhibit it. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.login1.hibernate + + + + Manage active sessions, users and seats + Authentication is required for managing active sessions, users and seats. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Lock or unlock active sessions + Authentication is required to lock or unlock active sessions. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Allow indication to the firmware to boot to setup interface + Authentication is required to indicate to the firmware to boot to setup interface. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Set a wall message + Authentication is required to set a wall message + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff -Nru a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in --- a/src/login/org.freedesktop.login1.policy.in 2018-02-17 02:20:00.632960663 +0100 +++ b/src/login/org.freedesktop.login1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,360 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Allow applications to inhibit system shutdown - Authentication is required for an application to inhibit system shutdown. - - no - yes - yes - - org.freedesktop.login1.inhibit-delay-shutdown org.freedesktop.login1.inhibit-block-sleep org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle - - - - Allow applications to delay system shutdown - Authentication is required for an application to delay system shutdown. - - yes - yes - yes - - org.freedesktop.login1.inhibit-delay-sleep - - - - Allow applications to inhibit system sleep - Authentication is required for an application to inhibit system sleep. - - no - yes - yes - - org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle - - - - Allow applications to delay system sleep - Authentication is required for an application to delay system sleep. - - yes - yes - yes - - - - - Allow applications to inhibit automatic system suspend - Authentication is required for an application to inhibit automatic system suspend. - - yes - yes - yes - - - - - Allow applications to inhibit system handling of the power key - Authentication is required for an application to inhibit system handling of the power key. - - no - yes - yes - - org.freedesktop.login1.inhibit-handle-suspend-key org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch - - - - Allow applications to inhibit system handling of the suspend key - Authentication is required for an application to inhibit system handling of the suspend key. - - no - yes - yes - - org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch - - - - Allow applications to inhibit system handling of the hibernate key - Authentication is required for an application to inhibit system handling of the hibernate key. - - no - yes - yes - - - - - Allow applications to inhibit system handling of the lid switch - Authentication is required for an application to inhibit system handling of the lid switch. - - no - yes - yes - - - - - Allow non-logged-in user to run programs - Explicit request is required to run programs as a non-logged-in user. - - yes - yes - yes - - - - - Allow non-logged-in users to run programs - Authentication is required to run programs as a non-logged-in user. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Allow attaching devices to seats - Authentication is required for attaching a device to a seat. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.flush-devices - - - - Flush device to seat attachments - Authentication is required for resetting how devices are attached to seats. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Power off the system - Authentication is required for powering off the system. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.set-wall-message - - - - Power off the system while other users are logged in - Authentication is required for powering off the system while other users are logged in. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.power-off - - - - Power off the system while an application asked to inhibit it - Authentication is required for powering off the system while an application asked to inhibit it. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.power-off - - - - Reboot the system - Authentication is required for rebooting the system. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.set-wall-message - - - - Reboot the system while other users are logged in - Authentication is required for rebooting the system while other users are logged in. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.reboot - - - - Reboot the system while an application asked to inhibit it - Authentication is required for rebooting the system while an application asked to inhibit it. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.reboot - - - - Halt the system - Authentication is required for halting the system. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.set-wall-message - - - - Halt the system while other users are logged in - Authentication is required for halting the system while other users are logged in. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.halt - - - - Halt the system while an application asked to inhibit it - Authentication is required for halting the system while an application asked to inhibit it. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.halt - - - - Suspend the system - Authentication is required for suspending the system. - - auth_admin_keep - auth_admin_keep - yes - - - - - Suspend the system while other users are logged in - Authentication is required for suspending the system while other users are logged in. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.suspend - - - - Suspend the system while an application asked to inhibit it - Authentication is required for suspending the system while an application asked to inhibit it. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.suspend - - - - Hibernate the system - Authentication is required for hibernating the system. - - auth_admin_keep - auth_admin_keep - yes - - - - - Hibernate the system while other users are logged in - Authentication is required for hibernating the system while other users are logged in. - - auth_admin_keep - auth_admin_keep - yes - - org.freedesktop.login1.hibernate - - - - Hibernate the system while an application asked to inhibit it - Authentication is required for hibernating the system while an application asked to inhibit it. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.login1.hibernate - - - - Manage active sessions, users and seats - Authentication is required for managing active sessions, users and seats. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Lock or unlock active sessions - Authentication is required to lock or unlock active sessions. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Allow indication to the firmware to boot to setup interface - Authentication is required to indicate to the firmware to boot to setup interface. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set a wall message - Authentication is required to set a wall message - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff -Nru a/src/machine/meson.build b/src/machine/meson.build --- a/src/machine/meson.build 2018-02-17 02:20:00.636960481 +0100 +++ b/src/machine/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -43,15 +43,8 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.machine1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.machine1.policy', - input : 'org.freedesktop.machine1.policy.in', - output : 'org.freedesktop.machine1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.machine1.policy', + install_dir : polkitpolicydir) endif tests += [ diff -Nru a/src/machine/org.freedesktop.machine1.policy b/src/machine/org.freedesktop.machine1.policy --- a/src/machine/org.freedesktop.machine1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/machine/org.freedesktop.machine1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,104 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Log into a local container + Authentication is required to log into a local container. + + auth_admin + auth_admin + auth_admin_keep + + + + + Log into the local host + Authentication is required to log into the local host. + + auth_admin + auth_admin + yes + + + + + Acquire a shell in a local container + Authentication is required to acquire a shell in a local container. + + auth_admin + auth_admin + auth_admin_keep + + org.freedesktop.login1.login + + + + Acquire a shell on the local host + Authentication is required to acquire a shell on the local host. + + auth_admin + auth_admin + auth_admin_keep + + org.freedesktop.login1.host-login + + + + Acquire a pseudo TTY in a local container + Authentication is required to acquire a pseudo TTY in a local container. + + auth_admin + auth_admin + auth_admin_keep + + + + + Acquire a pseudo TTY on the local host + Authentication is required to acquire a pseudo TTY on the local host. + + auth_admin + auth_admin + auth_admin_keep + + + + + Manage local virtual machines and containers + Authentication is required to manage local virtual machines and containers. + + auth_admin + auth_admin + auth_admin_keep + + org.freedesktop.login1.shell org.freedesktop.login1.login + + + + Manage local virtual machine and container images + Authentication is required to manage local virtual machine and container images. + + auth_admin + auth_admin + auth_admin_keep + + + + diff -Nru a/src/machine/org.freedesktop.machine1.policy.in b/src/machine/org.freedesktop.machine1.policy.in --- a/src/machine/org.freedesktop.machine1.policy.in 2018-02-17 02:20:00.636960481 +0100 +++ b/src/machine/org.freedesktop.machine1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,104 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Log into a local container - Authentication is required to log into a local container. - - auth_admin - auth_admin - auth_admin_keep - - - - - Log into the local host - Authentication is required to log into the local host. - - auth_admin - auth_admin - yes - - - - - Acquire a shell in a local container - Authentication is required to acquire a shell in a local container. - - auth_admin - auth_admin - auth_admin_keep - - org.freedesktop.login1.login - - - - Acquire a shell on the local host - Authentication is required to acquire a shell on the local host. - - auth_admin - auth_admin - auth_admin_keep - - org.freedesktop.login1.host-login - - - - Acquire a pseudo TTY in a local container - Authentication is required to acquire a pseudo TTY in a local container. - - auth_admin - auth_admin - auth_admin_keep - - - - - Acquire a pseudo TTY on the local host - Authentication is required to acquire a pseudo TTY on the local host. - - auth_admin - auth_admin - auth_admin_keep - - - - - Manage local virtual machines and containers - Authentication is required to manage local virtual machines and containers. - - auth_admin - auth_admin - auth_admin_keep - - org.freedesktop.login1.shell org.freedesktop.login1.login - - - - Manage local virtual machine and container images - Authentication is required to manage local virtual machine and container images. - - auth_admin - auth_admin - auth_admin_keep - - - - diff -Nru a/src/resolve/meson.build b/src/resolve/meson.build --- a/src/resolve/meson.build 2018-02-17 02:20:00.656959570 +0100 +++ b/src/resolve/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -154,6 +154,8 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.resolve1.service', install_dir : dbussystemservicedir) + install_data('org.freedesktop.resolve1.policy', + install_dir : polkitpolicydir) resolved_conf = configure_file( input : 'resolved.conf.in', @@ -164,15 +166,6 @@ install_data('resolv.conf', install_dir : rootlibexecdir) - - i18n.merge_file( - 'org.freedesktop.resolve1.policy', - input : 'org.freedesktop.resolve1.policy.in', - output : 'org.freedesktop.resolve1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) endif tests += [ diff -Nru a/src/resolve/org.freedesktop.resolve1.policy b/src/resolve/org.freedesktop.resolve1.policy --- a/src/resolve/org.freedesktop.resolve1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/resolve/org.freedesktop.resolve1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,43 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Register a DNS-SD service + Authentication is required to register a DNS-SD service + + auth_admin + auth_admin + auth_admin_keep + + unix-user:systemd-resolve + + + + Unregister a DNS-SD service + Authentication is required to unregister a DNS-SD service + + auth_admin + auth_admin + auth_admin_keep + + unix-user:systemd-resolve + + + diff -Nru a/src/resolve/org.freedesktop.resolve1.policy.in b/src/resolve/org.freedesktop.resolve1.policy.in --- a/src/resolve/org.freedesktop.resolve1.policy.in 2018-02-17 02:20:00.656959570 +0100 +++ b/src/resolve/org.freedesktop.resolve1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Register a DNS-SD service - Authentication is required to register a DNS-SD service - - auth_admin - auth_admin - auth_admin_keep - - unix-user:systemd-resolve - - - - Unregister a DNS-SD service - Authentication is required to unregister a DNS-SD service - - auth_admin - auth_admin - auth_admin_keep - - unix-user:systemd-resolve - - - diff -Nru a/src/timedate/meson.build b/src/timedate/meson.build --- a/src/timedate/meson.build 2018-02-17 02:20:00.704957385 +0100 +++ b/src/timedate/meson.build 2018-02-18 22:38:28.365807540 +0100 @@ -20,13 +20,6 @@ install_dir : dbuspolicydir) install_data('org.freedesktop.timedate1.service', install_dir : dbussystemservicedir) - - i18n.merge_file( - 'org.freedesktop.timedate1.policy', - input : 'org.freedesktop.timedate1.policy.in', - output : 'org.freedesktop.timedate1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + install_data('org.freedesktop.timedate1.policy', + install_dir : polkitpolicydir) endif diff -Nru a/src/timedate/org.freedesktop.timedate1.policy b/src/timedate/org.freedesktop.timedate1.policy --- a/src/timedate/org.freedesktop.timedate1.policy 1970-01-01 01:00:00.000000000 +0100 +++ b/src/timedate/org.freedesktop.timedate1.policy 2018-02-18 22:38:28.365807540 +0100 @@ -0,0 +1,64 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + Set system time + Authentication is required to set the system time. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-ntp + + + + Set system timezone + Authentication is required to set the system timezone. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Set RTC to local timezone or UTC + Authentication is required to control whether + the RTC stores the local or UTC time. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + Turn network time synchronization on or off + Authentication is required to control whether + network time synchronization shall be enabled. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff -Nru a/src/timedate/org.freedesktop.timedate1.policy.in b/src/timedate/org.freedesktop.timedate1.policy.in --- a/src/timedate/org.freedesktop.timedate1.policy.in 2018-02-17 02:20:00.704957385 +0100 +++ b/src/timedate/org.freedesktop.timedate1.policy.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,64 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set system time - Authentication is required to set the system time. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-ntp - - - - Set system timezone - Authentication is required to set the system timezone. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set RTC to local timezone or UTC - Authentication is required to control whether - the RTC stores the local or UTC time. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Turn network time synchronization on or off - Authentication is required to control whether - network time synchronization shall be enabled. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - -