Subject: misc/21251: rcorder and rc scripts without "special lines"
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 04/21/2003 08:21:55
>Synopsis: rcorder and rc scripts without "special lines"
>Arrival-Date: Mon Apr 21 15:22:00 UTC 2003
>Release: NetBSD 1.6
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
I ran rcorder on a rc.d directory with various scripts that
didn't have any of these special lines. It still listed the scripts (so I
guess it attempted to order them).
The rcorder(8) man page says: "Each file passed to rcorder must be
annotated with special lines". Notice that it says "must".
And the documentation says that each file must contain REQUIRE, PROVIDE,
BEFORE, and KEYWORD lines. I think "must" should be replaced with "should"
The man page also says it may contain zero PROVIDE lines and zero REQUIRE
lines. I think that it should not say "and". Is it okay if a file doesn't
contain both PROVIDE and REQUIRE?
Run rcorder on a directory with files that do not provide the special
Fix the manual page so that it says the file should contain (instead
Fix the manual page so it says the file may contain zero PROVIDE lines
*or* zero REQUIRE lines. Or fix it so this is understandable.
And fix the rcorder tool so it doesn't output names of files
that do not contain the special lines.
Sorry I do not provide a fix. I asked about this on tech-userlevel
a few weeks ago but no response. I don't want to provide a fix
since I don't know what the expected behavior or correct
documentation for these items should be.