Subject: Re: Re: pure-ftpd, setting _flags in rc.conf
To: Joel CARNAT <joel@carnat.net>
From: Geert Hendrickx <ghen@telenet.be>
List: pkgsrc-users
Date: 04/26/2006 19:08:42
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 26, 2006 at 06:44:16PM +0200, Joel CARNAT wrote:
> # ps -auxw | grep -i ftp
> root   7329  0.0  0.6  204  1120 ?       Is    6:36PM 0:00.00 pure-ftpd: =
-pure-ftpd (SERVER)=20
>=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 -=
 sorry.

I'm also seeing this: ps only shows "pure-ftpd: -pure-ftpd (SERVER)" but
the daemon is certainly obeying its command-line arguments, otherwise I
would not be able to log in in this case (virtual users stored in PgSQL). =
=20

pure_ftpd_flags=3D"-A -E -l pgsql:/usr/pkg/etc/pureftpd-pgsql.conf"

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

I'm not sure...  Is the process we're observing through ps(1) the same as
the process started by the rc.d script? =20

	Geert

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (NetBSD)

iQEVAwUBRE+pGYLS9urEu56fAQLCDwf/Q/qgQoKGR4QfqQOq5CbgEdVGKTnBcjmY
/BH/qAt4/Qt6zI6fxhRoF6K3G91YuuGYdWB+gFVYvi1sXXBZfcwKxo7fzcCWEevY
jwnFQmtqyztyrnw+SRldz9L+Y11c8akDCkdGnhXv4wFY3C2FxMnrRuQVeTK+p8az
iJEqZVXmUcc+1203GcalyosrpQSaA4W2+7EVqj4zX686IlOjrbk55f7ylukC4KyL
3R8f5ecciUPAnH/cUaxkqslo0hDFEYeDAJ+dodIvJwxPcKoYBbB9+uIxUNRVmLLU
Z4mXJc+sgKwWRyPseStIXRBp3nKGqmdpB+oF4BbPRxb3/cTpIZ7yEw==
=xKXq
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--