OES2018 duplicates /etc and /root directories if configuring Online Update during installation.

  • 7023966
  • 24-Jun-2019
  • 12-Aug-2019

Environment

Open Enterprise Server 2018 (OES 2018) Linux
Open Enterprise Server 2018SP1 (OES 2018SP1) Linux

Situation

When performing Online Update during installation of OES 2018 from DVD, duplication of /etc and /root directory may appear upon server reboot, for example:

-/etc/etc
-/root/root

The issue does not occur when performing the Online Update after installation of OES 2018.

Resolution

The duplicate folders can be removed if there are no modifications done to those folders after installation or upgrade of OES. Retaining the duplicate folders does not harm the system.

Cause

Installation of OES 2018 and OES 2018 SP1 creates a duplicate folder of /etc and /root such as /etc/etc and /root/root during the registration process.



Status

Reported to Engineering

Additional Information

The content of /etc/etc do not really match the /etc.
Following list of the files included.

/etc/etc # ll
total 1576
-rw------- 1 root root      0 Nov 17  2017 .pwd.lock
lrwxrwxrwx 1 root root     52 Jun 19 22:18 10-disable-cjk-bitmap-fonts.conf -> /mounts/mp_0001/etc/10-disable-cjk-bitmap-fonts.conf
drwxr-xr-x 3 root root   4096 Nov 17  2017 ConsoleKit
lrwxrwxrwx 1 root root     13 Jun 19 22:21 HOSTNAME -> /etc/hostname
-rw-r--r-- 1 root root    215 Nov 17  2017 SuSE-release
drwxr-xr-x 4 root root   4096 Jun 19 22:18 X11
drwxr-xr-x 2 root root   4096 Nov 17  2017 YaST2
lrwxrwxrwx 1 root root     26 Jun 19 22:18 adddir -> /mounts/mp_0001/etc/adddir
-rw-r--r-- 1 root root     16 Nov 17  2017 adjtime
lrwxrwxrwx 1 root root     28 Jun 19 22:18 apparmor -> /mounts/mp_0000/etc/apparmor
lrwxrwxrwx 1 root root     31 Jun 19 22:18 autoinstall -> /mounts/mp_0001/etc/autoinstall
-rw-r--r-- 1 root root   9159 Mar  8  2017 bash.bashrc
drwxr-xr-x 2 root root   4096 Nov 17  2017 bash_completion.d
-rw-r--r-- 1 root root   2389 Jun 29  2017 bind.keys
-rw-r--r-- 1 root root    415 Jun  6  2017 bindresvport.blacklist
lrwxrwxrwx 1 root root     28 Jun 19 22:18 binfmt.d -> /mounts/mp_0000/etc/binfmt.d
lrwxrwxrwx 1 root root     30 Jun 19 22:18 blkid.conf -> /mounts/mp_0000/etc/blkid.conf
drwxr-xr-x 3 root root   4096 Nov 17  2017 ca-certificates
drwxr-xr-x 2 root root   4096 Jun 19 22:18 cron.daily
-rw------- 1 root root      6 Aug 21  2015 cron.deny
lrwxrwxrwx 1 root root     31 Jun 19 22:18 cron.hourly -> /mounts/mp_0001/etc/cron.hourly
-rw------- 1 root root    255 Aug 21  2015 crontab
-rw-r--r-- 1 root root   4587 Mar  8  2017 csh.cshrc
-rw-r--r-- 1 root root   7126 Mar  8  2017 csh.login
lrwxrwxrwx 1 root root     24 Jun 19 22:18 cups -> /mounts/mp_0001/etc/cups
drwxr-xr-x 4 root root   4096 Nov 17  2017 dbus-1
drwxr-xr-x 2 root root   4096 Jun 19 22:18 default
lrwxrwxrwx 1 root root     28 Jun 19 22:18 depmod.d -> /mounts/mp_0000/etc/depmod.d
-rw-r--r-- 1 root root     97 May 23  2017 environment
drwxr-xr-x 2 root root   4096 Nov 17  2017 fcoe
lrwxrwxrwx 1 root root     31 Jun 19 22:18 filesystems -> /mounts/mp_0000/etc/filesystems
lrwxrwxrwx 1 root root     25 Jun 19 22:18 fonts -> /mounts/mp_0001/etc/fonts
lrwxrwxrwx 1 root root     25 Jun 19 22:18 fstab -> /mounts/mp_0001/etc/fstab
-rw-r--r-- 1 root root   2584 Jun  6  2017 gai.conf
-rw-r--r-- 1 root root    346 Mar 24  2017 gemrc
-rw-r--r-- 1 root root    467 Nov 17  2017 group
lrwxrwxrwx 1 root root     27 Jun 19 22:18 gtk-2.0 -> /mounts/mp_0001/etc/gtk-2.0
lrwxrwxrwx 1 root root     27 Jun 19 22:18 gtk-3.0 -> /mounts/mp_0001/etc/gtk-3.0
-rw-r--r-- 1 root root     26 Nov 17  2017 host.conf
-rw-r--r-- 1 root root     21 Jun 19 22:29 hostname
-rw-r--r-- 1 root root    693 Jun 19 22:29 hosts
-rw-r--r-- 1 root root    693 Jun 19 22:29 hosts.YaST2save
-rw-r--r-- 1 root root      1 Sep 11  2014 hushlogins
-rw-r--r-- 1 root root     14 Jun 19 22:17 ibft_devices
lrwxrwxrwx 1 root root     25 Jun 19 22:18 icewm -> /mounts/mp_0001/etc/icewm
-rw-r--r-- 1 root root    144 May 17  2017 idmapd.conf
-rw-r--r-- 1 root root   1806 Jun 29  2017 idn.conf
-rw-r--r-- 1 root root    207 Jun 29  2017 idnalias.conf
drwxr-xr-x 2 root root   4096 Jun 19 22:18 init.d
lrwxrwxrwx 1 root root     27 Jun 19 22:18 inittab -> /mounts/mp_0001/etc/inittab
-rw-r--r-- 1 root root  14863 Mar  8  2017 inputrc
lrwxrwxrwx 1 root root     32 Jun 19 22:18 insserv.conf -> /mounts/mp_0000/etc/insserv.conf
-rw-r--r-- 1 root root    923 Jun 19 22:18 install.inf
-rw-r--r-- 1 root root    202 Jun 19 22:18 instsys.parts
lrwxrwxrwx 1 root root     28 Jun 19 22:18 iproute2 -> /mounts/mp_0000/etc/iproute2
drwxr-xr-x 3 root root   4096 Nov 17  2017 iscsi
lrwxrwxrwx 1 root root     17 Jun 19 22:18 iscsid.conf -> iscsi/iscsid.conf
-rw-r--r-- 1 root root     43 Nov 17  2017 issue
-rw-r--r-- 1 root root     78 Nov 17  2017 issue.net
drwxr-xr-x 2 root root   4096 Jun 19 22:18 joe
-rw-r--r-- 1 root root  93821 Jun 19 22:18 kernellog
-rw-r--r-- 1 root root    771 Oct  4  2017 krb5.conf
-rw-r--r-- 1 root root    108 Jun 19 22:18 lastlog
-rw-r--r-- 1 root root  49400 Jun 19 22:18 ld.so.cache
-rw-r--r-- 1 root root  17858 Nov 17  2017 ld.so.cache.initrd
-rw-r--r-- 1 root root    206 Jun  6  2017 ld.so.conf
lrwxrwxrwx 1 root root     32 Jun 19 22:18 ld.so.conf.d -> /mounts/mp_0001/etc/ld.so.conf.d
lrwxrwxrwx 1 root root     27 Jun 19 22:18 lesskey -> /mounts/mp_0000/etc/lesskey
-rw-r----- 1 root root    191 Sep 21  2014 libaudit.conf
drwxr-xr-x 2 root root   4096 Nov 17  2017 libnl
drwxr-xr-x 2 root root   4096 Nov 17  2017 linuxrc.d
lrwxrwxrwx 1 root root     30 Jun 19 22:19 localtime -> /usr/share/zoneinfo/US/Eastern
-rw-r--r-- 1 root root   8842 May 29  2017 login.defs
drwxr-xr-x 2 root root   4096 Jun 19 22:18 logrotate.d
lrwxrwxrwx 1 root root     23 Jun 19 22:18 lvm -> /mounts/mp_0000/etc/lvm
-rw-r--r-- 1 root root    113 Dec 19  2014 magic
-rw-r--r-- 1 root root 102925 Sep 11  2014 mime.types
lrwxrwxrwx 1 root root     31 Jun 19 22:18 mke2fs.conf -> /mounts/mp_0000/etc/mke2fs.conf
drwxr-xr-x 2 root root   4096 Nov 17  2017 modprobe.d
lrwxrwxrwx 1 root root     34 Jun 19 22:18 modules-load.d -> /mounts/mp_0000/etc/modules-load.d
-rw-r--r-- 1 root root    318 Nov 17  2017 motd
lrwxrwxrwx 1 root root     17 Jun 19 22:17 mtab -> /proc/self/mounts
drwxr-xr-x 2 root root   4096 Nov 17  2017 named.d
-rw-r--r-- 1 root root    767 May  9  2017 netconfig
drwxr-xr-x 2 root root   4096 Nov 17  2017 netconfig.d
-rw-r--r-- 1 root root    796 Mar 13  2017 netgroup
-rw-r--r-- 1 root root     67 Nov 17  2017 novell-release
lrwxrwxrwx 1 root root     29 Jun 19 22:18 nscd.conf -> /mounts/mp_0001/etc/nscd.conf
-rw-r--r-- 1 root root   1192 Jun  6  2017 nsswitch.conf
lrwxrwxrwx 1 root root     37 Jun 19 22:18 nsswitch.conf.nam -> /mounts/mp_0001/etc/nsswitch.conf.nam
drwxr-xr-x 3 root root   4096 Nov 17  2017 omc
drwxr-xr-x 3 root root   4096 Jun 19 22:18 openldap
lrwxrwxrwx 1 root root     23 Jun 19 22:18 opt -> /mounts/mp_0001/etc/opt
-rw-r--r-- 1 root root    160 Nov 17  2017 os-release
drwxr-xr-x 2 root root   4096 Jun 19 22:18 pam.d
-rw-r--r-- 1 root root   1015 Nov 17  2017 passwd
lrwxrwxrwx 1 root root     33 Jun 19 22:18 permissions.d -> /mounts/mp_0001/etc/permissions.d
lrwxrwxrwx 1 root root     26 Jun 19 22:18 pkcs11 -> /mounts/mp_0001/etc/pkcs11
drwxr-xr-x 3 root root   4096 Nov 17  2017 pki
drwxr-xr-x 2 root root   4096 Nov 17  2017 plymouth
lrwxrwxrwx 1 root root     28 Jun 19 22:18 polkit-1 -> /mounts/mp_0000/etc/polkit-1
drwxr-xr-x 8 root root   4096 Nov 17  2017 ppp
drwxr-xr-x 2 root root   4096 Jun 19 22:18 products.d
-rw-r--r-- 1 root root   9168 Mar  8  2017 profile
-rw-r--r-- 1 root root  23259 Mar 13  2017 protocols
lrwxrwxrwx 1 root root     25 Jun 19 22:18 pulse -> /mounts/mp_0001/etc/pulse
lrwxrwxrwx 1 root root     31 Jun 19 22:18 pythonstart -> /mounts/mp_0001/etc/pythonstart
lrwxrwxrwx 1 root root     23 Jun 19 22:18 raw -> /mounts/mp_0000/etc/raw
lrwxrwxrwx 1 root root      6 Jun 19 22:18 rc.d -> init.d
-rw-r--r-- 1 root root   2700 Sep 11  2014 rc.splash
-rw-r--r-- 1 root root  11779 Sep 11  2014 rc.status
lrwxrwxrwx 1 root root     36 Jun 19 22:18 request-key.conf -> /mounts/mp_0000/etc/request-key.conf
lrwxrwxrwx 1 root root     33 Jun 19 22:18 request-key.d -> /mounts/mp_0000/etc/request-key.d
-rw-r--r-- 1 root root    861 Jun 19 22:29 resolv.conf
-rw-r--r-- 1 root root   1634 Jun  6  2017 rpc
drwxr-xr-x 2 root root   4096 Jun 19 22:18 rpm
lrwxrwxrwx 1 root root     25 Jun 19 22:18 rpmrc -> /mounts/mp_0001/etc/rpmrc
lrwxrwxrwx 1 root root     32 Jun 19 22:18 rsyslog.conf -> /mounts/mp_0000/etc/rsyslog.conf
drwxr-xr-x 2 root root   4096 Jun 19 22:18 rsyslog.d
lrwxrwxrwx 1 root root     25 Jun 19 22:18 sasl2 -> /mounts/mp_0001/etc/sasl2
drwxr-xr-x 7 root root   4096 Nov 17  2017 sbl
-rw-r--r-- 1 root root    807 Nov 12  2015 sbl.conf
lrwxrwxrwx 1 root root     28 Jun 19 22:18 screenrc -> /mounts/mp_0001/etc/screenrc
-rw-r--r-- 1 root root    161 May 23  2017 securetty
drwxr-xr-x 2 root root   4096 Nov 17  2017 security
drwxr-xr-x 2 root root   4096 Nov 17  2017 selinux
-rw-r--r-- 1 root root 857985 Mar 13  2017 services
-rw-r----- 1 root root    377 Nov 17  2017 shadow
-rw-r--r-- 1 root root    268 Sep 11  2014 shells
drwxr-xr-x 2 root root   4096 Jun 19 22:18 skel
lrwxrwxrwx 1 root root     28 Jun 19 22:18 slp.conf -> /mounts/mp_0000/etc/slp.conf
lrwxrwxrwx 1 root root     27 Jun 19 22:18 slp.reg -> /mounts/mp_0001/etc/slp.reg
drwxr-xr-x 2 root root   4096 Jun 19 22:18 slp.reg.d
lrwxrwxrwx 1 root root     27 Jun 19 22:18 slp.spi -> /mounts/mp_0000/etc/slp.spi
lrwxrwxrwx 1 root root     27 Jun 19 22:18 snapper -> /mounts/mp_0001/etc/snapper
drwxr-xr-x 2 root root   4096 Jun 19 22:18 ssh
drwxr-xr-x 3 root root   4096 Jun 19 22:18 ssl
lrwxrwxrwx 1 root root     39 Jun 19 22:18 suse-post-user.conf -> /mounts/mp_0001/etc/suse-post-user.conf
-rw-r--r-- 1 root root    456 Nov  2  2017 suseRegister.conf
drwxr-xr-x 5 root root   4096 Jun 19 22:18 sysconfig
lrwxrwxrwx 1 root root     31 Jun 19 22:18 sysctl.conf -> /mounts/mp_0000/etc/sysctl.conf
lrwxrwxrwx 1 root root     28 Jun 19 22:18 sysctl.d -> /mounts/mp_0000/etc/sysctl.d
-rw-r--r-- 1 root root     36 Jun 19 22:17 syslog.conf
lrwxrwxrwx 1 root root     27 Jun 19 22:18 systemd -> /mounts/mp_0000/etc/systemd
lrwxrwxrwx 1 root root     23 Jun 19 22:18 termcap -> /usr/share/misc/termcap
lrwxrwxrwx 1 root root     30 Jun 19 22:18 tmpfiles.d -> /mounts/mp_0000/etc/tmpfiles.d
-rw-r--r-- 1 root root    258 Sep 11  2014 ttytype
drwxr-xr-x 3 root root   4096 Nov 17  2017 udev
lrwxrwxrwx 1 root root     25 Jun 19 22:18 vimrc -> /mounts/mp_0000/etc/vimrc
lrwxrwxrwx 1 root root     23 Jun 19 22:18 vnc -> /mounts/mp_0001/etc/vnc
-rw-r--r-- 1 root root   4583 Mar  9  2017 wgetrc
drwxr-xr-x 4 root root   4096 Nov 17  2017 wicked
drwxr-xr-x 2 root root   4096 Nov 17  2017 wpa_supplicant
-rw-r--r-- 1 root root    654 Sep 21  2014 xattr.conf
drwxr-xr-x 2 root root   4096 Jun 19 22:18 xdg
drwxr-xr-x 2 root root   4096 Jun 19 22:18 xinetd.d
lrwxrwxrwx 1 root root     38 Jun 19 22:18 xorg.conf.template -> /mounts/mp_0001/etc/xorg.conf.template
-rw-r--r-- 1 root root     36 Jun 19 22:19 yast.inf
-rw-r--r-- 1 root root    779 Jun 19 22:17 yp.conf
drwxr-xr-x 9 root root   4096 Nov 17  2017 zypp

mercurio:~/root # ll
total 236
drwx------ 3 root root   4096 Jun 19 22:18 .dbus
drwx------ 2 root root   4096 Jun 19 22:21 .gnupg
drwxr-xr-x 2 root root   4096 Jun 19 22:18 .kbd
-rw-r--r-- 1 root root   1274 Nov 17  2017 .profile
-rw------- 1 root root 217526 Jun 19 22:33 .suse_register.log
drwx------ 2 root root   4096 Jun 19 22:31 .xauth