Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 18:10:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239385] syslog: make it posible to have "." in app_name
Message-ID:  <bug-239385-227-w9nvhV5jBW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239385-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239385-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239385

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

Hmm...

stable/11 - reproduced
stable/12 - not reprodu=D1=81ed
current   - not reprodu=D1=81ed

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`

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239385-227-w9nvhV5jBW>