Comment 3 for bug 1772127

Revision history for this message
andrea.deroni (andrea-deroni) wrote : Re: [Bug 1772127] Re: Launcher uses gksu which is now depreciated

I can suggest a work around: are you interested in it? Let me know

Andrea

> Il giorno 25/mag/2018, alle ore 16:41, David <email address hidden> ha scritto:
>
> I have the same problem,
>
> little planning or real QA control??
>
> No advanced notice or workarounds
>
> Who's in charge....May-be nobody..Back to 16.04
>
> I wish you all luck and hope things improve fpr you all
>
> David EE Gc
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1771569).
> https://bugs.launchpad.net/bugs/1772127
>
> Title:
> Launcher uses gksu which is now depreciated
>
> Status in system-config-samba package in Ubuntu:
> Confirmed
>
> Bug description:
> Ubuntu 18.04
> Package version 1.2.63-0ubuntu6
>
> If it helps, I done the following to get it working:
>
> Create executable:
>
> /usr/bin/system-config-samba-pkexec
>
> #!/bin/sh
> pkexec "/usr/sbin/system-config-samba" "$@"
>
>
> create:
>
> /usr/share/polkit-1/actions/com.ubuntu.pkexec.system-config-
> samba.policy
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE policyconfig PUBLIC
> "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
> "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
> <policyconfig>
>
> <action id="com.ubuntu.pkexec.system-config-samba">
> <message>Authentication is required to run Samba Config</message>
>
> <icon_name>system-config-samba</icon_name>
> <defaults>
> <allow_any>auth_admin</allow_any>
> <allow_inactive>auth_admin</allow_inactive>
> <allow_active>auth_admin</allow_active>
> </defaults>
> <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/system-config-samba</annotate>
> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
> </action>
>
> </policyconfig>
>
> change launcher from gksu system-config-samba to system-config-samba-
> pkexec
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/system-config-samba/+bug/1772127/+subscriptions