[systemd-devel] Power aware units
Jan Engelhardt
jengelh at inai.de
Mon Nov 4 10:25:29 PST 2013
On Monday 2013-11-04 16:52, Lennart Poettering wrote:
>>
>> Those _were_ all cron jobs. I don't think that any of those should be
>> cron jobs, especially the 4 AM update-db or man-db runs. Anacron is just
>> patching over the fact that most machines aren't running at that time of
>> day.
>
>Well, but if not cronjob, what should they be?
Some wishful thinking: daemons. locate would be a lot more useful if
it was constantly adding new entries to its database -- perhaps
fsnotify, or whatever became of "efficiently watching directory
changes recursively"-- would be of use.
mandb itself seems to be for keyword searches à la whatis/apropos,
but not for plain "man" operation where you look up by page/filename,
like man systemctl. It will (or should) know to just glob
in /usr/share/man/ for systemctl.*.
>Hmm, so correct me if I am wrong: UPS stuff is only last-resort kind of
>stuff: i.e. when we run off UPS we are in the process of shutting down
>anyway, right? I mean, UPSes are not something that is used for
>continous operation, it's just the fallback in the case shit happens?
Shutdowns are not triggered when power is lost first, but after
perhaps 2–10 minutes (take your pick). Not all servers are terribly
overloaded with VMs, "enterprise" databases and sysvinit scripts that
take ages to shutdown.
More information about the systemd-devel
mailing list