Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1130617

Bug#1027260: vtund doesn't create pidfile for client process like vtund.NAME-10.1.2.3.pid

From Andrey A Lyubimets <alyubimets@xiag.ch>
Newsgroups linux.debian.bugs.dist
Subject Bug#1027260: vtund doesn't create pidfile for client process like vtund.NAME-10.1.2.3.pid
Date 2022-12-29 05:20 +0100
Message-ID <FHSyB-e1fq-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: vtun
Version: 3.0.4-2
Severity: normal

Dear Maintainer,

Since v3.0.4 vtun doesn't create pidfile for client process like vtund.NAME-10.1.2.3.pid. 
It always rewrites pid in /run/vtund.server.pid that is wrong. 

I think this is upstream's regresion between v3.0.3 and v3.0.4
Replacing a single line in main.c returns the previous behavior

@@ -258,7 +258,7 @@
 	server(sock);
      } else {
         init_title(argc,argv,env,"vtund[c]: ");
-	write_pid("server", NULL);
+	write_pid(host->host, vtun.svr_name);
         client(host);
      }


-- System Information:
Debian Release: 11.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-18-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vtun depends on:
ii  libc6      2.31-13+deb11u5
ii  liblzo2-2  2.10-2
ii  libssl1.1  1.1.1n-0+deb11u3
ii  lsb-base   11.1.0
ii  udev       247.3-7+deb11u1
ii  zlib1g     1:1.2.11.dfsg-2+deb11u2

vtun recommends no packages.

vtun suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1027260: vtund doesn't create pidfile for client process like vtund.NAME-10.1.2.3.pid Andrey A Lyubimets <alyubimets@xiag.ch> - 2022-12-29 05:20 +0100

csiph-web