execv failed when running my self-built customized minicom

Oliver Grawert ogra at ubuntu.com
Fri Aug 21 13:46:28 UTC 2015


hi,

Am Freitag, den 21.08.2015, 14:48 +0200 schrieb Daniele Palmas:
> Hello,
> 
> I'm trying to build a package with a customized minicom, but when run
> in my target system, I have the following error:
> 
> execv failed: No such file or directory
> 
> When I simply copy the binary and run it with sudo, it works without
> issues, so I suspect it is something related to apparmor.
> 
> This is strace output when I run it:

> stat("/usr/bin/ubuntu-core-launcher", {st_mode=S_IFREG|S_ISUID|0755,
> st_size=19080, ...}) = 0
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x7ffa3c11f9d0) = 1983
> wait4(-1, execv failed: No such file or directory
> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1983
> --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1983,
> si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
> rt_sigreturn({mask=[]})                 = 1983
> exit_group(1)                           = ?

hmm, that strace is a bit sparse, would you mind re-running it with -f ?
the launcher is either not finding your binary or not finding a linked
lib. if you want to speed up debugging dropping by on IRC on
freenode.net in the #snappy channel might be a lot faster btw...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150821/c5616ecb/attachment.pgp>


More information about the snappy-app-devel mailing list