Unable to exec: Permission denied while starting applications

Bug #1275017 reported by Łukasz Zemczak
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Application Launcher
Fix Released
Undecided
rosa maria
upstart-app-launch (Ubuntu)
Fix Released
Undecided
rosa maria

Bug Description

Please note that it's not entirely clear if this is an upstart-app-launch bug. It's our first lead. This bug causes random failures (very rarely) in security autopilot tests.

As seen in the smoketesting results:
http://ci.ubuntu.com/smokeng/trusty/touch/mako/156:20140131:20140115.1/6364/security/719045/

I was able to reproduce the same test failure but on random click apps when running the test on my local mako machine.
Some logs:
http://paste.ubuntu.com/6850227/ - the DEBUG output from upstart for the failing application

The same problem seems to cause many application autopilot tests failing as well - it seems that upstart-app-launch cannot lunch applications sometimes. Reverting upstart-app-launch and running autopilot test suites results in everything passing, while there are random failures with the latest upstart-app-launch installed.

Related branches

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug seems to also affect normal applications in normal test suites, see latest smoketesting results:
http://ci.ubuntu.com/smokeng/trusty/touch/mako/159:20140203:20140115.1/6404/

description: updated
description: updated
summary: - Unable to exec: Permission denied while running security tests in
- smoketesting (the click-apparmor test suite)
+ Unable to exec: Permission denied while starting applications
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart-app-launch - 0.3+14.04.20140129.1.is.0.3+14.04.20131218-0ubuntu1

---------------
upstart-app-launch (0.3+14.04.20140129.1.is.0.3+14.04.20131218-0ubuntu1) trusty; urgency=medium

  * Revert as usptart-app-launch showed to create a lot of randomness
    where applications are not starting even on mako. (LP: #1275017)
 -- Didier Roche <email address hidden> Mon, 03 Feb 2014 12:15:49 +0000

Changed in upstart-app-launch (Ubuntu):
status: New → Fix Released
Changed in upstart-app-launch:
assignee: nobody → rosa maria (rprosamaria383)
Changed in upstart-app-launch (Ubuntu):
assignee: nobody → rosa maria (rprosamaria383)
Revision history for this message
Ted Gould (ted) wrote :

Okay, got a useful log message:

application-click-com.example.lp1245677_lp1245677_0.1.log:** (process:28517): WARNING **: Unable to exec 'echo Error' in '/opt/click.ubuntu.com/.click/users/phablet/com.example.lp1245677': Permission denied

Looks like APP_EXEC is not getting set before the job ends.

Ted Gould (ted)
Changed in upstart-app-launch:
status: New → 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.