Date: Mon, 01 Feb 1999 03:54:13 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Dru Nelson <dnelson@redwoodsoft.com> Cc: Robert Withrow <witr@rwwa.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: more modular rc/init/uninit system... Message-ID: <36B4A6D5.1C73F700@newsguy.com> References: <Pine.BSF.3.91.990131094455.11450K-100000@pacman.redwoodsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dru Nelson wrote: > > Still, services like mail, httpd, dns are fairly independent. They > usually don't rely on too much. > > However, I think this is something to strive for. It would be nice to > get the warning: 'can't start httpd -> depends on database which isn't > running. Start database? [Y/n]?' I think it was Terry who came with the following example in one of the previous incarnations of this thread. Services like mail and dns depend on the network. Which network? The ppp dial on demand of your laptop, or the network DHCP when you dock it in your office? Obviously, both are valid. So, when you start dns, it must account for both possibilities. It depends on "at least one of them" being up. You also want to just tell it to start dns, and have all dependencies brought up automatically. You need a "default" network stack. If you stop the ppp, all things that were depending on it must be brought down first, *if* they don't have something else providing the dependency for them (like the network). The usual answer for this scenario is "this is too complicated; let's just do the levels stuff". Which, obviously, is another way of saying "It is too much work to design/implement what you want, so I'll settle for what *I* want, even though *you* are perfectly happy with the way things are right now, and would not have any use for lesser functionality than you described." Thankfully, people saying this have not also produced the code, which is much more likely to get things changed. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com Would you mind not shooting at the thermonuclear weapons? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B4A6D5.1C73F700>