On 02/06/2012 01:04 PM, William Hubbs wrote: > All, > > I've been pondering for a while why All of OpenRC's network interfaces > provide net. > > My understanding of the "net" service is that it is there to signal that > a generic network connection is active. > > What I would like to do in OpenRC is change the network scripts so that > only the loopback interface provides net. > > The down side of this approach will be that if a daemon uses a specific > ip address in its configuration, or if it binds to a specific address, > the user will have to set up the appropriate configuration options in > /etc/conf.d. For example, if I setup sshd to use 192.168.10.1 and eth0 has > this address, I have to put the following line in /etc/conf.d/sshd: > > rc_need="net.eth0"
That makes perfect sense. I suspect that the most common case is to have sshd bind to all interfaces, and if that's true then special configuration will not be needed in the most common cases. -- Thanks, Zac