From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 683813858D1E for ; Wed, 17 Aug 2022 12:27:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 683813858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 911ED37731; Wed, 17 Aug 2022 12:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1660739219; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6KA5v1k2sxylWJSyRcZRvJIk4sRPHaxkvXtFD7s6Qd0=; b=vQRQ0YPAyiZJ7aTL8AoAZFpC5UboONgkuOjBGd9EQvvtjibFTxTUflRjJPhTXuY0em7SmB bg43pgz44tiPEj8Yuj6r24D6HkuTygG/rjlRG27QSDBacY7VZ0A3pCSQM0aDnuIFBEiRc1 Z1ORO0HhOfVc0Zx11iK9ZVoJSxR7p48= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1660739219; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6KA5v1k2sxylWJSyRcZRvJIk4sRPHaxkvXtFD7s6Qd0=; b=K+C6t7t8bsPiyaJa3asKsDHp5Xavx3+NHjs2vaJUbQMr/aTmyQ2n+3iR8HLRusiVnMo1G8 oWBP/3ZWGsQywbCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 78A4B13428; Wed, 17 Aug 2022 12:26:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OdSMHJPe/GJxPgAAMHmgww (envelope-from ); Wed, 17 Aug 2022 12:26:59 +0000 Message-ID: <06ae321a-4ed7-2352-59c0-e434fe58175a@suse.cz> Date: Wed, 17 Aug 2022 14:26:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [PATCH] Add new debuginfod.sysconfig value DEBUGINFOD_EXTRA_ARGS To: elfutils-devel@sourceware.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2022 12:27:02 -0000 Split DEBUGINFOD_PATHS and put non-path arguments to the newly created variable called DEBUGINFOD_EXTRA_ARGS. Signed-off-by: Martin Liska --- config/debuginfod.service | 2 +- config/debuginfod.sysconfig | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/debuginfod.service b/config/debuginfod.service index b64d8cb9..4c7785a9 100644 --- a/config/debuginfod.service +++ b/config/debuginfod.service @@ -8,7 +8,7 @@ EnvironmentFile=/etc/sysconfig/debuginfod User=debuginfod Group=debuginfod #CacheDirectory=debuginfod -ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS +ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS $DEBUGINFOD_EXTRA_ARGS # Stopping can take a long time if scanning of large archives is in progress TimeoutStopSec=60 PrivateTmp=yes diff --git a/config/debuginfod.sysconfig b/config/debuginfod.sysconfig index 890a1a25..ae49a5af 100644 --- a/config/debuginfod.sysconfig +++ b/config/debuginfod.sysconfig @@ -1,9 +1,10 @@ # DEBUGINFOD_PORT="8002" +DEBUGINFOD_EXTRA_ARGS="-t43200 -F -R" #DEBUGINFOD_VERBOSE="-v" # some common places to find trustworthy ELF/DWARF files and RPMs -DEBUGINFOD_PATHS="-t43200 -F -R /usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp" +DEBUGINFOD_PATHS="/usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp" # prefer reliability/durability over performance #DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'" -- 2.37.1