Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38469 - [unetbootin] Remove guisu dependency

Attached to Project: Community Packages
Opened by Balló György (City-busz) - Saturday, 11 January 2014, 22:43 GMT
Last edited by Alexander F Rødseth (xyproto) (trontonic) - Saturday, 08 February 2014, 19:34 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F Rødseth (xyproto) (trontonic)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I don't like the current solution to get root privileges with guisu.

Why do we create a separated package just for a small script? Why don't we call directly pkexec, and let users to configure their systems properly for polkit?

See the attachments with my proposed package and diff file. It's just the same solution what is currently used in the gparted package.
This task depends upon

Closed by  Alexander F Rødseth (xyproto) (trontonic)
Saturday, 08 February 2014, 19:34 GMT
Reason for closing:  Fixed
Comment by Alexander F Rødseth (xyproto) (trontonic) - Saturday, 18 January 2014, 19:04 GMT
Hi. Good point about users configuring their systems properly. The origin of "guisu" was that the current methods of using gksu/gksudo/pkexec did not work in all situations (with and without X, with pekwm etc). If pkexec/polkit works for all situations now, I'm completely in favor of removing guisu completely too.

Some testing might be needed first.
Comment by Balló György (City-busz) - Sunday, 19 January 2014, 05:21 GMT
My proposed package works in the following way:

1. In a terminal emulator, you have to type 'pkexec unetbootin' or 'sudo unetbootin' to launch unetbootin with root privileges.

2. If you want to start unetbootin directly from the PekWM menu, then you have to install a graphical polkit authentication agent, and autostart it as described here:
https://wiki.archlinux.org/index.php/Polkit#Authentication_agents

E.g. for lxpolkit:

# pacman -S lxpolkit
$ echo '/usr/lib/lxpolkit/lxpolkit &' >> ~/.pekwm/start
$ chmod +x ~/.pekwm/start
Comment by Alexander F Rødseth (xyproto) (trontonic) - Saturday, 08 February 2014, 19:34 GMT
Updated the PKGBUILD. I agree that polkit is the way to go. Sorry it took a while. :)

Loading...