trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2013

Re: [trinity-devel] Solution for hardcoded sudo in konsole schemas

From: Slávek Banko <slavek.banko@...>
Date: Sun, 10 Nov 2013 19:06:46 +0100
On Sunday 10 of November 2013 18:57:22 Darrell Anderson wrote:
> >to resolve bug report 853 is ready a patch that selects between
> >"sudo su"
> >and "su" depending on the build option WITH_SUDO_TDESU_BACKEND.
> >
> >But as we have noticed, also on Ubuntu is used
> >WITH_SUDO_TDESU_BACKEND=OFF.
> >This would mean that even Ubuntu would not be used "sudo".
> >
> >That's why I asked what solution to choose for Ubuntu packaging?
> >
> >1) Apply the patch and leave WITH_SUDO_TDESU_BACKEND=OFF
> >2) Apply the patch, but change WITH_SUDO_TDESU_BACKEND=ON
> >3) Make a separate build option WITH_SUDO_KONSOLE_BACKEND
> >
> >See: http://bugs.pearsoncomputing.net/show_bug.cgi?id=853
>
> I'm not an Ubuntu user but I'm fine with adding
> WITH_SUDO_KONSOLE_BACKEND as a new option.
>
> Would the default be WITH_SUDO_KONSOLE_BACKEND=OFF, meaning sudo-
> based disto packagers would have to explicitly change that option
> to WITH_SUDO_KONSOLE_BACKEND=ON?
>
> Darrell
>

Yes, exactly what I wanted. If the new build option WITH_SUDO_KONSOLE_BACKEND 
will be added, it would default OFF and only distributions that use sudo will 
in packaging use ON.

Slavek