From patchwork Fri Dec 6 09:29:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Leeman X-Patchwork-Id: 3976 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:1d8b:b0:5dc:2311:f747 with SMTP id hp11csp741118mab; Fri, 6 Dec 2024 01:30:02 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVk25htDw+VQk5T2xAgvsMqbwEHKnlrQ5FxPf+JH/FRvMYHXYg7Eonc6liChwRBuP6Bl0fjQo4FYJA=@openvpn.net X-Google-Smtp-Source: AGHT+IEg4jRE6HNJgGevvmKazY/Zk+R6CItvUTS5xaM0PFWJgkY0du4L9OvmRT99bf+LRV1vocun X-Received: by 2002:a05:6808:14c5:b0:3ea:6708:51af with SMTP id 5614622812f47-3eb19cd3afamr980900b6e.20.1733477401863; Fri, 06 Dec 2024 01:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733477401; cv=none; d=google.com; s=arc-20240605; b=gSRxeTYiFNX6gSt44ZMkW3PyOi5NWSk/uBewKSmeHY02LeoLtoDdJYiJu/KydVEtiI 0W5XetaHZ1R//7Yio2Y47yMpCEVoiMasn3Qgr4TcpYBcr4gP+7J4LFGtDdrf4mEKUJi0 ttgzge0mTV+kHG36e2mwRR/8txDns3heQxah/zbnZOlrBWNWSmjXgzqOyovkGk8dldKs Cx9vbI+8DgzkIlYDVGGFFVqNraJCvqF6knvCb9JWvp06UaAXJXiuFoNHw/dSyJbpVzGT iJ8aiUTf1ojOCv+10JKaVxrlnc8YzF6aGtOBvDMv2ct6+l+Y4107X4w+UNp7HJfQLJJi FY+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:to:message-id:date:from :mime-version:dkim-signature:dkim-signature:dkim-signature; bh=GUZOppxnJUNEQZ3OBg1OxaVXantfAKDrsnZqkga0TDg=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=TLajG030CyXEtWTcSxI+aNvRM4hL5oHAYat1eXUVkndqwQj9CUzwgtWqk2wGbfYrJF 3Qu/HgEtCFXvrfM5pZEVsMhQwCRx522cdq2//YuWuLEzkVYZ06M1E4uBBrTUMqSaehcZ 8d2zljkyAxlZZjvAtTZTmLFrwvMCcJ0wOb0txe0UDSdG/dt4M+lf5pc8RVyBcsEghPov l6JZRiDWYkzgmBE1wF0CnT6HEKhz4QwoKy5gK+34yGt2QFxUXhqEsEa6upAcHguURA2M shfDggaNHfwKgyd5BL/g/jGnOti+xNDSv8I8xHS6qvDGviFZ/ZN6ejbDVBQ9Wm+4LsqT nY5w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=Ot4+Pd6O; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=DmsYMrYW; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=Tb9vxpss; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@openvpn.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 5614622812f47-3eb07837cabsi1603229b6e.149.2024.12.06.01.30.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Dec 2024 01:30:01 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=Ot4+Pd6O; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=DmsYMrYW; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=Tb9vxpss; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@openvpn.net Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tJUep-0004oI-8F; Fri, 06 Dec 2024 09:29:54 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tJUei-0004nw-9b for openvpn-devel@lists.sourceforge.net; Fri, 06 Dec 2024 09:29:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding: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=r+Bey9r6Zk605s338nwprVp3saC4i3clDYC9ljx+hIU=; b=Ot4+Pd6OIsxd1OlSq7v9lV7dE3 vMZqNsVxxE+4ZjiafiKQNmV+sHStaEgtA/yjDhJXHBqGzaQ8g2YCVDRVy02qiFiwZcKHbn1Io9WSb 0EpBcsqFFNQEf+QFAiN2WZXNRSGxci+zQuasE1SRFFIByzcAzIM5EncZHVGB0BKGHta0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding: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=r+Bey9r6Zk605s338nwprVp3saC4i3clDYC9ljx+hIU=; b=D msYMrYW7UZ/pXETXaW98y0uhjFIFAi9BsQOEsy3BKsM1ZugRhu2xwbr+6nu1tEuTCXLQt9BhrinDY 5tKTRJCy4VMdqwJjJnIpzRT2/wDYzRXghag3U250bqKPRZ4cjHjwyrYuKvUXe3O1wqIsMUjMv1WRl +12V1pKsFxLl6Avw=; Received: from mail-yw1-f169.google.com ([209.85.128.169]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1tJUeg-0008Eb-J8 for openvpn-devel@lists.sourceforge.net; Fri, 06 Dec 2024 09:29:47 +0000 Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-6ef60e500d7so12066047b3.0 for ; Fri, 06 Dec 2024 01:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733477376; x=1734082176; darn=lists.sourceforge.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=r+Bey9r6Zk605s338nwprVp3saC4i3clDYC9ljx+hIU=; b=Tb9vxpsspMdTDDuIABTKLsZsOTdXzTI/lilEru6mM3LykjCRDmuLSmMhzMWvncBDpy Y8WRnxQWCNHHF+9LhTX+Ob5jMyoCTtk3u+PNwfkiNNG1m1pKQNkBajBx9Odgm4usbhVD +KQnIylFV1jHZmJtxglsSaHVeS/v2qAQitaYfbIGhghU+FbYPZKIsPY2PbXGT0Djuie8 nlX7DI6Kgu//nILSWJGb11fHRyO7hSZddZRIQTgzrx+xwy1N5jmzNeayhzDiYZFBavI7 nC3XVmf89m7ww3EMK6FumL2jfb7PN3JFCDXoYJCfwwccaSVoxt9BRgQqb0FuqjVMRMSf 3GZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733477376; x=1734082176; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=r+Bey9r6Zk605s338nwprVp3saC4i3clDYC9ljx+hIU=; b=CaPEt/qjC68MmWnl+KnnWugn8Y8Q36Bw3f0sSAMUdjDHwib+pcj2q3k7UaxsNBRyQA lskzh5RG1+AUoY1IvBf7xFQEaQFgBaXQX+1IsG1gN2l3oXrc2yjHwjPAg7tmrYfyTo4Z Q2dzapIn00Oaamj7FFQ5xlnEJAwHhI5rv2zqlUuUKrJZ0ItZhlf5ugSOzHKOlnNCAXip a+xJjoAZWR1uQ9w4JJ71EfmC2Qb0V81LOyDaCYlG0HiRVbLJq32TcqFmfo0dlSZIpYKU o4G0wF7o738Db6OUSnLW/XoikpUC9tLdO3jQon8rvqWEOEetG3b8hPOz7UGfF1vNCusv Q0pQ== X-Gm-Message-State: AOJu0Yz6udV0/NoMGyCehQhHbusV4FZkNlmQXNjR0WjMZCaPQ80lLIyQ vuw+vNMhKQpcIExutKD7grozmosTJkRy16aDOUsf+W3frhyIC5+kfE7AnVRHd8l/QM280Ka++x9 hzkz8iXw1ZMLly5Pw3nI4zgA2vdU1nzmG X-Gm-Gg: ASbGnctHWNOqMFBGJ31wg3Edns7gGwCaD8DTLfc7vZGkJmYRWTgYbD8jsFYSKEGK1FN 3mTt9uxn0jeQEsLXfR8WVyD98Hau0oRiG7Q== X-Received: by 2002:a05:690c:6f05:b0:6e5:9d3c:f9d3 with SMTP id 00721157ae682-6efe3c75bb9mr25327387b3.41.1733477375665; Fri, 06 Dec 2024 01:29:35 -0800 (PST) MIME-Version: 1.0 From: Marc Leeman Date: Fri, 6 Dec 2024 10:29:19 +0100 Message-ID: To: openvpn-devel@lists.sourceforge.net X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: David, cf. att. -- g. Marc Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.169 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.169 listed in sa-accredit.habeas.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [marc.leeman[at]gmail.com] -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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.169 listed in wl.mailspike.net] X-Headers-End: 1tJUeg-0008Eb-J8 Subject: [Openvpn-devel] SystemD user names 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 X-GMAIL-THRID: =?utf-8?q?1817682800156619364?= X-GMAIL-MSGID: =?utf-8?q?1817682800156619364?= David, cf. att. Description: Remove hard coded `openvpn` user in meson files The build system allows to replace the default `openvpn` user with some other name. This works for most services, but during refactoring, 3 hard coded references were omitted. This popped up while packaging for debian since the system users should be prepended with a '_'. Author: Marc Leeman Forwarded: https://github.com/OpenVPN/openvpn3-linux/issues/193#issuecomment-2522399889 Last-Update: 2024-12-06 Index: openvpn3-client/src/configmgr/meson.build =================================================================== --- openvpn3-client.orig/src/configmgr/meson.build +++ openvpn3-client/src/configmgr/meson.build @@ -45,7 +45,6 @@ configure_file( 'BUSNAME': 'net.openvpn.v3.configuration', 'SERVICE_BIN': bin_backend_configmgr.name(), 'SERVICE_ARGS': '--state-dir "' + openvpn3_statedir + '/configs"', - 'OPENVPN_USERNAME': 'openvpn', } ), install: true, Index: openvpn3-client/src/log/meson.build =================================================================== --- openvpn3-client.orig/src/log/meson.build +++ openvpn3-client/src/log/meson.build @@ -44,7 +44,6 @@ configure_file( 'BUSNAME': 'net.openvpn.v3.log', 'SERVICE_BIN': bin_backend_log.name(), 'SERVICE_ARGS': '--state-dir "' + openvpn3_statedir + '"', - 'OPENVPN_USERNAME': 'openvpn', } ), install: true, Index: openvpn3-client/src/sessionmgr/meson.build =================================================================== --- openvpn3-client.orig/src/sessionmgr/meson.build +++ openvpn3-client/src/sessionmgr/meson.build @@ -46,7 +46,6 @@ configure_file( 'BUSNAME': 'net.openvpn.v3.sessions', 'SERVICE_BIN': bin_backend_sessionmgr.name(), 'SERVICE_ARGS': '', - 'OPENVPN_USERNAME': 'openvpn', } ), install: true,