https://bugs.koozali.org/show_bug.cgi?id=10793

--- Comment #6 from Jean-Philippe Pialasse <[email protected]> ---
cofirmed, hit the issue in sme10

also mothing warns you that it is not working !
pannel tells everything seems working and db updating

templates expand does not configure geoip becasue kernel mod not available for
your current kernel

find /lib/modules/ -iname xt_geoip.ko

(In reply to mab974 from comment #5)
> (In reply to Jean-Philippe Pialasse from comment #4)
> > this is running and seems to fixe somes of the updates issues
> > 
> > /etc/e-smith/events/xt_geoip-update/S10xt_geoip_module ->
> > ../actions/xt_geoip_module
> > 
> 
> couldn't we do that in the %post section of the xtables-addons-kmod .spec
> file ?

no, this would not solve the issue on updates of kernel etc. 
use event or at worst yum post action plugin if you fear an update of kmod
without smeserver-* update



# rpm -qa |grep xtables
xtables-addons-kmod-2.14-05.el7.sme.x86_64
xtables-addons-2.14-01.el7.sme.x86_64

# KERNEL=`/bin/uname -r`
# echo $KERNEL
3.10.0-1160.80.1.el7.x86_64
# ll /lib/modules/$KERNEL/extra/xt_geoip.ko
ls: impossible d'accéder à
/lib/modules/3.10.0-1160.80.1.el7.x86_64/extra/xt_geoip.ko: Aucun fichier ou
dossier de ce type
# ll /lib/modules/$KERNEL/weak-updates/xt_geoip.ko
ls: impossible d'accéder à
/lib/modules/3.10.0-1160.80.1.el7.x86_64/weak-updates/xt_geoip.ko: Aucun
fichier ou dossier de ce type
# ll /lib/modules/$KERNEL/weak-updates/xtables-addons/xt_geoip.ko
ls: impossible d'accéder à
/lib/modules/3.10.0-1160.80.1.el7.x86_64/weak-updates/xtables-addons/xt_geoip.ko:
Aucun fichier ou dossier de ce type


# signal-event smeserver-xt_geoip-update 
# find /lib/modules/ -iname xt_geoip.ko
/lib/modules/3.10.0-1160.25.1.el7.x86_64/weak-updates/xtables-addons/xt_geoip.ko
/lib/modules/3.10.0-1127.el7.x86_64/extra/xtables-addons/xt_geoip.ko
# weak-modules  --add-kernel
# find /lib/modules/ -iname xt_geoip.ko
/lib/modules/3.10.0-1160.25.1.el7.x86_64/weak-updates/xtables-addons/xt_geoip.ko
/lib/modules/3.10.0-1160.80.1.el7.x86_64/weak-updates/xtables-addons/xt_geoip.ko
/lib/modules/3.10.0-1127.el7.x86_64/extra/xtables-addons/xt_geoip.ko


so I would add this 
#/etc/e-smith/events/actions/xt_geoip_kmod
#!/bin/bash

modprobe -r xt_geoip
weak-modules  --add-kernel 
modprobe xt_geoip

to smeserver-xt_geoip-update
to bootstrap-console-save
to e-smith-packetfilter-update
to remoteaccess-update

and also add a 
#/etc/yum/post-actions/xt_geoip.action
kernel*:any:/etc/e-smith/events/actions/xt_geoip_kmod
kmod*:any:/etc/e-smith/events/actions/xt_geoip_kmod
xtables-addons*:any:/etc/e-smith/events/actions/xt_geoip_kmod

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to