cpm unable to start

Bug #1299229 reported by Are
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpm (Ubuntu)
Fix Committed
Undecided
comotion

Bug Description

cpm 0.28 is not able to start on the kernel in 14.04.
The reason is (as I understand it) that cpm child process will strace the parent to block other processes to trace it, but this is no longer allows in recent kernels.
I an told the problem is fixed in newer versions of cpm (0.31) , so the fix should be just to include a newer version.

The problem is reproduceable on any 14.04 release and cpm version 0.28, run as a normal user:

$ cpm
Can't attach to parent!
Killed

$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

$ apt-cache policy cpm
cpm:
  Installed: 0.28-1build1
  Candidate: 0.28-1build1
  Version table:
 *** 0.28-1build1 0
        500 http://no.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cpm 0.28-1build1
ProcVersionSignature: Ubuntu 3.13.0-19.40-lowlatency 3.13.6
Uname: Linux 3.13.0-19-lowlatency x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Mar 28 22:02:08 2014
EcryptfsInUse: Yes
SourcePackage: cpm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Are (are-l) wrote :
Revision history for this message
Are (are-l) wrote :

Just to have verified it, the problem is also present when running the 'generic' kernel:

$ uname -a
Linux idril 3.13.0-19-generic #40-Ubuntu SMP Mon Mar 24 02:36:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ cpm
Can't attach to parent!
Killed

Revision history for this message
comotion (comotion) wrote :

Yes, 14.04 is unfortunately using a cpm release incompatible with the 14.04 ubuntu kernel patches.

The issue is resolved in newer versions by simply disabling this check. Considering this package is in universe, is there any way to get this package updated in 14.04? Roughly half of cpm's user base will be moving to trusty in the coming months.

comotion (comotion)
Changed in cpm (Ubuntu):
status: New → Fix Committed
assignee: nobody → comotion (comotion)
Revision history for this message
comotion (comotion) wrote :

A workaround for 14.04 users is to use the Debian Jessie CPM packages, which are at version 0.32 as of writing.

These have been verified to work on Ubuntu Trusty 14.04: https://packages.debian.org/jessie/cpm

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.