cannot disable whoopsie via systemd & polkit authentication

Bug #1652457 reported by Reverend Homer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
whoopsie (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
today I wanted to disable whoopsie service on boot but could not do it via Polkit authentication in systemd. So command "systemctl disable whoopsie" worked properly only with sudo.

I'm using Ubuntu 16.04.1 LTS and whoopsie-0.2.52.2. Here is some console log:

ecko@insomnia:~$ systemctl disable whoopsie
Synchronizing state of whoopsie.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install disable whoopsie
insserv: fopen(.depend.stop): Permission denied
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: Reverend Homer,,, (ecko)
Password:
==== AUTHENTICATION COMPLETE ===
update-rc.d: error: unable to write /etc/init/whoopsie.override
ecko@insomnia:~$ sudo !!
sudo systemctl disable whoopsie
Synchronizing state of whoopsie.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install disable whoopsie
insserv: warning: current start runlevel(s) (empty) of script `whoopsie' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `whoopsie' overrides LSB defaults (1).
ecko@insomnia:~$

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: whoopsie 0.2.52.2
ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
Uname: Linux 4.4.0-57-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Sat Dec 24 21:48:44 2016
InstallationDate: Installed on 2016-10-20 (65 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
JournalErrors:
 Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 -- Logs begin at Sat 2016-12-24 21:48:19 MSK, end at Sat 2016-12-24 21:48:19 MSK. --
 Dec 24 21:48:19 hostname org.freedesktop.Notifications[1533]: ** (notify-osd:4325): WARNING **: dnd_is_idle_inhibited(): got error "The name org.gnome.SessionManager was not provided by any .service files"
RelatedPackageVersions: apport-noui N/A
SourcePackage: whoopsie
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.whoopsie.override: manual

Revision history for this message
Reverend Homer (mk-43-ecko) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.