Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713984 - sys-apps/man-db: make cron job optional use
Summary: sys-apps/man-db: make cron job optional use
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-22 12:53 UTC by Dennis Lamm
Modified: 2020-03-22 12:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lamm gentoo-dev 2020-03-22 12:53:06 UTC
Currently cron job is always installed. 
Also the systemd service and timer is always installed.

On Systemd systems cron job is unnecessary.
Therefore it would be good to introduce a cron use flag to copy the cron job.

On non-systemd systems systemd service and timer (since 2.8.5) are unnecessary.
Therefore it would be good to depend on systemd use flag for these.

Reproducible: Always

Steps to Reproduce:
1. emerge man-db

Actual Results:  
/etc/cron.daily/man-db present on all init system

/lib/systemd/system/man-db.service and /lib/systemd/system/man-db.timer present on all init systems

Expected Results:  
conditionally install required job / timer.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-03-22 12:59:05 UTC
This has already been discussed to death in the past. We won't do conditional installation of small files like systemd units/timers, init scripts, bash-completion or cron job files.
This is just a waste of compile time once such a USE flag gets toggled.