-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/logrotate to identify missing areas
[*] Emulating binary name: logrotate in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
1 brk(NULL) = 0x40011058
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libpopt.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d138,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce50) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,37208,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7d3000
1 mmap2(0x3f7db000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3f7db000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgcc_s.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d128,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce40) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b9000
1 mmap2(0x3f7d1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f7d1000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d118,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce30) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6aa000
1 mmap2(0x3f7ac000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f7ac000
1 mmap2(0x3f7b0000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b0000
1 close(3) = 0
1 set_tid_address(0x3f7de0a8) = 1
1 set_robust_list(0x3f7de0ac,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f7ac000,8192,PROT_READ) = 0
1 mprotect(0x3f7d1000,4096,PROT_READ) = 0
1 mprotect(0x3f7db000,4096,PROT_READ) = 0
1 mprotect(0x40010000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814520,1065060254,1065035524,1,1065016928) = 0
1 brk(NULL) = 0x40011058
1 brk(0x40032058) = 0x40032058
1 brk(0x40033000) = 0x40033000
1 openat(AT_FDCWD,"/usr/lib/locale/locale-archive",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/share/locale/locale.alias",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 brk(0x40032000) = 0x40032000
1 openat(AT_FDCWD,"/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C.utf8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/popt",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 statx(AT_FDCWD,"/etc/popt.d",AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d708) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/root/.popt",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 write(2,0x4000e10c,57)logrotate 3.20.1 - Copyright (C) 1995-2001 Red Hat, Inc.
= 57
1 write(2,0x4000e148,84)This may be freely redistributed under the terms of the GNU General Public License
= 84
1 ioctl(2,TIOCGWINSZ,0x3ff1d94c) = -1 errno=25 (Inappropriate ioctl for device)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.cache",O_RDONLY) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.d",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 futex(0x3f7af2c0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 write(2,0x3ff1b8b8,6)Usage: = 6
1 write(2,0x3ff1b920,10) logrotate = 10
1 write(2,0x3ff1b910,8) [-dfv?] = 8
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-d = 2
1 write(2,0x3ff1b8d8,8)|--debug = 8
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-f = 2
1 write(2,0x3ff1b8d8,8)|--force = 8
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-m = 2
1 write(2,0x3ff1b8d8,7)|--mail = 7
1 write(2,0x3f7aeb37,1)= = 1
1 write(2,0x4000de00,7)command = 7
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f5c,8)
= 8
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-s = 2
1 write(2,0x3ff1b8d8,8)|--state = 8
1 write(2,0x3f7aeb37,1)= = 1
1 write(2,0x4000de24,9)statefile = 9
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,17)--skip-state-lock = 17
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-v = 2
1 write(2,0x3ff1b8d8,10)|--verbose = 10
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f5c,8)
= 8
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,2)-l = 2
1 write(2,0x3ff1b8d8,6)|--log = 6
1 write(2,0x3f7aeb37,1)= = 1
1 write(2,0x4000deb4,7)logfile = 7
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8d8,9)--version = 9
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8b8,2)-? = 2
1 write(2,0x3ff1b8b8,7)|--help = 7
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f68,2) [ = 2
1 write(2,0x3ff1b8b8,7)--usage = 7
1 write(2,0x3f7aeb37,1)] = 1
1 write(2,0x3f7d9f5c,8)
= 8
1 write(2,0x3ff1b930,25) [OPTION...] <configfile> = 25
1 write(2,0x3f7aeb37,1)
= 1
1 exit_group(1)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/ld.so.cache
[*] Found missing area: /etc/popt
[*] Trying to identify this missing file: popt
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/popt
[*] Found missing area: /root/.popt
[*] Trying to identify this missing file: .popt
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/root/.popt
[*] Found missing area: /usr/lib/gconv/gconv-modules
[*] Trying to identify this missing file: gconv-modules
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules
[*] Found missing area: /usr/lib/gconv/gconv-modules.cache
[*] Trying to identify this missing file: gconv-modules.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.cache
[*] Found missing area: /usr/lib/gconv/gconv-modules.d
[*] Trying to identify this missing file: gconv-modules.d
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.d
[*] Found missing area: /usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/locale-archive
[*] Trying to identify this missing file: locale-archive
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/locale-archive
[*] Found missing area: /usr/share/locale/locale.alias
[*] Trying to identify this missing file: locale.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/share/locale/locale.alias
-----------------------------------------------------------------