[Bug 5558] New: accept FIFOs ("|<path>") as log destinations in /etc/syslog.conf

bugzilla at busybox.net bugzilla at busybox.net
Thu Sep 20 19:06:17 UTC 2012


           Summary: accept FIFOs ("|<path>") as log destinations in
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: develop at kristov.de
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

Created attachment 4556
  --> https://bugs.busybox.net/attachment.cgi?id=4556
allows entries with a FIFO as log destination in /etc/syslog.conf


sysklogd accepts something like "kern.info |/var/log/kernel-info", where
/var/log/kernel-info is a pre-created FIFO. The syslogd man page says:

  This  version  of  syslogd has support for logging output to named pipes
  (fifos).  A fifo or named pipe can be used as a destination for log messages
  by  prepending  a pipy  symbol  (``|'')  to  the name of the file.  This is
  handy for debugging.  Note that the fifo must be created with the mkfifo
  command before syslogd is started.

I attached a small patch (applies to busybox 1.20.2) which modifies syslogd.c
to handle such targets, too.


Christoph Schulz

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list