Auf einem Buster ohne usrmerge:
Code: Alles auswählen
root@tristam:~# file /usr/bin/which
/usr/bin/which: symbolic link to /bin/which
root@tristam:~# file /bin/which
/bin/which: POSIX shell script, ASCII text executable
root@tristam:~# ls -l /usr/bin/which
lrwxrwxrwx 1 root root 10 Nov 2 2016 /usr/bin/which -> /bin/which
root@tristam:~# ls -l /bin/which
-rwxr-xr-x 1 root root 946 Jan 21 22:12 /bin/which
Code: Alles auswählen
root@dabase:~# file /usr/bin/which
/usr/bin/which: POSIX shell script, ASCII text executable
root@dabase:~# file /bin/which
/bin/which: POSIX shell script, ASCII text executable
root@dabase:~# ls -l /usr/bin/which
-rwxr-xr-x 1 root root 946 Jan 21 22:12 /usr/bin/which
root@dabase:~# ls -l /bin/which
-rwxr-xr-x 1 root root 946 Jan 21 22:12 /bin/which
Erst der Inode-Schalter von ls (oder stat) liefern einen Hinweis darauf, dass dem nicht so ist:
Code: Alles auswählen
root@dabase:~# ls -il /usr/bin/which
396365 -rwxr-xr-x 1 root root 946 Jan 21 22:12 /usr/bin/which
root@dabase:~# ls -il /bin/which
396365 -rwxr-xr-x 1 root root 946 Jan 21 22:12 /bin/which
Code: Alles auswählen
root@dabase:~# ls -l /bin
lrwxrwxrwx 1 root root 7 Feb 11 19:02 /bin -> usr/bin
Unbedarfterweise könnte man bei der Analyse der Gegebenheiten auf Dateiebene jetzt zu dem Schluss kommen, dass man "/usr/bin/which" ruhig weghauen kann, um die Warnung zu umgehen. "/bin/which" ist ja vorhanden.
Holzauge sei wachsam.