Changeset 390 for trunk


Ignore:
Timestamp:
Feb 9, 2012, 8:24:30 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #287 (samhain-install.sh in /var which might be mounted noexec).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r389 r390  
    113.0.2:
     2        * call ./samhain-install.sh as /bin/sh ./samhain-install.sh in the
     3          RPM spec file, because /var might be mounted noexec (reported by GC)
    24        * fixed configure.ac for the case that --with-gpg and --enable-nocl are
    35          used (./samhain for gpg checksum; problem report by Andy Jack)
  • trunk/samhain.spec.in

    r170 r390  
    100100        # Activate boot-time start up
    101101        cd @mydataroot@
    102         ./samhain-install.sh --verbose install-boot
     102        /bin/sh ./samhain-install.sh --verbose install-boot
    103103        rm -f ./samhain.startLSB
    104104        rm -f ./samhain.startLinux
     
    155155        cd @mydataroot@
    156156        if [ -f ./samhain-install.sh ]; then
    157             ./samhain-install.sh --verbose uninstall-boot
     157            /bin/sh ./samhain-install.sh --verbose uninstall-boot
    158158        else
    159159            if test -f /usr/lib/lsb/remove_initd; then
  • trunk/scripts/samhain.spec.in

    r68 r390  
    7070        # Activate boot-time start up
    7171        cd %{_localstatedir}/lib/%{name}
    72         ./samhain-install.sh --verbose install-boot
     72        /bin/sh ./samhain-install.sh --verbose install-boot
    7373        if test -f /sbin/chkconfig; then
    7474                /sbin/chkconfig --add samhain
     
    100100        cd %{_localstatedir}/lib/samhain
    101101        if [ -f ./samhain-install.sh ]; then
    102             ./samhain-install.sh --verbose uninstall-boot
     102            /bin/sh ./samhain-install.sh --verbose uninstall-boot
    103103        else
    104104            if [ -f /sbin/chkconfig ]; then
Note: See TracChangeset for help on using the changeset viewer.