Wind River Support Network

HomeDefectsLIN6-10292
Fixed

LIN6-10292 : symlink provided by multiple rpms

Created: Sep 8, 2015    Updated: Dec 3, 2018
Resolved Date: Oct 20, 2015
Found In Version: 6.0.0.17,6.0.0.21
Fix Version: 6.0.0.26
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The symlink from /var/run to /run is provided by multiple rpm's. It should only be provided by the base-files package.

Steps to Reproduce

$ configure --enable-board=intel-x86-64 \
      --enable-rootfs=glibc_std --enable-kernel=preempt_rt \
      --with-package=autofs

Boot target (qemu)

root@qemu0:~# rpm -qf /var/run
base-files-3.0.14-r73.0.intel_x86_64
autofs-5.0.7-r11.0.x86_64

root@qemu0:~# rpm -ql -v base-files autofs | grep /var/run
lrwxrwxrwx    1 root    root                6 Sep  8 13:58 /var/run -> ../run
lrwxrwxrwx    1 root    root                4 Sep  8 14:27 /var/run -> /run

root@qemu0:~# ls -l /var
total 20
drwxr-xr-x  2 root root 4096 Sep  8 13:58 backups
drwxr-xr-x  5 root root 4096 Sep  8 14:31 cache
drwxr-xr-x 15 root root 4096 Sep  8 14:31 lib
drwxr-sr-x  2 root root 4096 Sep  8 13:58 local
lrwxrwxrwx  1 root root   11 Sep  8 14:30 lock -> ../run/lock
lrwxrwxrwx  1 root root   12 Sep  8 14:30 log -> volatile/log
lrwxrwxrwx  1 root root    4 Sep  8 14:30 run -> /run
drwxr-xr-x  7 root root 4096 Sep  8 14:30 spool
lrwxrwxrwx  1 root root   12 Sep  8 14:30 tmp -> volatile/tmp
drwxrwxrwt  4 root root   80 Sep  8 14:42 volatile

Other Downloads


Live chat
Online