From patchwork Tue Feb 14 08:15:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6521 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 "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PGDYf6QxLz3xHp for ; Tue, 14 Feb 2023 08:16:06 +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 "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PGDYZ4wY3z2dJ; Tue, 14 Feb 2023 08:16:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PGDYX6vmgz30HZ; Tue, 14 Feb 2023 08:16:00 +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 "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PGDYN4CHDz2ylM for ; Tue, 14 Feb 2023 08:15:52 +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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PGDYL6Vsvz1qR; Tue, 14 Feb 2023 08:15:50 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676362551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ALins5JUnThU3XmT7FEe2f2zUxeiJsgtu+cDeHTD320=; b=6KAiq0HwNgecMIkVO1Kd7loPzNFW5cbuYS/rMDZGx06ZNUZEmfNXCh0nTYoVlBnAngRpKc FUxbweSF1TG/r6Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676362551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ALins5JUnThU3XmT7FEe2f2zUxeiJsgtu+cDeHTD320=; b=Jmr9NxdmYP1/RrvdOfmnqhGtnyGEv6yDCXZXgrEgBc2QkwIMMamcF12L6loasTlABI0KiM fC5jVkoWQd6gteClWNdrz+m3es2rCFf+7gVz684iNUWW/VCza0xFr6xYh035xYfqkXCcey /oYf7z9NFzlBprOuo9vhufqebhZJ0nmObr4fcOOKABYOk/KahXot2/IW1eICkSsUoCa1Lw YAsTEwtGsnFSBnBsyVnJLk48P95fvg5kvpOvJ3mji8ypX6UUWUZVS3gQQOSn0YVBVGxPib c7ZAFwVrFlY2yxEGleeMYl6eHTzinIrnmTt57r2KbhPfagmTnThUoKGwNY9c+g== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 5/5] clamav: Silence output during user creation. Date: Tue, 14 Feb 2023 09:15:40 +0100 Message-Id: <20230214081540.125883-5-stefan.schantl@ipfire.org> In-Reply-To: <20230214081540.125883-1-stefan.schantl@ipfire.org> References: <20230214081540.125883-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 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: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- clamav/clamav.nm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clamav/clamav.nm b/clamav/clamav.nm index de834c6e0..43ac22edc 100644 --- a/clamav/clamav.nm +++ b/clamav/clamav.nm @@ -76,8 +76,8 @@ end create_users # Create user and group for clamav. - getent group clamav || groupadd -g 496 -r clamav || : - getent passwd clamav || useradd -u 496 -r -s /sbin/nologin \ + getent group clamav >/dev/null || groupadd -g 496 -r clamav || : + getent passwd clamav >/dev/null || useradd -u 496 -r -s /sbin/nologin \ -d / -M -g clamav clamav || : end