On Wed, May 30, 2007, Victor G. Bolshakov wrote:

>  You need to add several correction:
>  1.tacacs.spec: --with-tacplus_pid=%{l_prefix}/var/tacacs/tac_plus.pid ->
>  --with-tacplus_pid=%{l_prefix}/var/tacacs/
>  Tacacs+ create PID file depend on listening port, so it don't wont to know
>  full path
>
>  2. rc.tacacs: add tacacs_cfgfile="@l_prefix@/etc/tacacs/tacacs.conf" to
>  %common section
>  Tacacs+ need config file throuth -C command line parameter
>
>  3. rc.tacacs: @l_prefix@/sbin/tac_plus -> @l_prefix@/bin/tac_plus -C
>  $tacacs_cfgfile
>  Install copied  tac_plus into bin not sbin
>
>  4. i cant stop tacacs using "openpkg rc tacacs stop", i'm doesn't enough
>  about OpenPKG internals so i simple comment some lines in rc.tacacs

(4) is because of (1). If the PID file is dyamically
generated the rc.tacacs will not know about it!
Can tac_plus be shutdown without knowing the PID filename?

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to