Why /dev/kmsg was deleted from cygwin1.dll in git?
Thu Jul 5 23:13:00 GMT 2018
On Thu, 5 Jul 2018 12:38:08 -0600
Brian Inglis wrote:
> Isn't this moot as the supported package is syslog-ng, which seems to work okay?
Not only inetutils syslogd but also syslog-ng does not work in cygwin
git HEAD. I confirmed syslog-ng gets back working with the patch I posted.
Moreover, syslog-ng does not remove /dev/log even after exiting normally.
This means my first patch removing the code may cause the problem below.
On Fri, 6 Jul 2018 00:29:24 +0900
Takashi Yano wrote:
> On Wed, 4 Jul 2018 16:52:47 +0200
> Corinna Vinschen wrote:
> > What the code does is to check if we have a listener on the /dev/msg UDP
> > socket, otherwise log data may get lost or, IIRC, the syslog call may
> > even hang. So removing this code sounds like a bad idea.
> usual case, no problem happens. However if syslogd is killed by signal
> 9 or died accidently, /dev/log remains without listener. In this case,
> the problem you mentioned may happen.
Takashi Yano <firstname.lastname@example.org>
More information about the Cygwin-patches