[Bug 619734] New: On start, kupdateapplet believes it's on battery but installed inside VirtualBox
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c0 Summary: On start, kupdateapplet believes it's on battery but installed inside VirtualBox Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: psikodad@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=373683) --> (http://bugzilla.novell.com/attachment.cgi?id=373683) warning message that kupdateapplet is on battery User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.4) Gecko/20100611 SUSE/3.6.4-6.1 Ant.com Toolbar 2.0.1 Firefox/3.6.4 kupdateapplet believes it's on battery, but it's installed in VirtualBox. Therefore, it can't search for updates (you have to force kupdateapplet to search for updates) Also, sysinfo:/ said it's on AC. => maybe kupdateapplet fault? Reproducible: Always Steps to Reproduce: 1. install KDE live CD RC2 (32-bit) 2. restart 3. Actual Results: kupdateapplet believes it's on battery Expected Results: kupdateapplet should know it's on AC similar bug https://bugzilla.novell.com/show_bug.cgi?id=619550 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c1 Jan Dosoudil <dosi@quick.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P0 - Crit Sit CC| |dosi@quick.cz Platform|i586 |PC OS/Version|Other |openSUSE 11.3 Severity|Normal |Critical Flag| |SHIP_STOPPER? --- Comment #1 from Jan Dosoudil <dosi@quick.cz> 2010-07-03 12:02:27 UTC --- I'm running 11.3 RC2 on real system (ThinkPad R60, x86_64) and have same problem. Kupdateapplet says something like (translate from Czech): "Can't check for updates. System running on battery." So applet never check for updates. I think this is ship stopper for 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c2 Martin Corino <mcorino@remedy.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcorino@remedy.nl --- Comment #2 from Martin Corino <mcorino@remedy.nl> 2010-07-03 16:54:03 UTC --- Same here. Updated my Dell M4500 from 11.2 to 11.3. RC today. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c3 Jürgen Radzuweit <jradzuweit@jarf.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jradzuweit@jarf.de --- Comment #3 from Jürgen Radzuweit <jradzuweit@jarf.de> 2010-07-03 19:38:07 UTC --- After updating my Samsung Q35 I have the same problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c4 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P0 - Crit Sit |P1 - Urgent Status|NEW |NEEDINFO CC| |coolo@novell.com InfoProvider| |psikodad@gmx.de Flag|SHIP_STOPPER? |SHIP_STOPPER+ --- Comment #4 from Stephan Kulow <coolo@novell.com> 2010-07-05 10:45:11 CEST --- please try: bash -x /usr/bin/on_ac_power -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c5 --- Comment #5 from Martin Corino <mcorino@remedy.nl> 2010-07-05 09:09:42 UTC --- This results in: + ret=0 + for ps in '/sys/class/power_supply/*' + '[' -r /sys/class/power_supply/AC/online ']' + ret=1 + read -r ps_status + for ps in '/sys/class/power_supply/*' + '[' -r /sys/class/power_supply/BAT0/online ']' + continue + exit 1 Is this what you needed? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c6 Dominik Platz <psikodad@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|psikodad@gmx.de | --- Comment #6 from Dominik Platz <psikodad@gmx.de> 2010-07-05 09:57:34 UTC --- my result: dom@linux-qc4j:~> bash -x /usr/bin/on_ac_power + ret=0 + for ps in '/sys/class/power_supply/*' + '[' -r /sys/class/power_supply/AC/online ']' + ret=1 + read -r ps_status + exit 1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c7 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seyfried@b1-systems.de AssignedTo|zypp-maintainers@forge.prov |mvyskocil@novell.com |o.novell.com | --- Comment #7 from Stephan Kulow <coolo@novell.com> 2010-07-05 12:18:30 CEST --- can we please make on_ac_power a dummy to exit 0? It's obvious to hot to fix only days before release ;( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c8 Stefan Seyfried <seife@novell.slipkontur.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.slipkontur.de --- Comment #8 from Stefan Seyfried <seife@novell.slipkontur.de> 2010-07-05 15:55:11 CEST --- should be fine now. seife@susi:~> osc request list -M 42490 State:new By:seife When:2010-07-05T15:53:20 submit: Base:System/pm-utils -> openSUSE:Factory Descr: fix bnc#619734 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c9 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Stephan Kulow <coolo@novell.com> 2010-07-06 07:34:29 CEST --- is in 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c10 --- Comment #10 from Stephan Kulow <coolo@novell.com> 2010-07-06 07:35:56 CEST --- please verify in downloading pmutils from https://build.opensuse.org/package/binaries?package=pm-utils&project=Base%3ASystem&repository=openSUSE_Factory -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c11 Dominik Platz <psikodad@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #11 from Dominik Platz <psikodad@gmx.de> 2010-07-06 07:00:59 UTC --- verified and it's working. dom@linux-qc4j:~> bash -x /usr/bin/on_ac_power + ret=0 + for ps in '/sys/class/power_supply/*' + '[' -r /sys/class/power_supply/AC/online ']' + ret=1 + read -r ps_status + '[' 1 = 1 ']' + ret=0 + break + exit 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619734 http://bugzilla.novell.com/show_bug.cgi?id=619734#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (619734) was mentioned in https://build.opensuse.org/request/show/42490 Factory / pm-utils https://build.opensuse.org/request/show/42609 11.3 / pm-utils -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com