Description of problem:
The files /usr/sbin/ldconfig and /usr/sbin/sln are hard linked, but have different context:
# ls -i /usr/sbin/ldconfig /usr/sbin/sln
268236 /usr/sbin/ldconfig 268236 /usr/sbin/sln
# restorecon -vF /usr/sbin/ldconfig /usr/sbin/sln
restorecon reset /usr/sbin/ldconfig context system_u:object_r:bin_t:s0->system_u:object_r:ldconfig_exec_t:s0
restorecon reset /usr/sbin/sln context system_u:object_r:ldconfig_exec_t:s0->system_u:object_r:bin_t:s0
Version-Release number of selected component (if applicable):
Due to the different context, the context of both files is restored with every restorecon call.
Same context for both files?
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Does not reproduce in Fedora 27.
*** Bug 1415477 has been marked as a duplicate of this bug. ***