pkgsrc-Users archive

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

Re: Re: pure-ftpd, setting _flags in rc.conf



On Wed, Apr 26 2006 - 08:29, Jeremy C. Reed wrote:
> On Wed, 26 Apr 2006, Joel CARNAT wrote:
> 
> >    pure_ftpd_flags="-4 -A -e"
> 
> This looks correct.
> 
> > But pure-ftpd is still started with no flags.
> > Debugging the start script process, I think I use the right command:
> >    + eval 'rc_flags=$pure_ftpd_flags'
> >    ++ rc_flags='-4 -A -e'
> 
> With your debugging do you also see the line that runs it? (It should also 
> have a -B at the end.)
> 

hum... yes:
Starting pure_ftpd.
+ '[' -n '' ']'
+ _doit='/usr/pkg/sbin/pure-ftpd -4 -A -e -B'
+ '[' -n '' ']'
+ eval /usr/pkg/sbin/pure-ftpd -4 -A -e -B
++ /usr/pkg/sbin/pure-ftpd -4 -A -e -B
+ eval
+ return 0

# ps -auxw | grep -i ftp
root   7329  0.0  0.6  204  1120 ?       Is    6:36PM 0:00.00 pure-ftpd: 
-pure-ftpd (SERVER) 

indeed, netstat indicates my server only listens of port=21 for IPv4...
I didn't thought about checking previously... only looked at ps results - sorry.

Would the "daemonize" flag hide the starting flags from process status ?

        Jo

Attachment: pgpb6OUT1XnU4.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index