Hello all,
After we patched several gateways (R80.40) from JHF 118 to JHF 139 we noticed many files stayed in /.
This is how it looked before the patch (on Jumbo hotfix 118):
ls -l /
total 45
-rw-r--r-- 1 admin root 0 Sep 2 15:43 1
-rw-r--r-- 1 admin root 0 Sep 2 15:37 DEBUG
drwxr-xr-x 2 admin root 85 Mar 8 2021 DOCS
-rw-r--r-- 1 admin root 542 May 24 2020 License.txt
-rw-r--r-- 1 admin root 0 Mar 8 2021 anaconda_done_hook.log
lrwxrwxrwx 1 admin root 7 Mar 8 2021 bin -> usr/bin
dr-xr-xr-x 8 admin root 1024 Sep 2 15:40 boot
drwxr-xr-x 2 admin root 6 Jan 2 2020 cgroup
-rw-r--r-- 1 admin root 17 Sep 2 15:44 cliapiStart
-rw-r--r-- 1 admin root 15 Sep 2 15:44 cliapiend
drwxr-xr-x 3 admin root 47 Feb 4 10:34 config
drwxr-xr-x 11 admin root 3580 Sep 7 15:28 dev
drwxr-x--- 2 admin root 177 Sep 2 15:38 dynamic_tmp
drwxr-xr-x 70 admin root 8192 Jan 17 15:37 etc
drwxr-xr-x 6 admin root 70 Sep 2 15:55 home
lrwxrwxrwx 1 admin root 7 Mar 8 2021 lib -> usr/lib
lrwxrwxrwx 1 admin root 9 Mar 8 2021 lib64 -> usr/lib64
drwxr-xr-x 2 admin root 6 Jan 9 2020 media
drwxr-xr-x 2 admin root 6 Sep 2 15:44 mnt
drwxr-xr-x 28 admin root 4096 Jan 2 12:33 opt
dr-xr-xr-x 213 admin root 0 Sep 2 15:43 proc
drwx------ 2 admin root 6 Sep 2 15:33 ramdisk
drwxr-x--- 10 admin root 212 Sep 2 15:39 rest_api
dr-xr-x--- 2 admin root 136 Jan 9 2020 root
drwxr-xr-x 11 admin root 4096 Dec 13 15:24 run
lrwxrwxrwx 1 admin root 8 Mar 8 2021 sbin -> usr/sbin
drwxr-xr-x 2 admin root 6 Mar 8 2021 selinux
-rw-rw---- 1 admin root 0 Sep 2 16:20 sessiond.elg
drwxr-xr-x 2 admin root 6 Jan 9 2020 srv
dr-xr-xr-x 13 admin root 0 Feb 4 11:26 sys
drwxr-xr-x 4 admin root 36 Mar 8 2021 sysimg
drwxrwxrwt 9 admin root 8192 Feb 4 10:34 tmp
drwxr-xr-x 13 admin root 153 Mar 8 2021 usr
drwxr-xr-x 20 admin root 273 Sep 2 16:20 var
drwxr-xr-x 12 admin root 185 Sep 2 15:38 web
This is how it looks like after (on Jumbo hotfix 139):
ls -l /
total 55365
-rw-r--r-- 1 admin root 0 Jan 25 20:52 1
-rw-r--r-- 1 105 80 28186550 Mar 24 2021 CPda-00-00.i386.rpm
-rwxr-xr-x 1 admin root 28240810 Jun 20 2021 CPda.rpm
-rw-rw---- 1 admin root 849 May 9 2021 DA_install.log
-rw-rw---- 1 admin root 1060 May 9 2021 DA_start.log
-rw-rw---- 1 admin root 536 May 9 2021 DA_status.log
-rw-rw---- 1 admin root 58 May 9 2021 DA_stop1.log
-rw-r--r-- 1 admin root 0 Jan 25 20:43 DEBUG
drwxr-xr-x 2 admin root 4096 May 9 2021 DOCS
-rw-r--r-- 1 admin root 542 Jan 7 2020 License.txt
drwxrwx--- 2 admin root 4096 May 9 2021 SU
-rw-r--r-- 1 105 80 662 May 4 2021 basic_gw.conf
lrwxrwxrwx 1 admin root 7 Jun 20 2021 bin -> usr/bin
drwxr-xr-x 9 admin root 1024 Jan 25 20:47 boot
drwxrwxr-x 7 admin root 4096 Jan 25 20:48 celery
drwxr-xr-x 2 admin root 4096 Jan 2 2020 cgroup
-rw-r--r-- 1 admin root 17 Jan 25 20:53 cliapiStart
-rw-r--r-- 1 admin root 15 Jan 25 20:53 cliapiend
-rwxr-x--- 1 admin root 2051 May 9 2021 conditions_set_is_ngm_upgrade.json
-rwxr-x--- 1 admin root 2841 May 9 2021 conditions_set_upgrade.json
drwxrwxr-x 3 admin root 4096 Feb 4 10:37 config
-rw-rw---- 1 admin root 0 May 9 2021 darwin_restart.log
-rw-rw---- 1 admin root 68 May 9 2021 darwin_stop.log
drwxr-xr-x 12 admin root 4960 Jan 25 20:55 dev
-rw-rw-r-- 1 admin root 456 Jun 20 2021 duplicated_rpms
drwxr-x--- 3 admin root 4096 Jan 25 20:45 dynamic_tmp
drwxr-xr-x 72 admin root 12288 Jan 27 15:07 etc
drwxr-xr-x 8 admin root 4096 May 7 2020 home
-rw-rw---- 1 admin root 11838 May 9 2021 installer_package_db
lrwxrwxrwx 1 admin root 7 Jun 20 2021 lib -> usr/lib
lrwxrwxrwx 1 admin root 9 Jun 20 2021 lib64 -> usr/lib64
drwx------ 2 admin root 16384 Jun 20 2021 lost+found
drwxr-xr-x 2 admin root 4096 Jan 9 2020 media
-rwxr-x--- 1 admin root 31 May 9 2021 mgmt_post_boot_config
drwxr-xr-x 3 admin root 4096 Jan 25 20:53 mnt
drwxr-xr-x 28 admin root 4096 Nov 28 14:10 opt
-rw-r--r-- 1 105 80 343 May 4 2021 pre_ftw_script
dr-xr-xr-x 371 admin root 0 Jan 25 20:51 proc
drwxrwxr-x 8 admin root 4096 Jun 20 2021 python_gaia_flask
drwxrwxr-x 4 admin root 4096 Jun 20 2021 python_gaia_gunicorn
drwxrwxr-x 3 admin root 4096 Jun 20 2021 python_gaia_yaml
drwxrwxrwt 3 admin root 4096 May 9 2021 ramdisk
drwxr-x--- 10 admin root 4096 May 9 2021 rest_api
dr-xr-x--- 2 admin root 4096 Jan 9 2020 root
drwxr-xr-x 11 admin root 4096 Jan 25 21:51 run
lrwxrwxrwx 1 admin root 8 Jun 20 2021 sbin -> usr/sbin
drwxr-xr-x 2 admin root 4096 May 9 2021 selinux
-rw-rw---- 1 admin root 0 Jun 20 2021 sessiond.elg
drwxr-xr-x 2 admin root 4096 Jan 9 2020 srv
dr-xr-xr-x 13 admin root 0 Feb 4 10:44 sys
-rw------- 1 admin root 0 Jun 20 2021 sysFile_qx5jtl
drwxr-xr-x 4 admin root 4096 May 9 2021 sysimg
drwxrwxrwt 5 admin root 4096 Feb 4 11:35 tmp
drwxr-xr-x 13 admin root 4096 May 9 2021 usr
drwxr-xr-x 20 admin root 4096 Nov 28 14:17 var
drwxr-xr-x 12 105 80 4096 Jan 25 20:46 web
I guess by some reason the scripts responsible for the actual upgrade didn't clean up properly. Do you have similar scenarious on your gateways?
Thank you!