Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2024 18:39:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238006] syslogd not starting because of missing /var/run/log
Message-ID:  <bug-238006-227-cFyBPcXmBJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238006-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #12 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Harald Schmalzbauer from comment #10)
I'm not sure what that diff is.  Here is my experiment, on main:

# jail -c name=test exec.start=sh
# syslogd -P /tmp/syslogd.pid -ss -dv
can't open /dev/klog (16)
getaddrinfo failed for syslog: Name does not resolve
logmsg: pri 53, flags 0, from , msg getaddrinfo failed for syslog: Name does
not resolve
Logging to UNUSED
# echo $?
1

With my syslogd patch:

# syslogd -P /tmp/syslogd.pid -ss -dv                                           
can't open /dev/klog (16)                                                       
Trying peer: /var/run/log                                                
new socket fd is 5                                                      
listening on socket                                                             
sending on socket                                                               
Trying peer: /var/run/logpriv                                                   
new socket fd is 7                                                              
listening on socket                                                             
sending on socket                                                        
off & running....
...

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

home | help

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