CIRCL / AIL-framework

AIL framework - Analysis Information Leak framework. Project moved to https://github.com/ail-project
https://github.com/ail-project/ail-framework
GNU Affero General Public License v3.0
1.29k stars 283 forks source link

ARDB intall error -> Cannot change ownership to uid 66878 #476

Closed BeNeDeLuX closed 4 years ago

BeNeDeLuX commented 4 years ago

Fresh Debian 10 Buster installation Git checkout: 23.02.2020

Here is the last output from the installing_deps.sh

tar: jemalloc-5.1.0/test/unit/pack.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/pages.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/ph.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prng.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_accum.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_accum.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_active.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_active.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_gdump.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_gdump.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_idump.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_idump.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_reset.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_reset.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_tctx.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_tctx.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_thread_name.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/prof_thread_name.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/ql.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/qr.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/rb.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/retained.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/rtree.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/size_classes.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/slab.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/smoothstep.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/spin.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/stats.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/stats_print.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/ticker.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/tsd.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/witness.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/zero.c: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit/zero.sh: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test/unit: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/test: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/VERSION: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0/configure: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: jemalloc-5.1.0: Cannot change ownership to uid 66878, gid 100: Invalid argument
tar: Exiting with failure status due to previous errors
make[1]: *** [Makefile:318: /root/AIL-framework/ardb/src/../deps/jemalloc-5.1.0] Error 2
make[1]: Leaving directory '/root/AIL-framework/ardb/src'
make: *** [Makefile:4: all] Error 2
root@ail:~/AIL-framework#

There is a problem with a needed user and group that does not exist.

Nedfire2347 commented 4 years ago

Try Ubuntu Bionic Beaver (18.04 LTS)

BeNeDeLuX commented 4 years ago

Exact the same error also with Ubuntu Bionic Beaver (18.04 LTS)!

Terrtia commented 4 years ago

Hi @BeNeDeLuX !

This seem to be related to some ownership issues (https://github.com/habitat-sh/builder/issues/365#issuecomment-382862233)

You shouldn't install AIL as root (ex: base64 malware are decoded and save on disk)

BeNeDeLuX commented 4 years ago

@Terrtia Yes, that was the reason!

Thanks for your help