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



_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to