svlogd - can I prove it's reading the config file?
David Collier
from_busybox_maillist at dexdyne.com
Sat Jan 22 16:17:00 UTC 2011
In article <AANLkTim8F0LvVFEg7K8t_zBewB7XhHgYBv0mcyzjt=AB at mail.gmail.com>,
vda.linux at googlemail.com (Denys Vlasenko) wrote:
> *From:* Denys Vlasenko <vda.linux at googlemail.com>
> *To:* from_busybox_maillist at dexdyne.com
> *CC:* busybox at busybox.net
> *Date:* Fri, 21 Jan 2011 19:12:28 +0100
>
> On Fri, Jan 21, 2011 at 6:13 PM, David Collier
> <from_busybox_maillist at dexdyne.com> wrote:
> >
> > I've done better. I read the source code :-)
> >
> > You disregard all but the first 128 chars of the file.
>
> Inherited from original svlogd:
fascinating - so the rubbish in the man pages about allowing comment and
blank lines is horse-poop !
If I was clever I'd do a fix :-)
D
> http://smarden.org/runit/runit-2.1.1.tar.gz
>
> /* read config */
> if ((i =openreadclose("config", &sa, 128)) == -1)
> warn2("unable to read config", ld->name);
>
> --
> vda
>
More information about the busybox
mailing list