Bug#857391: gnome-logs does not prompt the user to elevate privileges
User
mckinney at subgraph.com
Fri Mar 10 18:40:58 UTC 2017
Package: gnome-logs
Version: 3.22.1-2
Severity: important
Tags: newcomer
Dear Maintainer,
gnome-logs does not prompt the user to elevate privileges. As a result, when
the user opens this application, they have a very limited view of the system
logs. There is also no clear path for the user to elevate privileges.
This could easily be addressed by following the same method used by gnome-
system-log to prompt the user to elevate privileges.
Namely:
1. Create a policy for gnome-logs in /usr/share/polkit-1/actions/
2. Change the .desktop file to invoke 'gnome-logs-pkexec' pkexec handler script
in /usr/bin/
3. Change /usr/share/dbus-1/services/org.gnome.Logs.service to also invoke the
pkexec handler script
4. Drop the pkexec handler script in /usr/bin (see /usr/bin/gnome-system-log-
pkexec' for an example
Once all this is done, gnome-logs will prompt the user to elevate their
privileges. If they authenticate successfully, they will see all of the logs.
If not, they will see the limited view.
-- System Information:
Distributor ID: Subgraph
Description: Subgraph GNU/Linux 9.0 (stretch)
Release: 9.0
Codename: stretch
Architecture: x86_64
Kernel: Linux 4.9.9-grsec-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnome-logs depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1
ii gsettings-desktop-schemas 3.22.0-1
ii libc6 2.24-9
ii libglib2.0-0 2.50.3-1
ii libgtk-3-0 3.22.8-1
ii libsystemd0 232-18
gnome-logs recommends no packages.
gnome-logs suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list