When bind-chroot is installed, result of (sudo) rpm -V bind-chroot is different, when named service is stopped and when is started. Current version will pass check when stopped. service named stop rpm -V bind bind-chroot But fails after (successful) start service named start rpm -V bind bind-chroot Test case should include both cases.