On Tue, Jul 27, 2004 at 08:49:09AM -0400, Robin P. Blanchard wrote: > > > I think there's something still quite awry with the new rc.d/localpkg... > > >From rc(8): > o The scripts within each directory are executed in lexicographical > order. If a specific order is required, numbers may be used as a > prefix to the existing filenames, so for example 100.foo would be > executed before 200.bar; without the numeric prefixes the opposite > would be true. This applied to old style startup scripts. This paragraph will have to be revised. > > # ls -al /usr/local/etc/rc.d/ > total 12 > drwxr-xr-x 2 root wheel 512B Jul 27 08:41 ./ > drwxr-xr-x 6 root wheel 512B Jul 26 14:48 ../ > -rwxr-x--- 1 root wheel 181B Mar 30 13:03 000.mysql-client.sh > -rwxr-xr-x 1 root wheel 423B Jul 26 17:46 01_dccifd.sh > -r-xr-xr-x 1 root wheel 783B Jul 26 17:42 02_clamav-clamd.sh > -r-xr-xr-x 1 root wheel 672B Mar 26 11:21 03_amavisd.sh > lrwxr-xr-x 1 root wheel 23B Jul 26 14:39 04_postfix.sh -> > /usr/local/sbin/postfix > > Yet as far as I can determine, these are not being processed in numerical > order, with amavis being started before clamav, resulting in the system not > coming up properly. Am I missing something here or is my pola at an all time > low ? It depends. All rc.d scripts are executed first according to rcorder(8). Then old style scripts are executed in lexicographical order. Both scripts appear to be rc.d scripts (in today's ports tree). So, if amavis should be started after clamav, then the maintainer has to specify that in the dependency: REQUIRE: clamd Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm_at_identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm_at_FreeBSD.Org| FreeBSD - Unleash the Daemon !Received on Tue Jul 27 2004 - 14:45:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC