Subject: Re: Re: pure-ftpd, setting _flags in rc.conf
To: Jeremy C. Reed <reed@reedmedia.net>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 04/26/2006 18:44:16
--mJm6k4Vb/yFcL9ZU
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Apr 26 2006 - 08:29, Jeremy C. Reed wrote:
> On Wed, 26 Apr 2006, Joel CARNAT wrote:
>=20
> > pure_ftpd_flags=3D"-4 -A -e"
>=20
> This looks correct.
>=20
> > But pure-ftpd is still started with no flags.
> > Debugging the start script process, I think I use the right command:
> > + eval 'rc_flags=3D$pure_ftpd_flags'
> > ++ rc_flags=3D'-4 -A -e'
>=20
> With your debugging do you also see the line that runs it? (It should als=
o=20
> have a -B at the end.)
>=20
hum... yes:
Starting pure_ftpd.
+ '[' -n '' ']'
+ _doit=3D'/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: -p=
ure-ftpd (SERVER)=20
indeed, netstat indicates my server only listens of port=3D21 for IPv4...
I didn't thought about checking previously... only looked at ps results - s=
orry.
Would the "daemonize" flag hide the starting flags from process status ?
Jo
--mJm6k4Vb/yFcL9ZU
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFET6Ng0/VH7L7F7Y4RAsTYAJ0d/ckUe8tacyFgudqSEZZ+0ELhnwCfadBf
xxSNHDvlTssbpMFPhNIIziQ=
=0Szk
-----END PGP SIGNATURE-----
--mJm6k4Vb/yFcL9ZU--