By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1531

Summary: Kvpnc is useless as it is not possible to run as root.
Product: TDE Reporter: Martin Hodges <martinhodges479>
Component: tdenetworkAssignee: Slávek Banko <slavek.banko>
Status: RESOLVED FIXED    
Severity: critical CC: albator78, bugwatch, slavek.banko
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Debian Wheezy   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Martin Hodges 2013-05-29 07:40:54 CDT
Kvpnc closes after starting claiming that it must be run as root.
It refuses to run even if one manages to get it to run as root.
One cannot set the suid bit as the tde libraries complain.
Running the program as 'tdesudo vpnc' reports that the program does not exist.
Running 'tdesudo /opt/trinity/bin/vpnc' runs but the program complains that it has not been run as root.
Comment 1 Francois Andriot 2013-07-20 05:28:40 CDT
I can run kvpnc as root as well as non-root here, no problem at all.
It looks like the debian-specific build patches are the cause of the problem.
Comment 2 Slávek Banko 2013-09-29 05:44:32 CDT
Well, I see it. In tde-packaging are for Debian / Ubuntu two additional patches.

First adds into executed command "su-to-root", which is probably unnecessary when in the TDE works well X-TDE-SubstituteUID=true.

The second adds a condition if (getenv("USER") != "root"), which apparently does not work well.

Will be fixed soon...
Comment 3 Slávek Banko 2013-09-29 08:15:25 CDT
Fixed in GIT hash bb2b374e (kvpnc) and 96cd6c80 (tde-packaging).