Bug 502754 - switch to using PolicyKit
Summary: switch to using PolicyKit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pure-ftpd
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 502765 729764
TreeView+ depends on / blocked
 
Reported: 2009-05-27 04:49 UTC by Rahul Sundaram
Modified: 2022-08-01 00:57 UTC (History)
4 users (show)

Fixed In Version: pure-ftpd-1.0.51-1.fc37 pure-ftpd-1.0.51-1.el9
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-23 21:54:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-05-27 04:49:28 UTC
Description of problem:

usermode/consolehelper is deprecated since Fedora has a better framework now
called PolicyKit. Please switch to using that instead

http://fedoraproject.org/wiki/Features/PolicyKitOne

Comment 1 Robert Scheck 2009-05-27 16:06:49 UTC
Setting up consolehelper is well documented here and elsewhere:
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-access-console-enable.html

Quoting from equivalent of PolicyKit upstream is:
http://people.freedesktop.org/~david/polkit-0.91/docs/PolicyKit-1.8.html
"TODO: This manual page should contain a simple introduction to PolicyKit for a
system administrator audience. Remains to be written."


In the end, pure-ftpd doesn't need that dependency hell, PolicyKit brings in.
Pureftpd-who is a tiny command line application, where consolehelper is really
much enough. Please stay with that and avoid bloaty stuff.

Comment 2 John Poelstra 2009-06-08 20:18:45 UTC
Added 'FutureFeature' keyword to avoid rawhide base

Comment 3 Fedora Admin XMLRPC Client 2010-11-29 00:22:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2012-01-11 10:35:19 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Chris Adams 2022-07-21 14:35:33 UTC
Reviving a really old (but still open and relevant) bug... IMHO the usermode/consolehelper wrapper for "ftpwho" should just be dropped (which would resolve this ticket). This appears to be a Fedora-specific setup, not upstream, and isn't documented that I found. It gives a console user access to see FTP users... but why?  I can only guess that someone was running an FTP server on a workstation and wanted to see who was logged in without using sudo or such.

Comment 7 Jonathan Wright 2022-07-21 15:10:35 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=151337 is where it was originally added.

Comment 8 Jonathan Wright 2022-07-21 15:19:52 UTC
I tend to agree that this functionality should be removed completely.  Non-root users have no business seeing what other users are logged in to FTP and we should return to the upstream default functionality here.

Comment 9 Fedora Update System 2022-07-21 17:52:38 UTC
FEDORA-EPEL-2022-c42e39acb0 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c42e39acb0

Comment 10 Fedora Update System 2022-07-21 17:56:47 UTC
FEDORA-2022-d14373ecac has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d14373ecac

Comment 11 Fedora Update System 2022-07-23 21:54:49 UTC
FEDORA-2022-d14373ecac has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2022-07-24 01:57:15 UTC
FEDORA-EPEL-2022-c42e39acb0 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-c42e39acb0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-08-01 00:57:54 UTC
FEDORA-EPEL-2022-c42e39acb0 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.