From nobody Sat Dec 23 21:23:02 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SyHFj1d9lz5529l for ; Sat, 23 Dec 2023 21:23:05 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SyHFj17ltz4R8Q; Sat, 23 Dec 2023 21:23:05 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703366585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UZTb30dbfwKPbGyV2xppFZ9wGfeb+cO2CRPTI9tOVKE=; b=NWpeuF2ywE8It1xR5w5UOx+aWfY/5KHKbyGVqIgE7UV6jWIn+ey9u2e67oSnjtQEqNSCvg lH+g6tIw+uimVHUD4DeRwzClVB4qDwM4WQLnBBIdJJQQsvc7IOVA/zvWlGH6Qn6HeY2vjr cOdpN6Co+D25w9HygviuQ0maPDCpwH7oCt/LWtO+65F54nHHDvDHpj9YHWJt+Y1D3+ksJG Zc/AdeKHGP8PtYVIJXGvsfW4iXTCaqlB5bE2tz+lS1QtxZGkd4ZAlkbkW9T6wvD8wkR8rk WDgWYIX5k+xSGIxZERXcKahMrFUzVaKC8238LwjthjkWo2RnZc9aVv7qLpqG/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703366585; a=rsa-sha256; cv=none; b=rSmqDMQbQ85XcONCRLjMdaANkLKxNVMDJO9jMeEB5XfLd5t5ibO8ufqTI6cjFpBIYoud0v xdkoFraQDERlTC7nfKwR2Dai/8hYaXtW1ABdQ/FABhsPLFz5u5ChFdiPsGHzDmHEvv5rri gPvRK53633LA+ED/pvFntahGwf7OW+1W65RrNdnalp4k1H8VHOyKrZGOO2gA6J4dQHyM6J zAQet2t618Mrt7sjNTOYcc9EmlUZfj16EpaRbQDglUCleu3aeolKAtEfhVv+5Pe4XaxSJw GmN7odMHwrbfsLmvvqraWbbMn+A1LhZSVLG2SGid12BuY8ZHgeJaG0I2LUWqwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703366585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UZTb30dbfwKPbGyV2xppFZ9wGfeb+cO2CRPTI9tOVKE=; b=BvnObzbwalyAC8sRfaRyBHLJWHIMW029yO5hRmXsAJSaKzn5GjLqilaW1/MsID+ZW26QKY jIKr/x4bXX06xQKj5b2C0GdX5RJ+JyWRNPkOE+Go/y53B1LmQaur+yGZnWQXWFIJdX2acF vfoYlDUmVbfNYQC4866PPvMdoPuDHBHvis5Vweumiirf1NFQwM6Oow+sxWACl+DFrlzxOt iqKo+FldRG3ZjCOfGdcyBxio6LfAKbnCUVawQq1aK7uBcSxYJ7AhZL31ahJc3+ltYbZ6lc 990xlXBmvipc9PziJbIIF/4PmHEK/aFYZnqgbTpHwatNwBu8B2hDOGUkKLPilA== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800:2e0:edff:fece:8f27]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SyHFh52Tcz1GCW; Sat, 23 Dec 2023 21:23:04 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: Date: Sat, 23 Dec 2023 13:23:02 -0800 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Proposal: Disable compression of newsyslog by default Content-Language: en-US To: Konstantin Belousov , d@delphij.net Cc: freebsd-current@freebsd.org References: From: Craig Leres In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/23/23 06:52, Konstantin Belousov wrote: > This is strange change at best. I have no opinion about the disabling > of compression of the rotated logs by default, but we already have knobs > to do that. Adding a knob that disables (or enables) other knobs to work > is weird. I totally agree. This moves the compression knob from the config file to the command line. And what if the user wants some but not all files to be compressed? Or wants to use different compression with different log files? > If you want to change the compression, update the default configuration file. I also think this is the best approach. Given the current freebsd-update workflow, users will get to deal with changes to the default newsyslog.conf via mergemaster. And having converted a number of systems from newsyslog compression to zfs compression, just changing the config file is not the only change needed, users will still need to compress/uncompress existing log files. Craig