[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
Augh, sorry, wrong bug. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1:
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
This is the diff between the deb-systemd-invoke from init-system- helpers-1.51, and the one in my previous comment. ** Attachment added: "patch" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1565617/+attachment/5186097/+files/patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36)
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** Tags removed: targetmilestone-inin--- ** Tags added: targetmilestone-inin16041 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** Tags removed: targetmilestone-inin1604 ** Tags added: targetmilestone-inin--- -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** Tags removed: targetmilestone-inin--- ** Tags added: targetmilestone-inin1604 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
This bug was fixed in the package systemd - 229-4ubuntu1 --- systemd (229-4ubuntu1) xenial; urgency=medium * Merge with Debian unstable. Remaining Ubuntu changes: - Hack to support system-image read-only /etc, and modify files in /etc/writable/ instead. Upgrade fixes, keep until 16.04 LTS release: - systemd Conflicts/Replaces/Provides systemd-services. - Remove obsolete systemd-logind upstart job. - Clean up obsolete /etc/udev/rules.d/README. - systemd.postinst: Migrate mountall specific fstab options to standard util-linux "nofail" option. - systemctl: Don't forward telinit u to upstart. This works around upstart's Restart() always reexec'ing /sbin/init on Restart(), even if that changes to point to systemd during the upgrade. This avoids running systemd during a dist-upgrade. (LP: #1430479) - Provide shutdown fallback for upstart. (LP: #1370329) - Break lvm (<< 2.02.133-1ubuntu1) and remove our dummy /etc/init.d/lvm2 on upgrades, as it's shipped by lvm2 now. - Make udev break on mdadm << 3.3-2ubuntu3, as udev's init script dropped the "Provides: raid-mdadm". - Clean up /var/log/udev on upgrade (which is written under upstart, but not under systemd). (LP: #1537211) - Migrate existing s390x network configuration to new names. (LP: #1526808) - systemd.postinst: Bump Version comparison for migrating the UTC setting from /etc/default/rcS to /etc/adjtime, to run it for upgrades to 16.04. - VMWare BIOS reports implausibly high onboard numbers. This got fixed in upstream commit 6c1e69f9. Migrate names in ifupdown accordingly. (LP: #1550539) - udev: Don't kill peer processes if we don't run in a cgroup. This happens when running under/upgrading from upstart. udevd and everything else run in the root hierarchy on all controllers then, and the alleged cleanup of "our" cgroup becomes a system-wide killing spree. (LP: #1555237) systemd (229-4) unstable; urgency=medium * Fix assertion crash when processing a (broken) device without a sysfs path. (Closes: #819290, LP: #1560695) * Fix crash when shutdown is issued from a non-tty. (LP: #1553040) * networkd: Stay running while any non-loopback interface is up. (Closes: #819414) * Fix reading uint32 D-Bus properties on big-endian. * Fix crash if an udev device has many tags or devlinks. (LP: #1564976) * systemctl, loginctl, etc.: Don't start polkit agent when running as root. (LP: #1565617) * keymap: Add Add HP ZBook (LP: #1535219) and HP ProBook 440 G3. * systemd.resource-control.5: Fix links to cgroup documentation on kernel.org. (Closes: #819970) * Install test-udev into libudev-dev, so that we have it available for autopkgtests. * Add "udev" autopkgtest for running the upstream test/udev-test.pl. -- Martin PittThu, 07 Apr 2016 09:53:25 +0200 ** Changed in: systemd (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Released Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3)
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** No longer affects: init-system-helpers (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in systemd package in Ubuntu: Fix Committed Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
I landed the fix upstream (https://github.com/systemd/systemd/commit/89d03482207) and pulled it into our packaging git. ** Changed in: systemd (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Won't Fix Status in systemd package in Ubuntu: Fix Committed Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked.
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
Let's fix this in systemctl proper, as per upstream discussion: https://github.com/systemd/systemd/issues/2748 ** Changed in: init-system-helpers (Ubuntu) Status: Triaged => Won't Fix ** Changed in: init-system-helpers (Ubuntu) Assignee: Martin Pitt (pitti) => (unassigned) ** Changed in: systemd (Ubuntu) Milestone: None => ubuntu-16.04 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Won't Fix Status in systemd package in Ubuntu: In Progress Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority:
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
Started an upstream discussion about an alternative approach: https://lists.freedesktop.org/archives/systemd- devel/2016-April/036135.html ** Changed in: systemd (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Triaged Status in systemd package in Ubuntu: In Progress Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked.
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Triaged Status in systemd package in Ubuntu: Triaged Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error initializing authority: Error calling
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
Corresponding patch for the systemd package. ** Patch added: "proposed systemd patch" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1565617/+attachment/4622868/+files/0001-Call-systemctl-with-no-ask-password-to-avoid-queryin.patch ** Changed in: systemd (Ubuntu) Status: New => Triaged ** Changed in: systemd (Ubuntu) Importance: Undecided => Low ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Triaged Status in systemd package in Ubuntu: Triaged Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
Thinking about this some more, we don't actually want to query/use polkit when calling systemctl from maintainer scripts. These always run as root, and it's not expected at all that they (potentially) ask interactively for authentication. So we can call systemctl with --no- ask-password to disable querying of polkit which will not only avoid these warnings, but also avoid triggering polkit at all, which robustifies package installation as there are fewer moving parts. This needs to be done in init-system-helpers as well as systemd's package trigger. ** Patch added: "proposed init-system-helpers patch" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1565617/+attachment/4622853/+files/0001-Call-systemctl-with-no-ask-password-to-avoid-queryin.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Triaged Status in systemd package in Ubuntu: Triaged Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for
[Touch-packages] [Bug 1565617] Re: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured
** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1565617 Title: "polkitd.service is masked" warnings on package install while policykit-1 is unpacked but not yet configured Status in init-system-helpers package in Ubuntu: Triaged Status in systemd package in Ubuntu: New Bug description: Problem Description : = Error messages are seen while installing apport package. System details = uname -a : 4.4.0-15-generic Machine : Power 8 apport : Installed: 2.20-0ubuntu3 Candidate: 2.20-0ubuntu3 Steps to reproduce From a small xenial installation, like a cloud image: 1. apt-get purge -y policykit-1 apport 2. apt-get install apport Error === root@powerkvm5:~# apt-get install apport Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd Suggested packages: apport-gtk | apport-kde python3-launchpadlib The following NEW packages will be installed: apport apport-symptoms policykit-1 python3-apport python3-problem-report python3-systemd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/304 kB of archives. After this operation, 2,444 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package python3-problem-report. (Reading database ... 134848 files and directories currently installed.) Preparing to unpack .../python3-problem-report_2.20-0ubuntu3_all.deb ... Unpacking python3-problem-report (2.20-0ubuntu3) ... Selecting previously unselected package python3-apport. Preparing to unpack .../python3-apport_2.20-0ubuntu3_all.deb ... Unpacking python3-apport (2.20-0ubuntu3) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.20-0ubuntu3_all.deb ... Unpacking apport (2.20-0ubuntu3) ... Selecting previously unselected package apport-symptoms. Preparing to unpack .../apport-symptoms_0.20_all.deb ... Unpacking apport-symptoms (0.20) ... Selecting previously unselected package policykit-1. Preparing to unpack .../policykit-1_0.105-14.1_ppc64el.deb ... Created symlink from /run/systemd/system/polkitd.service to /dev/null. Unpacking policykit-1 (0.105-14.1) ... Selecting previously unselected package python3-systemd. Preparing to unpack .../python3-systemd_231-2build1_ppc64el.deb ... Unpacking python3-systemd (231-2build1) ... Processing triggers for systemd (229-3ubuntu1) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu2) ... Setting up python3-problem-report (2.20-0ubuntu3) ... Setting up python3-apport (2.20-0ubuntu3) ... Setting up apport (2.20-0ubuntu3) ... Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit polkitd.service is masked. (g-io-error-quark, 36) Setting up apport-symptoms (0.20) ... Setting up policykit-1 (0.105-14.1) ... Error getting authority: Error