It was recently discovered that Fedora removed the execute permission off of the "/etc/init.d/functions" file, and various start/stop scripts checked for the existence of a an executable file called "/etc/init.d/functions". Since this file is only ever "sourced", it is believed that we can safely change these checks from "[ -x /etc/init.d/functions ]" to "[ -f /etc/init.d/functions]".
This change was apparently made at the end of the Fedora 10 cycle.
Created attachment 358639 [details] Simply check for "file existence" rather than "file execution"
Created attachment 358640 [details] Simply check for "file existence" rather than "file execution" (spec files)
Created attachment 358650 [details] Simply check for "file existence" rather than "file execution"
alee +
% cd pki/base % svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^? M ca/shared/etc/init.d/httpd M tks/shared/etc/init.d/httpd M ra/etc/init.d/httpd M ocsp/shared/etc/init.d/httpd M tps/etc/init.d/httpd M kra/shared/etc/init.d/httpd % svn commit Sending base/ca/shared/etc/init.d/httpd Sending base/kra/shared/etc/init.d/httpd Sending base/ocsp/shared/etc/init.d/httpd Sending base/ra/etc/init.d/httpd Sending base/tks/shared/etc/init.d/httpd Sending base/tps/etc/init.d/httpd Transmitting file data ...... Committed revision 781. % cd pki/dogtag % svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^? M ca/pki-ca.spec M tks/pki-tks.spec M ra/pki-ra.spec M ocsp/pki-ocsp.spec M tps/pki-tps.spec M kra/pki-kra.spec % svn commit Sending dogtag/ca/pki-ca.spec Sending dogtag/kra/pki-kra.spec Sending dogtag/ocsp/pki-ocsp.spec Sending dogtag/ra/pki-ra.spec Sending dogtag/tks/pki-tks.spec Sending dogtag/tps/pki-tps.spec Transmitting file data ...... Committed revision 782.