NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/51489: blacklistd launched from rc script listens on wrong socket



>Number:         51489
>Category:       misc
>Synopsis:       blacklistd launched from rc script listens on wrong socket
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 19 15:10:00 +0000 2016
>Originator:     Shin'ichiro TAYA
>Release:        NetBSD 7.99.38
>Organization:

--
Shin'ichiro TAYA <taya%ba2.so-net.ne.jp@localhost>
>Environment:
	
	
System: NetBSD XXX 7.99.38 NetBSD 7.99.38 (GENERIC) #1: Sat Sep 17 09:18:37 JST 2016 taya@XXX:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	blacklistd lauched from rc script listens on /var/run/blsock.
	Correct path is /var/run/blacklistd.sock
>How-To-Repeat:
	netstat | fgrep blacklistd
>Fix:
--- ./blacklistd.orig    2015-01-23 02:49:41.000000000 +0900
+++ ./blacklistd        2016-09-19 16:35:46.185104529 +0900
@@ -18,7 +18,7 @@
 extra_commands="reload"

 _sockfile="/var/run/${name}.sockets"
-_sockname="blsock"
+_sockname="blacklistd.sock"

 blacklistd_precmd()
 {

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index