[Bug 239385] syslog: make it posible to have "." in app_name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 25 18:11:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239385

--- Comment #3 from John D. <freebsd.org at reg.a0fs.net> ---
Created attachment 215942
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215942&action=edit
syslogd path for stable/11 to fix problem with '.' in ident

Hmm...

stable/11 - reproduced
stable/12 - not reproduсed
current   - not reproduсed

Look like problem take place only in stable/11 and it's derivatives (since 11.3
I think). Does it make sense to fix it?

I attach patch, help to resolve problem for me.


Reproducing:

1. Add to `/etc/syslog.conf`:
   ----- 8< -------
   !test.some
   *.*   /var/log/t1
   ----- 8< -------

2. Make log file `/var/log/t1`
3. Reload syslogd
4. Run: `logger -t test.some "1"`

Without patch message will be append to `/var/log/message`, with patch to
`/var/log/t1`

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list