Subject: Re: sendmail problems
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-users
Date: 02/02/2007 11:29:05
--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Feb 02, 2007 at 10:58:56AM +0100, Jan Danielsson wrote:
>    Now that I started writing this stuff again, I believe that the
> problem I had before was in fact that "sed" is in "/usr/bin", but /usr
> hasn't been mounted when dhclient-enter-hook is run the first time
> (during boot). Is there an assumption made that the dhcp server *should*
> pass hostname, and therefore no parsing tools are made available during
> the initial run of dhclient-enter-hook?

You can set critical_filesystems_local="/var /usr" in /etc/rc.conf (see the
dependencies in /etc/rc.d/dhclient).  Alternatively, replace the dependency
on "mountcritlocal" by "mountcritremote" (which includes /usr by default).

	Geert

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQEVAwUBRcMScYLS9urEu56fAQok4Qf+KQ9wRbz2p6iHHsoyIAvu1m0+/GRQ1WIE
9GlmP3/yFcyRDoo6RNmhlJCpGXQATOYxeuQ588t63/bIikADbnWEKdajBPQ6vXnV
5qeiJJ/GkkUMPXlKFLe31qVEj3rBw/POJxIBwY9dD6CtasAjimI7prVUvBejbcOA
1cUqqwjoDUAENSMchziK6QddKVhHNHwIcvOAMU9Y0DFW3/oY+l1m4cNUgV9w52w7
MZHFRjr76XyKQQYL48tdy7AEaKV2TSHTHekcD7HWNyUXE0uPow9dSrgs95qM4PlM
DeEvjxosHfkS46/bGKAmBq+JaamkRtHZrxgzaRNP6bX8T2dZEB0tyg==
=/s83
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--