Date: Sun, 15 Jan 2012 16:34:48 +0100 From: "Dr. A. Haakh" <bugReporter@Haakh.de> To: freebsd-bugs@FreeBSD.org Subject: bug in rc-script Message-ID: <4F12F218.2070402@Haakh.de>
next in thread | raw e-mail | index | archive | help
Recently I found the reason for an old bug, which I could not trace down for a long time: the rc-script for freenet6 caused the trouble. Runnung rcoder (a tool which was mentioned on a mailing-list) revealed a lot of 'circular dependencies' which messed up the rc-system. -----<snip>----- # # PROVIDE: freenet6 # REQUIRE: NETWORKING netif named # BEFORE: ip6addrctl # KEYWORD: shutdown # -----<snip>----- Deactivating 'BEFORE' solved the problem for me but the question arose: how could this happen? Porters Handbook chapter "6.23 Starting and stopping services (rc scrips)" references rcoder but in chapter "6.23.2 Pre-Commit-Checklist" containing many good proposals an explicit hint to run rcorder on an included rc-file is missing. Tinderbox misses this error as well and probably portlint too. So here is my proposal: add an item to the Pre-Commit-Checklist to run rcorder, modify portlint and/or tinderbox to check rc-files. I will file a bugreport for freenet6, what about the rest? Thanks Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F12F218.2070402>