[Autoware.auto] Can't use ADE when $HOME isn't /home/$USER
Hello,
I can't execute the step
$ ade start --update --enter
from Autoware.auto installation guide, most likely because my homedir isn't in /home/$USER
but in /net/home/$USER
.
The command gave the following error:
<user>@python:~/AutowareAuto$ ade start --update --enter
master: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/ade-dashing
Digest: sha256:90996249b9e119e49a3e1d194fa5f3a563fa333ddfdb77e67d84b4384e5cd1b5
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-dashing:master
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-dashing:master
master: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/binary-dashing
Digest: sha256:49148957c7fad30f5e556b0067e8e03c830e5a413941465172fed5a1c307ef9d
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-dashing:master
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-dashing:master
Starting ade with the following images:
ade-dashing | 5f8e03a42821 | master | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-dashing:master
binary-dashing | 94c3b0204ce0 | master | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-dashing:master
ade_registry.gitlab.com_autowarefoundation_autoware.auto_autowareauto_amd64_binary-dashing_master
Current default time zone: 'Europe/Berlin'
Local time is now: Fri Nov 27 14:10:36 CET 2020.
Universal Time is now: Fri Nov 27 13:10:36 UTC 2020.
Adding user <user> to group video
Adding user <user> to group dialout
cp: cannot create regular file '/home/<user>/.bash_logout': Permission denied
ERROR: Failed to start ade. To debug use, ``ade start -- --env DEBUG=1``.
The command ade start -- --env DEBUG=1
didn't give much more information except for the fact that cp -a /etc/skel/.bash_logout /home/<user>/.bash_logout
was the bash command which caused the error.
With a symlink /home/<user>
to /net/home/<user>/
the issue remained.
I tried running chmod a+w /net/home/<user>
(the symkink has lrwxrwxrwx
rights) but the issue remains.
The installation guide of Autoware.auto advises to
See the ade --help output for more information about using environment variables to define the configuration.
But said output was simply:
Usage: ade [OPTIONS] COMMAND [ARGS]...
ADE Development Environment.
Options:
--version
--rc PATH Specify a different ADE configuration file. The file should be in
adehome or its subdirectories. [default: .aderc]
--help Show this message and exit.
Commands:
enter Enter environment, running optional command.
load Load images from DIRECTORY.
save Save configuration and images of running ADE into DIRECTORY.
start Start environment from within ADE project.
stop Stop ade environment.
update-cli Update ade command-line interface.
Software information:
- OS: Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-124-generic x86_64)
- ADE version: 4.2.0
- Autoware.auto commit: 94c3b0204ce0c3afb7056001b4c49da1d7e8815e
- Relevant folders structure:
.
/net/home/<user>/
├── adehome
│ └── AutowareAuto
│ ├── autoware.auto.dashing.repos
│ ├── autoware.auto.foxy.repos
│ ├── CHANGES.md
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ ├── DISCLAIMER.md
│ ├── docs
│ ├── lgsvl-sensors.json
│ ├── LICENSE
│ ├── README.md
│ ├── src
│ └── tools
└── ...
Thanks for any help you can provide; please tell me in case you need more information.