[Bug 238006] syslogd not starting because of missing /var/run/log

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Sep 2024 18:39:13 UTC
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.