PetaLinux SDK on Ubuntu 10.10
"Operation not permitted" error installing PetaLinux SDK on a Ubuntu 10.10 system
Problem Description
When installing PetaLinux SDK on a Ubuntu 10.10 system, the error message
petalinux-finalise-install: Operation not permitted
is emitted during the post-installation phase.
Background
Ubuntu 10.10 introduced a new security policy which interferes with the PetaLinux SDK license validation and protection scheme. More details are found here:
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace%20Protection
Workaround
To use PetaLinux SDK on Ubuntu 10.10, it is necessary to revert to the default security policy. Issue the following command:
$ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
You will need sudo privileges to perform this step.
To automatically perform this command on system startup, you can add it to the /etc/rc.local file.
Security note
This workaround modifies the default security policy of your Ubuntu 10.10 installation. If you have any doubts, consult your local system administrator. PetaLogix accepts no responsibility for security issues that may arise from applying this change. Your network security is your responsibility.


