Code: Select all
/usr/sbin -> /bin
/bin -> /usr/bin
/sbin -> /usr/bin
/lib -> /usr/lib
/lib64 -> /usr/lib64For example: iproute2 installs the ip binary in /bin. rkhunter finds the modified /usr/bin/ip binary and reports it to me. To see which package this binary belongs to, I run qfile /usr/bin/ip, and of course, it finds nothing.
I do have an idea (*) to solve this problem, but it's cumbersome and might overlap with an existing solution, so I'd prefer to ask the question first.
(*) Create a database, populated with data by `emerge` on each installation/uninstallation, and use a tool that accesses it to replace `qfile`.




