Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 01:29:50 +0200
From:      =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= <dandee@hellteam.net>
To:        "'Jeremy Chadwick'" <koitsu@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   RE: FreeBSD Port: ipfw2dshield-0.5
Message-ID:  <000701c7afa5$12355c20$6508280a@tocnet28.jspoj.czf>
In-Reply-To: <20070615230347.GB88372@eos.sc1.parodius.com>
References:  <001101c7af95$6bd7c840$6508280a@tocnet28.jspoj.czf> <4673076E.7040907@yahoo.com> <000001c7af99$0108cec0$6508280a@tocnet28.jspoj.czf> <20070615230347.GB88372@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Jeremy Chadwick [mailto:koitsu@FreeBSD.org]=20
Sent: Saturday, June 16, 2007 1:04 AM
To: Daniel Dvo??=C3=A1k
Cc: 'John Merryweather Cooper'; ports@FreeBSD.org; =
frank@dynamical-systems.org
Subject: Re: FreeBSD Port: ipfw2dshield-0.5

> FreeBSD by default sets PATH to what you see in the mail from cron.
> That is, /usr/local/bin is not include in the list.  This is =
Normal(tm).

Yes, I know and so I was surprised when cron showed this:

X-Cron-Env: <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>

which is not actualy true because this:

X# setenv
TERM=3Dcons25
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca=
l/bin:/usr/X11R6/bin:/root/bin
MAIL=3D/var/mail/root
BLOCKSIZE=3DK
FTP_PASSIVE_MODE=3DYES
SHELL=3D/bin/csh
HOME=3D/root
LOGNAME=3Droot
USER=3Droot
HOSTTYPE=3DFreeBSD
VENDOR=3Dintel
OSTYPE=3DFreeBSD
MACHTYPE=3Di386
SHLVL=3D1
PWD=3D/root
GROUP=3Dwheel
HOST=3DX.Y.Z
EDITOR=3Dvi
PAGER=3Dmore

I did not change anything in PATH. /usr/local/bin and sbin was not added =
by me.

> Ideally this should be fixed by doing something like export
> PATH=3D${PATH}:/usr/local/bin either inside the rc script or inside of =
the
> ipfw2dshild script (if it's a script).

Yes. If I see my setenv for root, I see the right path for strpdate, so =
parhaps some sort of script seted before.

> On other FreeBSD systems?  You probably have PATH explicitly set in on
> of your ~root dotfiles, or in /etc/profile, etc. etc...

No. I did not change it in cshrc, bashrc etc.

> root, but see above.

Yes. The PATH was set well and even that ipfw2dshield or cron or who saw
X-Cron-Env: <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>.

???

Bye

--=20
| Jeremy Chadwick                                    jdc at parodius.com =
|
| Parodius Networking                           http://www.parodius.com/ =
|
| UNIX Systems Administrator                      Mountain View, CA, USA =
|
| Making life hard for others since 1977.                  PGP: 4BD6C0CB =
|




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c7afa5$12355c20$6508280a>