File: change-path-unix-sockets.patch

package info (click to toggle)
python-gvm 26.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,220 kB
  • sloc: python: 45,844; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 699 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sophie Brun <sophie@kali.org>
Date: Thu, 22 Sep 2022 11:06:59 +0200
Subject: Change paths to unix sockets

Last-Update: 2025-05-26
Description: all unix sockets for gvm tools are in /var/run/gvm or
/var/run/ospd.
---
 docs/usage.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/usage.md b/docs/usage.md
index 3ce32d8..80d8306 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -272,7 +272,7 @@ from gvm.connections import UnixSocketConnection
 from gvm.protocols.latest import Osp
 
 # path to unix socket
-path = '/var/run/ospd-wrapper.sock'
+path = '/var/run/ospd/ospd-wrapper.sock'
 connection = UnixSocketConnection(path=path)
 osp = Osp(connection=connection)