[Bug 580719] New: smpppd: port to PolicyKit 1
http://bugzilla.novell.com/show_bug.cgi?id=580719 http://bugzilla.novell.com/show_bug.cgi?id=580719#c0 Summary: smpppd: port to PolicyKit 1 Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: lnussel@novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=343059) --> (http://bugzilla.novell.com/attachment.cgi?id=343059) Port to PolicyKit 1 smpppd uses the old PolicyKit, but this is nearly only via a call to "check-polkit-auth <uid> <privilege> [pid]". I would think it's possible to simply use "pkcheck --action-id <action> --process <pid> -u <uid>" from the polkit package. Here's a patch that ports smpppd. I'm really not familiar with smpppd, so I'm unsure how to be 100% sure it's okay. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=580719 http://bugzilla.novell.com/show_bug.cgi?id=580719#c1 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #343059|0 |1 is obsolete| | --- Comment #1 from Vincent Untz <vuntz@novell.com> 2010-02-18 11:16:35 UTC --- Created an attachment (id=343155) --> (http://bugzilla.novell.com/attachment.cgi?id=343155) Updated patch Actually, the uid cannot be passed via the commandline, but the owner of the pid is used when needed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=580719 http://bugzilla.novell.com/show_bug.cgi?id=580719#c2 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Ludwig Nussel <lnussel@novell.com> 2010-02-22 09:03:28 CET --- the problem is that pkcheck may block if user authentication is required. smpppd would not accept new connections during that time. Previously the sever part was easy as the check was quick and the gui had to handle the blocking/event processing instead. That's one of the things that suck about polkit-1. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=580719 http://bugzilla.novell.com/show_bug.cgi?id=580719#c3 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2010-03-03 14:08:23 CET --- I've implemented an asynchronous method to call processes now to properly support polkit1. package on the way. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=580719 http://bugzilla.novell.com/show_bug.cgi?id=580719#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (580719) was mentioned in https://build.opensuse.org/request/show/33869 Factory / smpppd -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com