From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40499: mcron missing initial directories? Date: Fri, 10 Apr 2020 10:27:44 +0200 Message-ID: <87y2r3yccf.fsf@gnu.org> References: <20200408003503.64a357da@scratchpost.org> <874ktu7152.fsf@gnu.org> <20200409203958.GU1518@E5400> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43148) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMp19-0002PP-9A for bug-guix@gnu.org; Fri, 10 Apr 2020 04:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMp18-0002vj-Cw for bug-guix@gnu.org; Fri, 10 Apr 2020 04:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMp18-0002ve-9A for bug-guix@gnu.org; Fri, 10 Apr 2020 04:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jMp18-0003Ws-6X for bug-guix@gnu.org; Fri, 10 Apr 2020 04:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200409203958.GU1518@E5400> (Efraim Flashner's message of "Thu, 9 Apr 2020 23:39:58 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 40499@debbugs.gnu.org Hi, Efraim Flashner skribis: > On Wed, Apr 08, 2020 at 11:55:05AM +0200, Ludovic Court=C3=A8s wrote: >> Hi Danny, >>=20 >> Danny Milosavljevic skribis: >>=20 >> > $ crontab -e >> > >> > In unknown file: >> > 0 (copy-file "/tmp/crontab.10313" "/var/cron/tabs/dannym") >> > >> > ERROR: In procedure copy-file: >> > In procedure copy-file: No such file or directory >> > >> > /var/cron doesn't exit either. Maybe we should automatically create /= var/cron ? >>=20 >> Yes, this should be done in an activation snippet. >>=20 > > Should this be part of a crontab service That=E2=80=99s what I had in mind. > or does the mere existence of the files allow cron tasks to start > working? Good question. Actually I think the crontab compatibility bit is rather separate in mcron: AIUI, you have to run =E2=80=98crond=E2=80=99, not =E2= =80=98mcron=E2=80=99, if you want that to get that functionality (info "(mcron) Invoking cron or crond"). So perhaps all this is moot unless/until we have an mcron-crond service. Ludo=E2=80=99.