From patchwork Mon Oct 5 20:17:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Fitzenreiter X-Patchwork-Id: 3512 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4C4sMt1vbbz3x0l for ; Mon, 5 Oct 2020 20:17:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4C4sMn5Y1szvQ; Mon, 5 Oct 2020 20:17:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4C4sMn0qxhz304N; Mon, 5 Oct 2020 20:17:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4C4sMl1mrRz2xb4 for ; Mon, 5 Oct 2020 20:17:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4C4sMk6sVJz1Fd; Mon, 5 Oct 2020 20:17:22 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1601929043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=LC+NtOP+ys14jFF/uShAv+dEUPI0MN/kFcnS60lobLQ=; b=mST6isixRlspuDiBt2813A/cX9jZGIkHiyW28Gh3LT1SVSOeqdsicioQXcudP/K/F8oxJY ed2kwsLIMI0QOnAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1601929043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=LC+NtOP+ys14jFF/uShAv+dEUPI0MN/kFcnS60lobLQ=; b=KedrPbWm44oi0e3R+6a3CTj0EoQeQxx8vtqdWUGBH8odmDZSUGakrzeAfP7pYAc2ttUSlK b2IMH59awQlbErfQEJ3ovG0z3Ir6SAcwod5FxKq3LilGLgYuc5tC8SJ+OVgB/hMl9CKb/0 g+adhXZb2Ecv5PeRmVB35r884jS8d1vhaLYYDbq6fSYDF7i3+46hEuI1pK49LP6PcLxMkZ hKp32zWx0MzxjgbPcwyDRi2xcTIXuzwiATGtywudL3IPfdHlgUiPdDaeZ9NhUft0jhqWbF WuRcBxBhc2hahFUufhSIHXMU/Tlmei1m9PiYG5XFddzuG75RFuH7j/YyUYCBrg== From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH 4/9] samba initskript: create needed subdirs for pipes in /var/run/samba Date: Mon, 5 Oct 2020 22:17:06 +0200 Message-Id: <20201005201711.4259-4-arne_f@ipfire.org> In-Reply-To: <20201005201711.4259-1-arne_f@ipfire.org> References: <20201005201711.4259-1-arne_f@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=arne_f@ipfire.org smtp.mailfrom=arne_f@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arne Fitzenreiter Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Arne Fitzenreiter --- src/initscripts/packages/samba | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/initscripts/packages/samba b/src/initscripts/packages/samba index 614c9b834..2aab39977 100644 --- a/src/initscripts/packages/samba +++ b/src/initscripts/packages/samba @@ -9,9 +9,10 @@ function fix_permissions() { local lockdir="/var/lib/samba/winbindd_privileged" - chmod 750 "${lockdir}" chgrp wbpriv "${lockdir}" + + mkdir -p /var/run/samba/{nmbd,ncalrpc,winbindd} } case "$1" in