After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126051 - PolicyKit integration.
PolicyKit integration.
Status: RESOLVED WONTFIX
Product: gnome-system-log
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-system-log-maint
gnome-system-log-maint
gnome[unmaintained]
: 81556 308278 (view as bug list)
Depends on: 561443
Blocks:
 
 
Reported: 2003-11-02 16:29 UTC by Mark Finlay
Modified: 2020-09-26 09:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Long-overdue patch to implement libgnomesu support. (3.12 KB, patch)
2004-07-16 08:18 UTC, Hongli Lai
rejected Details | Review
Copy of Fedora patch (3.54 KB, patch)
2012-05-07 16:33 UTC, Piotr Drąg
rejected Details | Review

Description Mark Finlay 2003-11-02 16:29:58 UTC
Libgnomesu is a library in gnome cvs that has been written to be a secure
portable way to run programs as root. I would recommend using it for the
log viewer when /var/log/messages can't be read beause the user does not
have sufficient permissions.
Comment 1 John Fleck 2003-11-02 20:14:18 UTC
This would make libgnomesu a platform requirement, would it not?
Comment 2 Mark Finlay 2003-11-03 15:42:31 UTC
Yeah, same as lots of libs, like libvncclient and pwlib etc...

Does lignomesu need to be officially proposed for inclusion?
Comment 3 John Fleck 2003-11-04 15:58:02 UTC
If logview is to depend on libgnomesu then yes, it would need to be
proposed for inclusion in the platform. I wouldn't go to a lot of
trouble on that front, though, solely based on a logview requirement,
unless it's clear someone is going to implement this in logview.
Logview hasn't been very actively maintained lately. It looks by the
ChangeLog that Dennis's HIG changes back in may are the only
substantive maintenance that's been done in a long time.
Comment 4 Mark Finlay 2003-11-06 18:37:11 UTC
It's a pretty nice little app, but relatively useless as a normal user
on  most systems. Would be nice to fix it...
Comment 5 Glynn Foster 2003-11-10 02:37:40 UTC
*** Bug 81556 has been marked as a duplicate of this bug. ***
Comment 6 Murray Cumming 2003-11-10 17:00:16 UTC
> This would make libgnomesu a platform requirement.
No, a Desktop requirement I think, much like gstreamer is. That
shouldn't be a big deal.
Comment 7 Luis Villa 2003-12-31 23:16:26 UTC
It's still Yet Another Requirement, either way.
Comment 8 Hongli Lai 2004-07-16 08:18:12 UTC
Created attachment 29574 [details] [review]
Long-overdue patch to implement libgnomesu support.
Comment 9 Vincent Noel 2005-06-19 22:28:27 UTC
*** Bug 308278 has been marked as a duplicate of this bug. ***
Comment 10 Cosimo Cecchi 2008-12-23 14:48:17 UTC
We should use a PolicyKit helper for this.
Also, GVfs itself will probably gain PolicyKit integration soonish so this would be fixed with few additional efforts on our side.
Comment 11 Piotr Drąg 2012-05-07 16:31:13 UTC
Fedora carries a patch porting gnome-system-log to polkit:

http://pkgs.fedoraproject.org/gitweb/?p=gnome-system-log.git;a=commitdiff;h=cc1125d066f5798d49bbc23604111417a0767f45

It would be nice to integrate it upstream, as it would allow us to translate its messages.
Comment 12 Piotr Drąg 2012-05-07 16:33:18 UTC
Created attachment 213607 [details] [review]
Copy of Fedora patch

Attaching a copy of Fedora patch here. It needs minor additional work, as it currently applies to RPM.
Comment 13 Cosimo Cecchi 2012-05-08 21:54:49 UTC
This is not really the best kind of PolicyKit support we could have - ideally gvfs would allow to read privileged files transparently using PolicyKit - see bug 561443 and 492000 - but it could at least avoid duplicate work for distributions to ship the patch, or slightly different patches.
We need an actual patch against git master here though.
Comment 14 André Klapper 2020-09-26 09:41:07 UTC
gnome-system-log is not under active development anymore and had its last code changes more than four years ago. Its codebase has been archived at https://gitlab.gnome.org/Archive/gnome-system-log/

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.