From patchwork Wed Aug 14 21:28:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Kooman?= X-Patchwork-Id: 806 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director10.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id IPB3O5sOVV3bJgAAIUCqbw for ; Thu, 15 Aug 2019 03:49:48 -0400 Received: from proxy6.mail.ord1d.rsapps.net ([172.30.191.6]) by director10.mail.ord1d.rsapps.net with LMTP id 4PcyO5sOVV12KQAApN4f7A ; Thu, 15 Aug 2019 03:49:47 -0400 Received: from smtp23.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy6.mail.ord1d.rsapps.net with LMTP id QBQCO5sOVV3aJAAAQyIf0w ; Thu, 15 Aug 2019 03:49:47 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp23.gate.ord1d.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=tuxed.net; dkim=fail (signature verification failed) header.d=messagingengine.com; dmarc=none (p=nil; dis=none) header.from=tuxed.net X-Suspicious-Flag: YES X-Classification-ID: 3fe03024-bf31-11e9-97a1-525400bfb165-1-1 Received: from [216.105.38.7] ([216.105.38.7:38246] helo=lists.sourceforge.net) by smtp23.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 63/E4-32272-A9E055D5; Thu, 15 Aug 2019 03:49:46 -0400 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAVG-0002co-OP; Thu, 15 Aug 2019 07:48:58 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hyAVE-0002cc-Us for openvpn-devel@lists.sourceforge.net; Thu, 15 Aug 2019 07:48:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VSrX4I6OVE1t3UAxen0BUds0KDbrTGikEJ1MasCgce0=; b=lFY98umtSQ5KzObW4gPfb6P5XB TBO7apRE6vr9WU84vLQaV7RWy2OLpsju/1i3bn9JA5Zyyf3RpgWzXIV4XdToR1c45eI7SfPczWmDO 9RiXwm+O8kSbH6T0huBxm0j8rw5+A0aHlXZsUXbe1Ys4FQ337EapLHZt/HVwpPKTYJzg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=VSrX4I6OVE1t3UAxen0BUds0KDbrTGikEJ1MasCgce0=; b=X PTdnX/UPEiI4QcTvXuBvCO5GM2do7jHJQSE2r/M8q/OO6hc/LonRQfEXMNdx4Xze6Ba6tEg84cdQM 5eglRsvJ5iRtTwldHRfZYUgHePOUAUNkIqXq0Hyrp+aGkh+QckX9m0ZVpGZM0nvQ1e07KE+o8KLze ZtST/ZHfC1h4CvGI=; Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1hyAVA-006s8J-4o for openvpn-devel@lists.sourceforge.net; Thu, 15 Aug 2019 07:48:56 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4688821BBA; Thu, 15 Aug 2019 03:29:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 15 Aug 2019 03:29:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxed.net; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=fm3; bh=VSrX4I6OVE1t3UAxen0BUds0KD brTGikEJ1MasCgce0=; b=AaxClvm5PM41rTAovAOkHyXRsUVoJaE7tjURXSJMjZ jDt9vLM7Ror1s1wCrQWYN9ROAnhvYmRe6z6LqqAedKNE7iTkoxDngQ7Y2PFkm9ab WQZxg3x7AunC74jjnmW/ynFg3OorXF4w4VuqcW988cwOPs9PQzEeFz7faHgJ1Nbj iE9+25/6rLw0OHCmLJjSFCzcKtEzy+KImNwWKYCJKkwu5iTtnkwIlblDT8P2vedG 3umsieXMjdb0uHoofXIg6A42b51VhjyBVwNQYV5ng9B/K9MsYKiM2qAcJR9WjWzL /KLf3h2sWY9QLlnCCTUZE4TgGTt4zRDeAZKlMABUsHYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=VSrX4I 6OVE1t3UAxen0BUds0KDbrTGikEJ1MasCgce0=; b=EGtH5bTxdtv0H/sEJfxbqH mJo4a2txnDoHBa14r/Pl/M3JszP1qeRcJvTmNtIM/dX/8KPJECr6a7tm0rdTEEIO klPAUQAIbwR4xgHqtEgqipYHINYmrgvrmiDEBZ1MFQqJ9Ioig9wXlx+DhUy66ibY lihRXGs2DmaD2VWCMx9ZyXOClA3W2OwRjJ8k7i//p2dZ3X2cVfQmSitn/EwcID+U QWGJCQ3oEKYogNxIdfptQ9LtxQV9QHB0CPMDKL4DXPzYtSpu2jyDECuoMOZI7Ixd G5RzK69OeCK6B6M5jdKetvtb5GxRUpvBsUV7oKH/O1xNHPttSejyiMro9sEnyl9w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeftddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpefhrhgrnhopohhishcumfhoohhmrghnuceofhhkohhomhgrnhes thhugigvugdrnhgvtheqnecuffhomhgrihhnpehophgvnhhvphhnrdhnvghtnecukfhppe dugeehrdeltddrvddvkedrvdduieenucfrrghrrghmpehmrghilhhfrhhomhepfhhkohho mhgrnhesthhugigvugdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from fralen-tuxed-net.fritz.box (unknown [145.90.228.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D36A380083; Thu, 15 Aug 2019 03:29:25 -0400 (EDT) From: =?utf-8?q?Fran=C3=A7ois_Kooman?= To: openvpn-devel@lists.sourceforge.net Date: Thu, 15 Aug 2019 09:28:55 +0200 Message-Id: <20190815072855.21232-1-fkooman@tuxed.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: openvpn.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1hyAVA-006s8J-4o Subject: [Openvpn-devel] [PATCH] More specific syslog process name with systemd X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Adds the `--syslog` option to specify the unit and configuration name when using systemd. Signed-off-by: François Kooman --- distro/systemd/openvpn-client@.service.in | 2 +- distro/systemd/openvpn-server@.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distro/systemd/openvpn-client@.service.in b/distro/systemd/openvpn-client@.service.in index cbcef653..266d9f9c 100644 --- a/distro/systemd/openvpn-client@.service.in +++ b/distro/systemd/openvpn-client@.service.in @@ -10,7 +10,7 @@ Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO Type=notify PrivateTmp=true WorkingDirectory=/etc/openvpn/client -ExecStart=@sbindir@/openvpn --suppress-timestamps --nobind --config %i.conf +ExecStart=@sbindir@/openvpn --syslog %p@%i --suppress-timestamps --nobind --config %i.conf CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE LimitNPROC=10 DeviceAllow=/dev/null rw diff --git a/distro/systemd/openvpn-server@.service.in b/distro/systemd/openvpn-server@.service.in index d1cc72cb..be086b79 100644 --- a/distro/systemd/openvpn-server@.service.in +++ b/distro/systemd/openvpn-server@.service.in @@ -10,7 +10,7 @@ Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO Type=notify PrivateTmp=true WorkingDirectory=/etc/openvpn/server -ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf +ExecStart=@sbindir@/openvpn --syslog %p@%i --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE LimitNPROC=10 DeviceAllow=/dev/null rw