[Bug 1652457] [NEW] cannot disable whoopsie via systemd & polkit authentication
Reverend Homer
1652457 at bugs.launchpad.net
Sat Dec 24 18:53:34 UTC 2016
Public bug reported:
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 at 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 at 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 at 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
** Affects: whoopsie (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug autoreport-false xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1652457
Title:
cannot disable whoopsie via systemd & polkit authentication
Status in whoopsie package in Ubuntu:
New
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 at 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 at 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 at 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1652457/+subscriptions
More information about the foundations-bugs
mailing list