Bug 1653 - Indexing on battery even while preference says not to
Summary: Indexing on battery even while preference says not to
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM, validated_update
Depends on:
Blocks:
 
Reported: 2011-06-06 23:43 CEST by Reinout van Schouwen
Modified: 2011-10-20 15:03 CEST (History)
4 users (show)

See Also:
Source RPM: tracker
CVE:
Status comment:


Attachments

Description Reinout van Schouwen 2011-06-06 23:43:48 CEST
Description of problem:
In the Tracker preferences, I have unchecked 'Enable when running on battery' in the Indexing tab.
Even so, tracker-store is happily indexing my home directory when my laptop is disconnected from power.

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

How reproducible:
I haven't seen it before

Steps to Reproduce:
1. Install Tracker
2. Disable indexing on battery
3. Disconnect from power and log in
4. check if tracker-store is running
Comment 1 Ahmad Samir 2011-07-20 18:10:14 CEST
Please report this issue upstream.
Comment 2 Reinout van Schouwen 2011-07-20 21:43:18 CEST
(In reply to comment #1)
> Please report this issue upstream.

Reported as https://bugzilla.gnome.org/show_bug.cgi?id=655000
Ahmad Samir 2011-07-20 21:48:57 CEST

See Also: (none) => https://bugzilla.gnome.org/show_bug.cgi?id=655000

Manuel Hiebel 2011-08-26 22:20:43 CEST

Keywords: (none) => UPSTREAM

Comment 3 Samuel Verschelde 2011-10-01 02:54:14 CEST
Assigning to maintainer now that our maintainers database has an entry for
this package. Please assign back to bugsquad@mageia.org in case of a mistake
from me.

CC: (none) => stormi
Assignee: bugsquad => jani.valimaa

Comment 4 Jani Välimaa 2011-10-01 13:45:06 CEST
Had to enable HAL support to possibly fix this. Pushed new release [1] to core/updates_testing, please test it.

[1] tracker-0.8.17-4.1.mga1
Manuel Hiebel 2011-10-01 15:27:36 CEST

CC: (none) => jani.valimaa
Hardware: x86_64 => All
Assignee: jani.valimaa => qa-bugs

Comment 5 Reinout van Schouwen 2011-10-01 23:13:13 CEST
(In reply to comment #4)
> Had to enable HAL support to possibly fix this. Pushed new release [1] to
> core/updates_testing, please test it.
> 
> [1] tracker-0.8.17-4.1.mga1

Hmm, I enabled core/updates testing, and:

$ sudo urpmi tracker
Pakket tracker-0.8.17-4.mga1.x86_64 is reeds geïnstalleerd

urpmi claims the package is already installed. Are you sure the version number is correct?
Comment 6 Manuel Hiebel 2011-10-02 00:59:05 CEST
it's tracker-0.8.17-4.*1*.mga1 :)
Comment 7 claire robinson 2011-10-02 01:14:50 CEST
Our script says that some deps have been added from core/release

acl
cryptsetup
hal
hal-info
libcryptsetup1
libhal1
libpolkit2
pciutils
policykit
usbutils

Does that seem correct?
Comment 8 Samuel Verschelde 2011-10-02 08:55:13 CEST
(In reply to comment #5)
> (In reply to comment #4)
> > Had to enable HAL support to possibly fix this. Pushed new release [1] to
> > core/updates_testing, please test it.
> > 
> > [1] tracker-0.8.17-4.1.mga1
> 
> Hmm, I enabled core/updates testing, and:
> 
> $ sudo urpmi tracker
> Pakket tracker-0.8.17-4.mga1.x86_64 is reeds geïnstalleerd
> 
> urpmi claims the package is already installed. Are you sure the version number
> is correct?

Your Core Updates Testing media is probably not up to date. Run urpmi.update Testing then try again.
Comment 9 claire robinson 2011-10-02 12:15:17 CEST
This doesn't appear to have fixed the issue. tracker-store still starts - and is a big cpu hog! - on battery power. I tried with logging out and even rebooting.
Comment 10 claire robinson 2011-10-02 12:17:40 CEST
Should say, I tested i586.

Can you confirm Reinout?
Comment 11 claire robinson 2011-10-04 11:54:22 CEST
Testing again i586 this does seem to be working now. I'm not sure what has changed, perhaps just applying the existing settings has stored them where they weren't before.

The icon is still displayed as if it is indexing, although it is set to only display when indexing, and tracker-store is still running but tracker-store is taking virtually no CPU.

When plugged back in, tracker-store takes maximum CPU. Unplugged again and it returns to idle.

The status icon should not display though when it is not indexing.
Comment 12 claire robinson 2011-10-04 11:55:16 CEST
This will require testing x86_64 also, I don't have a modern laptop to do that with.
Comment 13 Reinout van Schouwen 2011-10-05 00:52:00 CEST
Confirmed fixed on my x86_64 system!
Comment 14 claire robinson 2011-10-05 11:31:34 CEST
Thanks Reinout.

Update Validated.


Advisory:

--------------

This update corrects an issue with tracker where it would index on battery power when set not to. It may require anybody affected by this to re-apply their tracker settings once updated.

--------------

Source RPM: tracker-0.8.17-4.1.mga1.src.rpm

Please note that the following package are new deps so will require linking from core/release to core/updates.

acl
cryptsetup
hal
hal-info
libcryptsetup1
libhal1
libpolkit2
pciutils
policykit
usbutils

Could sysadmin please push from core/updates_testing to core/updates and do the required linking.

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 15 Samuel Verschelde 2011-10-08 00:35:59 CEST
And here is the list of packages to link for x86_64:
acl-2.2.49-5.mga1 (Core Release)
cryptsetup-1.3.0-1.mga1 (Core Release)
hal-0.5.14-6.mga1 (Core Release)
hal-info-0.0-5.20091130.3.mga1 (Core Release)
lib64cryptsetup1-1.3.0-1.mga1 (Core Release)
lib64hal1-0.5.14-6.mga1 (Core Release)
lib64polkit2-0.9-8.mga1 (Core Release)
pciutils-3.1.7-3.mga1 (Core Release)
policykit-0.9-8.mga1 (Core Release)
usbutils-0.91-1.mga1 (Core Release)

Same as i586 except lib names.
Comment 16 Thomas Backlund 2011-10-20 15:03:20 CEST
Update pushed.

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


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