[Bug 738556] Review Request: gogoc - IPv6 TSP client for gogo6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=738556

--- Comment #16 from shrek-m <shrek-m@xxxxxx> 2012-02-12 05:24:22 EST ---
OUTSCH!

i launched gogoc several times with  "-n" and got different german infos,
errors, warnings, ...

i assume that you can get rid of some patches if you change the  linux.sh to 
LANG=C
with LANG=C  instead  LANGUAGE=C  all is ok, even the "CAP_SYS_MODULE
(deprecated)." are gone away.    propably  "if [ ! -z $PID ]; then"  is ok now.


within a few seconds it should be:
---- with  LANG=C ----
# /usr/local/gogoc/bin/gogoc -f /usr/local/gogoc/bin/gogoc.conf  -n
gogoCLIENT v1.2-RELEASE build Feb  8 2012-00:55:23  
Built on ///Linux srv01.localdomain 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23
17:25:22 CST 2012 i686 i686 i386 GNU/Linux///
Your IPv6 address is xxxxxx
Your IPv6 prefix is xxxxxxx
Your IPv6 DNS address is xxxxx
^C
----/----


---- original linux.sh from source ----
# head -20 /usr/local/gogoc/template/linux.sh 
#!/bin/sh
#
# $Id: linux.sh,v 1.3 2010/03/07 19:31:17 carl Exp $
#
# This source code copyright (c) gogo6 Inc. 2002-2006.
#
# For license information refer to CLIENT-LICENSE.TXT
#
# Note: IPV6 support and tun Support must be enabled before calling this
script.
# 


LANGUAGE=C

if [ -z $TSP_VERBOSE ]; then
   TSP_VERBOSE=0
fi

KillProcess()
----/----

comment #5
> The first non-executable-script is the sample script in /usr/share. The second
> is the script actually used by the program, but it doesn't need execution
> because is called: "/bin/sh /etc/gogoc/template/linux.sh"

---- your linux.sh ----
[root@macmini ~]# head -40 /etc/gogoc/template/linux.sh 
#!/bin/sh
#
# $Id: linux.sh,v 1.3 2010/03/07 19:31:17 carl Exp $
#
# This source code copyright (c) gogo6 Inc. 2002-2006.
#
# For license information refer to CLIENT-LICENSE.TXT
#
# Note: IPV6 support and tun Support must be enabled before calling this
script.
# 

# Changed here for Debian systems - used for radvd config file only
TSP_HOME_DIR=/var/run/gogoc

LANGUAGE=C

if [ -z $TSP_VERBOSE ]; then
   TSP_VERBOSE=0
fi

KillProcess()
{
   if [ ! -z $TSP_VERBOSE ]; then
      if [ $TSP_VERBOSE -ge 2 ]; then
         echo killing $*
      fi
   fi
   PID=`ps axww | grep $1 | grep -v grep | awk '{ print $1;}'`
   echo $PID

   # This check doesn't work in Fedora, I don't know why
   # if [ ! -z $PID ]; then
      for i in $PID
         do
            kill $i
      done
   # fi
}

Display()
----/----

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]