Jaunty Kubuntu bad handling of apt-file notification (konsole -e konsole loop)

Bug #323459 reported by Chris Bainbridge
2
Affects Status Importance Assigned to Milestone
update-notifier-kde (Ubuntu)
Fix Released
Medium
Harald Sitter

Bug Description

Testing with Kubuntu Jaunty with updates as of today.

Install apt-file. Reboot.
After logging in get notification:

"apt-file update needed
You may need to update or create the apt-file cache. Running this command likely needs an active internet connection."

Clicking "Run this action now" pops open a window which quickly closes. Notification window is still present.
*** Potential problem 1 - poor error handling - the executed window failed but notification window did nothing.

From ps the executed command is:

/usr/bin/konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e /usr/sbin/su-to-root -c /usr/share/apt-file/do-apt-file-update

There is a warning printed:
konsole(4525): Attempt to use QAction "change-profile" with KXMLGUIFactory!
*** Potential problem 2 - what is this QAction?

But the obvious problem is the repeated -e konsole calls, probably from some recursive string expansion. Remove them all and the actual su-to-root command works.

Revision history for this message
Calvin Mitchell (calvin674) wrote :

KDE 4.2, Kubuntu 8.10

when i ran the command:

sudo /usr/sbin/su-to-root -c /usr/share/apt-file/do-apt-file-update

I got the following results:

Can't get http://archive.canonical.com/ubuntu/dists/intrepid/Contents-amd64.gz
Can't get http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu/dists/intrepid/Contents-amd64.gz

...my Internet connection is fine.

Changed in update-notifier-kde (Ubuntu):
assignee: nobody → Harald Sitter (apachelogger)
importance: Undecided → Medium
status: New → Triaged
Changed in update-notifier-kde (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier-kde - 9.10ubuntu1

---------------
update-notifier-kde (9.10ubuntu1) karmic; urgency=low

  [ Florian Reinhard ]
  * Respect kdesudo's exit code. Prevents tray icon from disappearing even
    though package installation failed for whatever reason.

  [ Harald Sitter ]
  * Bump standards version to 3.8.3
  * Add missing depends on install-package
  * Change codecTray icon form system-run to download which is much more
    suitable. This is an intermediate workaround until we can get rid of the
    tray (as seen for update notification in Kpk) (LP: #396255)
  * Invoke terminal commands using KToolInvocation rather than KProcess, regular
    cdms still get started via KProcess since we cannot use KTI for that.
    (LP: #323459)
  * Make the reboot action not act upon touches of /var/lib/update-notifier but
    once /var/lib/update-notifier/dpkg-run-stamp is touched to prevent the
    reboot icon from appearing before update is done. As suggested by Michael
    Vogt (LP: #274001)
  * Add misc:Depends for debhelper
  * Add python dependency for lintian
  * Kill original maintainer field, does not exist for native packages
  * Change maintainer from Ubuntu core dev to Kubuntu developers
  * Revise version scheme to $SERIESubuntuX (works with dch and prevents lintian
    from thinking this is a NMU)

 -- Harald Sitter <email address hidden> Thu, 01 Oct 2009 10:35:53 +0200

Changed in update-notifier-kde (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.