[SRU] rcmdr .desktop file fails to create child process

Bug #576243 reported by Marcos García Ochoa
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rcmdr (Debian)
Fix Released
Unknown
rcmdr (Ubuntu)
Fix Released
Medium
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

/usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh is installed with mode 644, which makes the link from Apps|Science fail complaining about its being unable to create the child process for the console window.

This bug has been addressed in Debian by cherry picking a new .desktop file from upstream

A patch that takes the fix from debian is attached below.

TEST CASE: try to start rcmdr through the GNOME menu

Regression potential: none, since it won't even start now.

This does need to be fixed in Maverick unless it is fixed in debian before freeze.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: r-cran-rcmdr 1.5-4-1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu May 6 08:23:56 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=es_ES.utf8
 SHELL=/bin/bash
SourcePackage: rcmdr

Revision history for this message
Marcos García Ochoa (magao) wrote :
Revision history for this message
Scott Howard (showard314) wrote :

Thanks for your bug report, it appears that this package needs an SRU. This has been fixed upstream in Debian, so it would simply require a sync.

Information on how to request an SRU can be found here:
https://wiki.ubuntu.com/StableReleaseUpdates

Changed in rcmdr (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in rcmdr (Debian):
status: Unknown → Fix Released
Revision history for this message
Scott Howard (showard314) wrote :

Hello, I put a patched package here:
https://launchpad.net/~showard314/+archive/ppa

Please test it out and confirm that it is working once it finishes building. I'll file for an SRU after testing.

Revision history for this message
Scott Howard (showard314) wrote :

This is the debdiff for the SRU. It is purely a sync with unstable targeting lucid-proposed.

Maverick will automatically get this when the autosync runs.

Revision history for this message
Marcos García Ochoa (magao) wrote :

Your patch seems to work for me. Thanks a lot, I'll be updating my production system while I wait for the package to trickle through the update system.

summary: - Rcmdr.sh lacks execution permissions
+ [SRU] rcmdr .desktop file fails to create child process
tags: added: patch
Revision history for this message
Scott Howard (showard314) wrote :

Thanks for testing! Here's the SRU request:

/usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh is installed with mode 644, which makes the link from Apps|Science fail complaining about its being unable to create the child process for the console window.

This bug has been addressed in Debian by cherry picking a new .desktop file from upstream

A patch that syncs with debian is attached to comment #4.

TEST CASE: try to start rcmdr through the GNOME menu

Regression potential: none, since it won't even start now.

This does not need to be fixed in Maverick, since the autosyncer will automatically fix it.

description: updated
tags: added: sru
removed: patch
tags: added: patch
Revision history for this message
Scott Howard (showard314) wrote :

Hold off on the SRU for a second, Debian patches the .desktop file, then installs a different one. I'm filling a bug and will update the SRU and this package.

Revision history for this message
Scott Howard (showard314) wrote :

Sorry for the extra comments in this, but it got a little confusing. Attached is a "final" debdiff for upload.

What happened:
-Debian fixed the .desktop file and patched the upstream .desktop file in the upstream source code tree
-They did not patch the .desktop file in debian/
-Debian then installed the desktop file from debian/, so the bug propagated even though it was "fixed"

This patch patches the .desktop file in debian/ and installs that one. I re-opened debian's bug to point that out to the maintainer. This bug will persist into maverick unless Debian fixes it as well.

description: updated
Changed in rcmdr (Debian):
status: Fix Released → New
Revision history for this message
Martin Pitt (pitti) wrote :

SRU approval.

tags: added: verification-needed
Changed in rcmdr (Ubuntu Lucid):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted rcmdr into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 576243] Please test proposed package

looks good to me, package installs and runs without the bug:

showard@s-desktop:~$ sudo apt-cache showpkg r-cran-rcmdr
Package: r-cran-rcmdr
Versions:
1.5-4-1ubuntu0.1
(/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-proposed_universe_binary-amd64_Packages)
(/var/lib/dpkg/status)

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
nick ves (vesnikos) wrote :

sudo chmod a+x /usr/lib/R/site-library/Rcmdr/etc/linux/Rcmdr.sh

it does indded fix the problem

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rcmdr - 1.5-4-1ubuntu0.1

---------------
rcmdr (1.5-4-1ubuntu0.1) lucid-proposed; urgency=low

  * Fixed .desktop file to allow spawning of child process (LP: #576243)
 -- Scott Howard <email address hidden> Sat, 08 May 2010 18:21:43 -0400

Changed in rcmdr (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in rcmdr (Debian):
status: New → Fix Released
tags: added: testcase
Jackson Doak (noskcaj)
Changed in rcmdr (Ubuntu):
status: Triaged → 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.