Comments (3)
This is a problem with the Dockerfile, build and run scripts. They use a hardcoded value of 1000 for the UID and GID when building the container, but then dynamically run with UID and GID that match the local user. So, if the user's UID and GID are not 1000, the system fails to set up the user environment correctly and can't find $HOME.
Unfortunately, fixing this produces a pathological behavior when running the adduser command, causing the build process to hang at Copying files from /etc/skel
. There are several possible reasons for this, but the one that seems to fit best in this case is that the filesystem doesn't support sparse files and therefore is failing while try to copy lastlog. This is a sparse file that will appear especially big when it has to handle large userids, which is the case on my system. As a result the build process remains stuck until my partition runs out of space. See here for a similar report.
The fix should be to use a --no-log-init option. But Ubuntu's version of adduser
doesn't support this option, so we have to switch to useradd
.
from vrx-docker.
@caguero I now have this fixed locally. When I get write access to the repository I will submit a PR.
from vrx-docker.
Resolved by #34
from vrx-docker.
Related Issues (20)
- Gzclient on host? HOT 2
- Gazebo playback hanging HOT 8
- If sensor_config.yaml fails compliance once, it fails all day HOT 4
- run_trial.bash fails if host uid and gid are not 1000 HOT 1
- Followup Issues for Port to VORC HOT 3
- Move preparation scripts into Docker container
- refactor prepare team scripts
- new task yamls for vrx 2022
- xacro now requires some parameters in order
- VRX docker kills gymkhana task at the end of navigation subtask
- generate_one_team_one_task_videos.bash couldn't find docker image vrx-server-noetic:latest HOT 1
- range_bearing not availiable after finishing navigation subtask of Gymkhana task
- vrx-docker server uses a base image that is not portable HOT 1
- run_trial crashes when gz sim can't reach fuel HOT 1
- Need to specify version tag for vrx repository in Dockerfile HOT 2
- Video replay not working HOT 2
- Run a competition rehearsal
- Update VRX Docker MWEs tutorial HOT 1
- Unable to launch practice worlds using run_trial.bash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrx-docker.