security/vault: fix syslog socket path
PR: 215664 Submitted by: Pavel Timofeev <timp87@gmail.com>
This commit is contained in:
parent
62cd347315
commit
590280869e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429983
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
PORTNAME= vault
|
||||
PORTVERSION= 0.6.4
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- vendor/github.com/hashicorp/go-syslog/builtin.go.orig 2016-12-30 09:29:42 UTC
|
||||
+++ vendor/github.com/hashicorp/go-syslog/builtin.go
|
||||
@@ -199,7 +199,7 @@ func (n *netConn) close() error {
|
||||
// local machine using a Unix domain socket.
|
||||
func unixSyslog() (conn serverConn, err error) {
|
||||
logTypes := []string{"unixgram", "unix"}
|
||||
- logPaths := []string{"/dev/log", "/var/run/syslog"}
|
||||
+ logPaths := []string{"/dev/log", "/var/run/syslog", "/var/run/log"}
|
||||
for _, network := range logTypes {
|
||||
for _, path := range logPaths {
|
||||
conn, err := net.DialTimeout(network, path, localDeadline)
|
Loading…
Reference in a new issue