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 - Kvpnc is useless as it is not possible to run as root.
Summary: Kvpnc is useless as it is not possible to run as root.
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdenetwork (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Debian Wheezy
: P5 critical
Assignee: Slávek Banko
URL:
Depends on:
Blocks:
 
Reported: 2013-05-29 07:40 CDT by Martin Hodges
Modified: 2013-09-29 08:15 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).