KavrakiLab / KavrakiLab/tmkit

Compiling TMKit in a Docker container requires root privileges on host machine

Open
#10 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Common Lisp
Stars
59
Forks
13
PR merge metrics
No merged PRs in 30d

Description

This "issue" appears Ubuntu 16.04 and 18.04. The specific error I'm encountering occurs when running `configure` to install `amino` (I realize this is the issue tracker for TMKit and not amino, but the KavrakiLab/amino repo doesn't have the ability to raise issues). The following text contains the "issue":
```
[...]
configure: Use GLPK: no
configure: Use CGAL:
configure: Build Demos: yes
configure: URDF Demos:
## ----------- ##
## END SUMMARY ##
## ----------- ##
[maxima start]
cd ./src/mac && maxima --very-quiet -b euler77.mac
personality failure 1
make: *** [src/mac/euler.f] Error 255
Makefile:4460: recipe for target 'src/mac/euler.f' failed
```
`personality` is a specific syscall. To allow the syscall to go through, I reload dockerd using [this seccomp policy](https://github.com/ros-infrastructure/buildfarm_deployment/blob/2767e90abc2b715f6b8b9b37f1f53b2333613b74/modules/agent_files/files/docker-default-seccomp-with-personality.json) and then run `docker build .`.

This method works, but reloading dockerd requires root privileges. Being able to compile `amino` without root in Docker would be ideal. I've tried using using `configure`'s `--without-maxima` flag, but that didn't help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.