Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp553184ybi; Thu, 30 May 2019 02:59:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEk+km07KmY2qNV1Rlq21qF4kjE1in22pas7L83srN+BOb+XxeatDRap6X2Y1HMxLMKFID X-Received: by 2002:a17:90a:22d0:: with SMTP id s74mr2632934pjc.3.1559210375623; Thu, 30 May 2019 02:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559210375; cv=none; d=google.com; s=arc-20160816; b=poA8vJ6qFYeFXA9oCMr+1W60SxEcPlb5Sf+ie04AEsMIikHzu8W/LONzvSbqCa/O54 i54sdEonGRej9kvCIYCOxXQW+Oc/aR0EVNuNjbF30DSF9Rpf4VlurliSFKA2vAcrkkpr lSfIfeERTumt0jpJfWJZnk7j+U8WS+8h3mW3niqSg9gS847/jBZMN9LqulX3ZAXIT77B DEBMop1HIvatyTbvwsesJNitO+fRear4X/Yn3TW9NHNy2I9DFHrkUeJDQXlqcva2CUZr 6ptej/4XMojRrG+FNgL2Nvi/39cF3i1/UKMql+OFUovZ2UgjJ7x93Sm5jMf8/uOf++QO ggEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CD0Sep54/a15QTtMLkPPOMJHtdYqi36IwOpEKm8tg5U=; b=g8iXkvpBpcdlFNkdZuIP4LASB2wttrWFqnXIXc++y/Sew8M6LORVUCUyWOVM4We0lE Q0kAXYHpj1oHud5rn17eaEiM/QFnhV931uMEIIQ4O05CpF1NO5SV7kwq0gvaze2DNTsj 3/ZkUo+1Sn9oz1r5ICIdTXm08Le0Pq86nlCG1Wlz1F5gOU8KICjdRFEWOSWgS2IdiD97 lFz9Rh8iJBL03vuRu/r7jaX/LgT5n830KmtTLkHgvqNZxp7OWjrt3V44W9G0Rfsgmg7F u8a42I4JoW2JsnTZ2XHUR8DxA9LMG9KtdPgTofXQIXV5fgFQjojXYRKwNCO9QlQQZGyG r33w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o31si2393194pje.45.2019.05.30.02.59.11; Thu, 30 May 2019 02:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727171AbfE3J7L (ORCPT + 99 others); Thu, 30 May 2019 05:59:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:44128 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725913AbfE3J7K (ORCPT ); Thu, 30 May 2019 05:59:10 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AFF7DAF59; Thu, 30 May 2019 09:59:09 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 346BC1E3C08; Thu, 30 May 2019 11:59:07 +0200 (CEST) Date: Thu, 30 May 2019 11:59:07 +0200 From: Jan Kara To: Theodore Ts'o Cc: Lukas Czerner , linux-ext4@vger.kernel.org, Jan Kara Subject: Re: How to package e2scrub Message-ID: <20190530095907.GA29237@quack2.suse.cz> References: <20190529120603.xuet53xgs6ahfvpl@work> <20190529235948.GB3671@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190529235948.GB3671@mit.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed 29-05-19 19:59:48, Theodore Ts'o wrote: > On Wed, May 29, 2019 at 02:06:03PM +0200, Lukas Czerner wrote: > > What I am going to do is to split the systemd service into a separate > > package and I'd like to come to some agreement about the name of the > > package so that we can have the same name across distributions (at least > > Fedora/Debian/Suse). > > Hmm.... what keeping the service as part of the e2fsprogs package, but > then not enabling out of the box. That is, require that user run: > > systemctl enable e2scrub_all.timer > > in order to actually get the feature? (They can also disable it using > "systemctl disable e2scrub_all.timer".) > > As far as the cron job is concerned, we could just leave the crontab > entry commented out by default, and require that the user go in and > edit the /etc/cron.d/e2scrub_all file if they want to enable it. Not > packaging it also seems fine; Debian's support for non-systemd > configurations is at best marginal at this point, and while I'm not a > fan of systemd, I'm also a realist... > > What do folks think? Yeah, my plan is to just not package cron bits at all since openSUSE / SLES support only systemd init anyway these days (and in fact our distro people want to deprecate cron in favor of systemd). I guess I'll split off the scrub bits into a separate sub-package (likely e2fsprogs will suggest installation of this sub-package) and the service will be disabled by default. Honza -- Jan Kara SUSE Labs, CR