[Bug 783356] New: PackageKit installs packages without asking
https://bugzilla.novell.com/show_bug.cgi?id=783356 https://bugzilla.novell.com/show_bug.cgi?id=783356#c0 Summary: PackageKit installs packages without asking Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: schuetzm@gmx.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 I just installed GNOME 3.6 from GNOME:STABLE:3.6. After rebooting, I noticed that mkinitrd was running. Apparently it was called because PackageKit installed some packages without asking for permission. This is confirmed by this excerpt from /var/log/pk_backend_zypp: 2012-10-03 15:05:22 <1> kraftwerk.site(1749) [zypp] PackageProvider.cc(providePackage):112 provided Package from cache (34839)suspend-1.0-18.4.1.x86_64(openSUSE-11.4-Update) at /var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/suspend-1.0-18.4.1.x86_64.rpm 2012-10-03 15:05:22 <1> kraftwerk.site(1749) [zypp] RpmDb.cc(doInstallPackage):1708 RpmDb::installPackage(/var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/suspend-1.0-18.4.1.x86_64.rpm,0x0000000c) 2012-10-03 15:05:22 <1> kraftwerk.site(1749) [zypp++] ExternalProgram.cc(start_program):229 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '--force' '--nodeps' '--' '/var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/suspend-1.0-18.4.1.x86_64.rpm' 2012-10-03 15:05:22 <1> kraftwerk.site(1749) [zypp++] ExternalProgram.cc(start_program):381 pid 2261 launched 2012-10-03 15:07:51 <1> kraftwerk.site(1749) [zypp++] ExternalProgram.cc(checkStatus):482 Pid 2261 successfully completed 2012-10-03 15:07:51 <1> kraftwerk.site(1749) [zypp] PathInfo.cc(unlink):667 unlink /var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/suspend-1.0-18.4.1.x86_64.rpm 2012-10-03 15:07:51 <1> kraftwerk.site(1749) [zypp] PackageProvider.cc(providePackage):112 provided Package from cache (34851)coreutils-8.16-5.4.1.x86_64(openSUSE-11.4-Update) at /var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/coreutils-8.16-5.4.1.x86_64.rpm 2012-10-03 15:07:51 <1> kraftwerk.site(1749) [zypp] RpmDb.cc(doInstallPackage):1708 RpmDb::installPackage(/var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/coreutils-8.16-5.4.1.x86_64.rpm,0x0000000c) 2012-10-03 15:07:51 <1> kraftwerk.site(1749) [zypp++] ExternalProgram.cc(start_program):229 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '--force' '--nodeps' '--' '/var/cache/zypp/packages/openSUSE-11.4-Update/x86_64/coreutils-8.16-5.4.1.x86_64.rpm' (Please ignore the "11.4" in the pathnames.) Maybe this has something to do with the fact that in openSUSE 12.2 it is now possible to install updates without entering the root password? (And I have auto-login enabled, maybe this is a contributing factor.) Strangely enough, after the installation finished a popup notified me of available updates, but I dismissed it and don't remember which updates it listed. When I run gpk-update-viewer manually, it tells me there are no updates. Reproducible: Didn't try -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c1
Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c2
--- Comment #2 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c3
--- Comment #3 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c4
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c5
--- Comment #5 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c6
--- Comment #6 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c7
Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c8
--- Comment #8 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c9
Marc Schütz
Created an attachment (id=513436) --> (http://bugzilla.novell.com/attachment.cgi?id=513436) [details] gpk-prefs
I attached a screen shot of gpk-prefs, there's indeed an automatically install option. I'm not sure if it's the result after GNOME 3.6 has upgraded on your system.
Probably: # rpm -qf `which gpk-prefs` gnome-packagekit-3.6.0-138.3.x86_64
And I think there're two problems as you described: 1. auto update shouldn't happen since you didn't specified it; 2. gpk-update-viewer shouldn't pop up since it's already updated.
Exactly.
But I couldn't reproduce this issue on my openSUSE-12.2. Maybe we need more information to confirm it.
Did you try this with GNOME 3.6 oder 3.4 as installed on 12.2 by default? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c10
--- Comment #10 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c11
--- Comment #11 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c12
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c13
Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c14
--- Comment #14 from Mu Lei
It is set to "no", though I didn't change it. The last change to that file was on Oct 3rd, which is also when I installed GNOME 3.6 (according to rpm -qi). So it seems that it was set automatically upon installation. This should probably be changed then.
Note also that in the same file it says "ENABLED=no", so GNOME obviously doesn't respect that (although the documentation you linked to doesn't go into any detail which variables in there are supposed to be observed by GNOME; the comment above ENABLED= for example actually talks about a cron job, which GNOME probably isn't using).
It's suggested on the GNOME software update manual page, so I think it's related. Although it's about cron job, the periodically auto update could be implemented with cron anyway.
About the missing option in gpk-prefs: Should I file another bug report, or is there already one? If yes, should I do it here or upstream?
Feel free to report it please! And I think it's proper to send it to upstream if it's a real bug. And I think this issue wasn't mentioned on the GNOME-3.6 release log, even it may ware an intended change, it lack of notification.
There's still the issue that the message that says "updates are available" is misleading, because it should read "updates have been installed".
Since we didn't find out whether the latest gpk-prefs has bug on auto install, this issue is suspended because it's may related to the former issue. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c15
Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c16
Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c17
--- Comment #17 from Marc Schütz
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c18
Mu Lei
I think openSUSE 12.2 is correct because that's where it occurred. But maybe the component Base System is wrong and should be changed to GNOME instead? I still tend to Base System, because it's essentially an issue with permissions/the package manager, not GNOME per se.
In any case, it is probably better to keep this bug open, because it will be something to test before 12.3 is released, which presumably will include GNOME 3.6. Then something can be done about it _before_ it's released. Feel free to close it again if you think otherwise.
There're two reasons I decided to close it: 1. We can't get any conclusion for this issue, the only thing we can say is "GNOME-3.6 is not stable enough at present". 2. I can't reproduce these issues, I mean install-without-mention & popup-blank-update-window-after-installed". The only issue I found is 'auto install' was removed from gpk-prefs which maybe intended. So I suggest to close it temporally. What do you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c19
--- Comment #19 from Mu Lei
https://bugzilla.novell.com/show_bug.cgi?id=783356
https://bugzilla.novell.com/show_bug.cgi?id=783356#c20
Mu Lei
participants (1)
-
bugzilla_noreply@novell.com