Bug 134842 - Suggestion not to run prelink, updatedb when laptop is battery powered
Summary: Suggestion not to run prelink, updatedb when laptop is battery powered
Status: CLOSED DUPLICATE of bug 125779
Alias: None
Product: Fedora
Classification: Fedora
Component: anacron (Show other bugs)
(Show other bugs)
Version: 3
Hardware: All Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact: Brock Organ
Keywords: FutureFeature
: 134843 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2004-10-06 17:55 UTC by bednar
Modified: 2011-07-27 01:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:06:11 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description bednar 2004-10-06 17:55:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040612 Firefox/0.8

Description of problem:
I have an idea,

when laptop is battery powered the cron daily tasks should be started
after user confirmation. User should have choice not to run this power
consiming processes unless his laptop is plugged to AC outlet.
I imagine such requester:

Your machine is battery powered now. Do you allow to run cron daily
power consuming tasks (prelink, slocatedb, rpmdb) now?

Yes: Run it now!       No: run it later    No: run it when AC powered

Version-Release number of selected component (if applicable):

How reproducible:
Didn't try

Steps to Reproduce:

Actual Results:  prelink eat about 20% of my battery

Expected Results:  opposite to actual

Additional info:

Comment 1 Jakub Jelinek 2004-10-06 18:39:22 UTC
Well, that is a request for laptop aware anacron and/or cron, I don't
see this as something prelink or updatedb or other cron tasks
should be handling.
Well, it cron/anacron has some flag how to say this job takes a long
time, that could be set, sure.

BTW, prelink in rawhide should eat less CPU and be faster, in -q mode.

Comment 2 Jakub Jelinek 2004-10-06 18:49:42 UTC
*** Bug 134843 has been marked as a duplicate of this bug. ***

Comment 3 Jason Vas Dias 2004-10-06 18:55:38 UTC

*** This bug has been marked as a duplicate of 125779 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:06:11 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Comment 5 Jonas Thiem 2011-07-27 01:54:45 UTC
Is it possible to reopen this? It links to a duplicate-marked bug which links to another duplicate which is #190268 which doesn't appear to be clearly related, and also is resolved while this issue appears to be clearly not: I'm on F15 and it happily runs prelink right now although I'm just on battery which is quite odd.

Or is this feature actually supposed to be already implemented and working and is it just bugging for me now?

Note You need to log in before you can comment on or make changes to this bug.