Comment # 5 on bug 1194557 from
A test description:

When /var/run is not a link to /run (but on another filesystem), the unfixed
version were still using it's files/dirs in the (just created) /var/run/...
directory instead to use /run/... (tmpfs) directly:

Unfixed sysconfig-netconfig + (non-standard) directory instead of /var/run
link:
```
freya:~ # ls -l /var/run
lrwxrwxrwx 1 root root 4 10. Sep 2020  /var/run -> /run
freya:~ # l /run/netconfig/
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:22 ./
drwxr-xr-x 24 root root 720  6. Sep 10:22 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 700  6. Sep 10:22 resolv.conf
-rw-r--r--  1 root root 581  6. Sep 10:22 yp.conf
### ======================
freya:~ # rm /var/run
freya:~ # mkdir -p /var/run/netconfig
freya:~ # netconfig update
ATTENTION: /etc/resolv.conf is not a link to /var/run/netconfig/resolv.conf
call "netconfig update -f" to adjust /etc/resolv.conf
ATTENTION: /etc/yp.conf is not a link to /var/run/netconfig/yp.conf
call "netconfig update -f" to adjust /etc/yp.conf
freya:~ # netconfig update -f
freya:~ # ls -l /var/run
insgesamt 0
drwxr-xr-x 1 root root  8  6. Sep 10:28 chrony-helper
drwxr-xr-x 1 root root 64  6. Sep 10:28 netconfig
drwxr-xr-x 1 root root 34  6. Sep 10:28 ntp
freya:~ # ls -ld /var/run
drwxr-xr-x 1 root root 50  6. Sep 10:28 /var/run
freya:~ # l /run/netconfig/
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:22 ./
drwxr-xr-x 24 root root 720  6. Sep 10:22 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 700  6. Sep 10:22 resolv.conf
-rw-r--r--  1 root root 581  6. Sep 10:22 yp.conf
freya:~ # 
```

Fixed sysconfig-netconfig  + (non-standard) directory instead of /var/run link:
```
freya:~ # zypper ar -f
http://dist.suse.de/ibs/SUSE:/Maintenance:/25259/SUSE_Updates_SLE-Module-Basesystem_15-SP3_x86_64/
sysconfig-netconfig-update
freya:~ # zypper in -f sysconfig-netconfig-0.85.9-150200.12.1
sysconfig-0.85.9-150200.12.1

freya:~ # ls -ld /var/run
lrwxrwxrwx 1 root root 4  6. Sep 10:36 /var/run -> /run
freya:~ # l /var/run/netconfig/ /run/netconfig/
/run/netconfig/:
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:36 ./
drwxr-xr-x 24 root root 740  6. Sep 10:36 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 696  6. Sep 10:35 resolv.conf
-rw-r--r--  1 root root 577  6. Sep 10:35 yp.conf

/var/run/netconfig/:
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:36 ./
drwxr-xr-x 24 root root 740  6. Sep 10:36 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 696  6. Sep 10:35 resolv.conf
-rw-r--r--  1 root root 577  6. Sep 10:35 yp.conf
freya:~ # rm /var/run
freya:~ # mkdir -p /var/run/netconfig
freya:~ # l /var/run/netconfig/ /run/netconfig/
/run/netconfig/:
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:36 ./
drwxr-xr-x 24 root root 740  6. Sep 10:36 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 696  6. Sep 10:35 resolv.conf
-rw-r--r--  1 root root 577  6. Sep 10:35 yp.conf

/var/run/netconfig/:
insgesamt 0
drwxr-xr-x 1 root root  0  6. Sep 10:37 ./
drwxr-xr-x 1 root root 18  6. Sep 10:37 ../
freya:~ # netconfig update -f
freya:~ # l /var/run/netconfig/ /run/netconfig/
/run/netconfig/:
insgesamt 12
drwxr-xr-x 10 root root 260  6. Sep 10:37 ./
drwxr-xr-x 24 root root 740  6. Sep 10:37 ../
-rw-r--r--  1 root root  23  6. Sep 10:22 chrony.servers
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab30/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab31/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab32/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab33/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab34/
drwxr-xr-x  2 root root  60  6. Sep 10:22 lab35/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lab36/
drwxr-xr-x  2 root root  80  6. Sep 10:22 lo/
-rw-r--r--  1 root root 696  6. Sep 10:35 resolv.conf
-rw-r--r--  1 root root 577  6. Sep 10:35 yp.conf

/var/run/netconfig/:
insgesamt 0
drwxr-xr-x 1 root root  0  6. Sep 10:37 ./
drwxr-xr-x 1 root root 18  6. Sep 10:37 ../
freya:~ # ls -ld /var/run
drwxr-xr-x 1 root root 18  6. Sep 10:37 /var/run
```

--> the /var/run/netconfig/ directory remains empty/unused.


You are receiving this mail because: