Dave Crane posted <[EMAIL PROTECTED]>, excerpted below,  on
Thu, 29 Dec 2005 12:48:34 -0500:

>> because net.lo is not usefull for a system that provides services.
>> for example running a ssh server for net.lo is kinda silly :)
> 
> Maybe we should all remove the localhost line from /etc/hosts if it's silly.
> Maybe /etc/fstab should be /etc/conf.d/filesystems?
> 
>> > I'm asking this because last week at home I couldn't run apache2
>> > because I didn't have an interface up but lo. But this is silly,
>> > because I could still use apache2 locally!
>> > Am I wrong? Is my system wrong?
>>
>> Your system is correct, if you don't care for this you can change the
>> behaviour in /etc/conf.d/rc with the RC_NET_STRICT_CHECKING variable
> 
> Or maybe its should be left to the app.  adding RC_NET_STRICT_CHECKING would 
> have other consequences.  One size does not fit all here.  If net.lo is the 
> only thing that satisfies net on a given system and the process doesnt have a 
> problem attaching to that (as I just verified with both sshd and apache2), 
> then let it be.

How do you figure?  One size doesn't fit all, but you are asking that your
size fits all?

If you want lo to provide net, it can, set the variable accordingly (lo).
If you want at least one other network up before net is considered up,
great, that's possible too (set no).  On a multi-homed host, if you want
them all up before net is considered up, that too is possible, just set
RC_NET_STRICT_CHECKING=yes.

Other than that, we'd have to be deciding for each app, and I can assure
you, making that happen by default is FAR more trouble than it's worth,
when few need it and for those that do, the scripts are as easily modified
for those few as they'd have to be for EVERYONE if there weren't the very
sane RC_NET_STRICT_CHECKING variable there.

As for discovering the variable, it's the job of a sysadmin, which in
effect everyone choosing to run Gentoo on their system is, to be familiar
with at least the basic settings on their installation.  This is one such
basic setting, in a very general location, too, not hidden away,
impossible to find.  Being expected to be aware of such basic settings
just comes  with the territory.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
[email protected] mailing list

Reply via email to