From: "Ludovic Courtès" <ludo@gnu.org>
To: Marcin Karpezo <sirmacik@wioo.waw.pl>
Cc: 40950@debbugs.gnu.org
Subject: [bug#40950] [PATCH] mcron, create /var/cron/tabs on activation
Date: Sat, 02 May 2020 15:44:35 +0200 [thread overview]
Message-ID: <87mu6q78os.fsf@gnu.org> (raw)
In-Reply-To: <fdc3df69-e352-48bd-8222-6db93f746a41@localhost> (Marcin Karpezo's message of "Sat, 2 May 2020 10:03:51 +0000 (UTC)")
Hi Marcin,
Marcin Karpezo <sirmacik@wioo.waw.pl> skribis:
> 2 maj 2020 00:06:16 Ludovic Courtès <ludo@gnu.org>:
>
>> Hi Marcin,
>> Marcin Karpezo <sirmacik@wioo.waw.pl> skribis:
>>
>>
>> > With big rekado help I'm sending you a patch with at least
>> > partially fixes the issue of crontab -e reporting missing
>> > /var/cron/tabs directory.
>> >
>> Unless I’m mistaken, creating /var/cron/tabs will silence “crontab
>> -e”, but those entries will still be ignored because mcron’s crond
>> is not running (IIRC the cron functionality of mcron is separate and
>> requires you to run crond, which we don’t do.)
>> One option would be to write a different service altogether running
>> that daemon and creates /var/cron/tabs like you did.
>> Another option would be to remote the ‘crontab’ program from our
>> ‘mcron’ package to at least avoid disappointments.
>> Thoughts?
>
> Why won't start supporting and running mcron's crond daemon? That way
> guix will finally have normal fully functional cron which will ease
> administration not only on personal machines but also on server
> side. It's nice to have everything defined in one config file but it
> isn't as handy for multiuser setup.
Yeah I agree. (I personally run a user shepherd, itself starting a user
mcron, but I admit that’s a config not everyone may be willing to
replicate.)
> I think instead of avoiding disappointment it would be better to
> positively surprise the users. I know that guix thrives in what sets
> it apart from other distros, but it's better to keep things standard
> whenever its possible and follow the rule of least
> surprise. Especially if it won't be damaging for the goals of the
> project.
Agreed!
That brings us to my first proposal above: writing a crond service that
runs mcron’s crond. Would you like to give it a try?
(There’s also scron available. I think someone had proposed a service
for it, but I can’t find it.)
Thanks,
Ludo’.
next prev parent reply other threads:[~2020-05-02 13:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 21:28 [bug#40950] [PATCH] mcron, create /var/cron/tabs on activation Marcin Karpezo
2020-05-01 22:05 ` Ludovic Courtès
2020-05-02 10:03 ` Marcin Karpezo
2020-05-02 13:44 ` Ludovic Courtès [this message]
2020-05-25 18:08 ` sirmacik
2020-06-17 12:43 ` [bug#40950] Mcron originator: My opinion Dale Mellor
2020-06-17 12:50 ` Dale Mellor
2021-08-09 16:12 ` [bug#40950] [PATCH] mcron, create /var/cron/tabs on activation Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu6q78os.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=40950@debbugs.gnu.org \
--cc=sirmacik@wioo.waw.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).