Review Request 125003: Use kdesu instead of pkexec

Aleix Pol Gonzalez aleixpol at kde.org
Mon Aug 31 14:37:37 UTC 2015



> On Aug. 31, 2015, 4:33 p.m., Harald Sitter wrote:
> > With kdesu you need to either separate the actual calls with "--", or -c followed by a completely built argument string
> > 
> > e.g.
> > /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu -- /usr/bin/software-properties-kde --attach 23068678 --dont-update
> > OR
> > /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu -c "/usr/bin/software-properties-kde --attach 23068678 --dont-update"
> > 
> > any other argument list will result in kdesu parsing --attach and --dont-update as kdesu arguments.
> > 
> > Also argument spearation for --attach is broken.
> > 
> > I Opened issues for all of that

Are you sure? `lib64/libexec/kf5/kdesu kwrite /etc/resolv.conf` works here.


- Aleix


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125003/#review84652
-----------------------------------------------------------


On Aug. 31, 2015, 4:17 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125003/
> -----------------------------------------------------------
> 
> (Updated Aug. 31, 2015, 4:17 p.m.)
> 
> 
> Review request for Kubuntu, Muon Package Management Suite and Harald Sitter.
> 
> 
> Bugs: 351311
>     http://bugs.kde.org/show_bug.cgi?id=351311
> 
> 
> Repository: muon
> 
> 
> Description
> -------
> 
> pkexec doesn't cut it on GUI applications, kdesu seems to work.
> 
> On kubuntu it should be using sudo instead of su.
> 
> 
> Diffs
> -----
> 
>   README.PACKAGERS 28f1519 
>   libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp bb56c35 
>   libmuon/backends/ApplicationBackend/CMakeLists.txt 4785e1f 
>   libmuonapt/CMakeLists.txt 1c8bae9 
>   libmuonapt/QAptActions.cpp 7b82f67 
> 
> Diff: https://git.reviewboard.kde.org/r/125003/diff/
> 
> 
> Testing
> -------
> 
> Builds, coudln't test further.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20150831/6883c124/attachment.html>


More information about the kubuntu-devel mailing list