NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.1k stars 13.4k forks source link

vixie crontab(5) man page does not mention @reboot #70906

Open rbrewer123 opened 4 years ago

rbrewer123 commented 4 years ago

Describe the bug The man page for vixie cron's crontab format in nixos 19.03 does not mention the @reboot frequency directive, even though cron supports it.

To Reproduce Steps to reproduce the behavior:

  1. man 5 crontab
  2. Search for reboot
  3. Nothing found

Expected behavior The man page should document @reboot and any other @ frequency directives that are supported by the underlying cron.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
- cron

cc @aanderse

aanderse commented 4 years ago

Another upstream "bug". Generally we don't like to fix upstream bugs in the nixpkgs repo... but we're not going to see another release of cron so I guess we have to do something.

Taking a quick peak at Debian it seems they have modified the man pages themselves. I suppose we could just grab their man pages and ship that. heavily modified the man pages themselves, so I wouldn't want to just replace upstream man pages with theirs...

rbrewer123 commented 4 years ago

@aanderse A small patch to the man page sounds fine to me. I'd like to combine it with the PR for #70562.

stale[bot] commented 4 years ago

Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on irc.freenode.net.