Bug 279987

Summary: /usr/sbin/syslogd syslogd: sendto: Value too large to be stored in data type
Product: Base System Reporter: p5B2EA84B3
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Works As Intended    
Severity: Affects Some People CC: glebius
Priority: ---    
Version: 14.1-RELEASE   
Hardware: Any   
OS: Any   

Description p5B2EA84B3 2024-06-25 13:25:22 UTC
syslog is able to log events but fails to send the same:

/var/log/messages
Jun 25 14:46:39 os90 syslogd: kernel boot file is /boot/kernel/kernel
Jun 25 14:48:12 os90 syslogd: sendto: Value too large to be stored in data type
Jun 25 15:11:31 os90 syslogd: exiting on signal 15
Jun 25 15:11:31 os90 syslogd: kernel boot file is /boot/kernel/kernel
Jun 25 15:11:46 os90 syslogd: sendto: Value too large to be stored in data type

/var/log/pkg.log 
Jun 25 14:48:12 os90 pkg[1879]: sscalc-1.0 installed
Jun 25 15:08:41 os90 pkg[1912]: python3-3_4 deinstalled
Jun 25 15:09:20 os90 pkg[1915]: python3-3_4 installed
Jun 25 15:11:46 os90 pkg[1953]: python3-3_4 deinstalled
Jun 25 15:12:08 os90 pkg[1956]: python3-3_4 installed

For testing (on releng_14.1) two small packages have been installed/deleted and syslogd was restarted.

relevant (custom) syslog config lines:

# Package management logging
!pkg,pkg-static
*.*                                             /var/log/pkg.log
*.*                                             @otherbox.local
Comment 1 p5B2EA84B3 2024-06-27 14:01:45 UTC
Had to remove syslogd -s. My fault.

from man 5 syslogd:

-s      Operate in secure mode.	Do not log messages  from  remote  ma-
	       chines.	 If  specified twice, no network socket	will be	opened
	       at all, which also disables logging to remote machines.