> I just installed on Fedora 18 using the tarball installer, and both
> /sbin/ifup-local and /sbin/ifdown-local were created.
>   
shorewall-init-4.5.13-1.fc19.noarch.rpm (the latest offering from 
Fedora) doesn't have /sbin/ifup-local or /sbin/ifdown-local in it and 
"rpm --scripts -qp shorewall-init-4.5.13-1.fc19.noarch.rpm" tells me:

postinstall scriptlet (using /bin/sh):

if [ $1 -eq 1 ] ; then
        # Initial installation
        /usr/bin/systemctl preset shorewall-init.service >/dev/null 2>&1 
|| :
fi
preuninstall scriptlet (using /bin/sh):

if [ $1 -eq 0 ] ; then
        # Package removal, not upgrade
        /usr/bin/systemctl --no-reload disable shorewall-init.service > 
/dev/null 2>&1 || :
        /usr/bin/systemctl stop shorewall-init.service > /dev/null 2>&1 
|| :
fi
postuninstall scriptlet (using /bin/sh):

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
        # Package upgrade, not uninstall
        /usr/bin/systemctl try-restart shorewall-init.service >/dev/null 
2>&1 || :
fi


So I don't see how these two files could have been generated/installed 
using standard Fedora installation and I am pretty certain that 
"rpmbuild -bb shorewall.spec" doesn't generate these either as that is 
what shorewall.spec tells me:

%files init
%doc shorewall-init-%{version}/{COPYING,changelog.txt,releasenotes.txt}
%{_sbindir}/shorewall-init
%{_sysconfdir}/NetworkManager/dispatcher.d/01-shorewall
%config(noreplace) %{_sysconfdir}/sysconfig/shorewall-init
%{_sysconfdir}/logrotate.d/shorewall-init
%{_mandir}/man8/shorewall-init.8.*
%{_datadir}/shorewall-init
%{_libexecdir}/shorewall-init
%{_unitdir}/shorewall-init.service

As tou can notice, there is no %{_sbindir}/ifup-* - only "shorewall-init".


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to