Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597404 - net-firewall/xtables-addons-2.12 requires !CONFIG_TRIM_UNUSED_KSYMS
Summary: net-firewall/xtables-addons-2.12 requires !CONFIG_TRIM_UNUSED_KSYMS
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-18 07:57 UTC by Attila Tóth
Modified: 2017-07-31 06:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild patch for blueness (xtables-addons-2.12-ksyms.diff,558 bytes, patch)
2017-02-22 21:00 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2016-10-18 07:57:34 UTC
If CONFIG_UNUSED_SYMBOLS is not selected in kernel config, many addons of the package will complain about missing symbols.
The ebuild should rather check for that CONFIG probably in pkg_setup besides other condig checks already there.
Comment 1 Anthony Basile gentoo-dev 2017-01-28 16:30:33 UTC
okay, i version bumped to 2.12 and added UNUSED_SYMBOLS.  Please test and reopen this bug if its still a problem.
Comment 2 Oleh 2017-02-15 19:31:29 UTC
(In reply to Attila Tóth from comment #0)
> If CONFIG_UNUSED_SYMBOLS is not selected in kernel config, many addons of
> the package will complain about missing symbols.
> The ebuild should rather check for that CONFIG probably in pkg_setup besides
> other condig checks already there.

Sorry, but i suggest this report has to be reconsidered. There was no evident cases described with missing symbols messages so it's unclear whether they are related to
CONFIG_UNUSED_SYMBOLS=y. I believe something tested but it's not possible to judge.
According to:
http://cateee.net/lkddb/web-lkddb/UNUSED_SYMBOLS.html
this kernel option should not be used unless there good reason for the opposite. Before that xtables-addons had no runtime malfunctioning with this option disabled. Now, with 2.12 release, this option check is forced in ebuild.
Please, provide more additional information and research why it's needed.
Comment 3 Attila Tóth 2017-02-15 20:03:10 UTC
(In reply to Oleg from comment #2)
> (In reply to Attila Tóth from comment #0)
> > If CONFIG_UNUSED_SYMBOLS is not selected in kernel config, many addons of
> > the package will complain about missing symbols.
> > The ebuild should rather check for that CONFIG probably in pkg_setup besides
> > other condig checks already there.
> 
> Sorry, but i suggest this report has to be reconsidered. There was no
> evident cases described with missing symbols messages so it's unclear
> whether they are related to
> CONFIG_UNUSED_SYMBOLS=y. I believe something tested but it's not possible to
> judge.
> According to:
> http://cateee.net/lkddb/web-lkddb/UNUSED_SYMBOLS.html
> this kernel option should not be used unless there good reason for the
> opposite. Before that xtables-addons had no runtime malfunctioning with this
> option disabled. Now, with 2.12 release, this option check is forced in
> ebuild.
> Please, provide more additional information and research why it's needed.

I've reported this symptom, which was solved by enabling this option in my case.
I have to re-check to confirm, that the ebuild works without it.
Comment 4 Oleh 2017-02-16 07:58:48 UTC
that's right.
no exact messages, logs and runtime misfunction of addons due to this option disabled ever shown. 2.11 worked good, older than 2.11 also worked and i believe that 2.12 supposed to work too. If you give 100% evidence that this option disabled harfmul to xtables-addons, describe it. Otherwise, i'll not recommend using CONFIG_UNUSED_SYMBOLS=y as this is what kernel upstream suggests.
Comment 5 Attila Tóth 2017-02-18 23:21:19 UTC
Missing symbol messages reproduced:
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol make_kuid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol init_net
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol memchr
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol make_kgid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol proc_remove
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol __get_user_1
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol proc_set_user
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol init_user_ns
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_condition.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol __ipv6_addr_type
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol ip6_dst_hoplimit
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol csum_partial
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol ip6_route_me_harder
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol nf_conntrack_destroy
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol ipv6_skip_exthdr
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol skb_copy_expand
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol xt_unregister_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol prandom_u32
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol ip_route_me_harder
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol xt_register_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol skb_checksum
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol csum_ipv6_magic
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol nf_ip_checksum
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol skb_trim
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol nf_hook_slow
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol nf_hooks_needed
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_TARPIT.ko needs unknown symbol nf_ct_attach
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol param_ops_long
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol crypto_destroy_tfm
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol xt_unregister_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol crypto_shash_update
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol xt_register_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol __pskb_pull_tail
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol ipv6_find_hdr
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol crypto_shash_final
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol handle_sysrq
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol crypto_alloc_shash
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_lscan.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_lscan.ko needs unknown symbol __printk_ratelimit
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_lscan.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_lscan.ko needs unknown symbol init_net
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_lscan.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol simple_strtoll
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol register_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol make_kuid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol unregister_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol make_kgid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol proc_set_user
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol init_user_ns
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_quota2.ko needs unknown symbol simple_strtoull
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_psd.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_psd.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_psd.ko needs unknown symbol ipv6_find_hdr
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_psd.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol xt_register_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol skb_make_writable
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol xt_unregister_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol xt_register_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DHCPMAC.ko needs unknown symbol xt_unregister_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol xt_register_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol crypto_destroy_tfm
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol xt_unregister_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol cn_netlink_send
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol init_net
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol crypto_shash_setkey
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol crypto_shash_update
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol crypto_shash_final
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol crypto_alloc_shash
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol get_seconds
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_pknock.ko needs unknown symbol __request_module
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ipp2p.ko needs unknown symbol xt_register_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ipp2p.ko needs unknown symbol xt_unregister_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol ip6_dst_hoplimit
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol ip6_local_out
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol csum_partial
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol ip6_route_output_flags
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol xt_unregister_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol ip_route_me_harder
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol xt_register_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol __pskb_pull_tail
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol csum_ipv6_magic
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol nf_ct_attach
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol dst_release
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ECHO.ko needs unknown symbol ip_local_out
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_LOGMARK.ko needs unknown symbol xt_unregister_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_LOGMARK.ko needs unknown symbol xt_register_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_CHAOS.ko needs unknown symbol xt_request_find_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_CHAOS.ko needs unknown symbol xt_request_find_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_CHAOS.ko needs unknown symbol xt_register_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_CHAOS.ko needs unknown symbol prandom_u32
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_CHAOS.ko needs unknown symbol xt_unregister_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol csum_partial
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol xt_register_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol ip_route_me_harder
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol nf_ip_checksum
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol nf_ct_attach
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol ip_local_out
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DELUDE.ko needs unknown symbol xt_unregister_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ipv4options.ko needs unknown symbol xt_register_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ipv4options.ko needs unknown symbol xt_unregister_match
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_fuzzy.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_fuzzy.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_length2.ko needs unknown symbol skb_copy_bits
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_length2.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_length2.ko needs unknown symbol ipv6_find_hdr
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_length2.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol register_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol in4_pton
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol make_kuid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol nf_nat_setup_info
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol xt_register_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol __seq_open_private
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol unregister_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol make_kgid
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol strcspn
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol proc_set_user
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol init_user_ns
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol seq_release_private
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_DNETMAP.ko needs unknown symbol xt_unregister_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_iface.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_iface.ko needs unknown symbol init_net
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_iface.ko needs unknown symbol dev_get_by_name
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_iface.ko needs unknown symbol xt_register_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol nf_register_sockopt
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol up
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol free_pages
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol register_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol nf_unregister_sockopt
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol __get_free_pages
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol xt_register_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol down
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol unregister_pernet_subsys
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_ACCOUNT.ko needs unknown symbol xt_unregister_target
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_IPMARK.ko needs unknown symbol xt_unregister_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_IPMARK.ko needs unknown symbol xt_register_targets
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_geoip.ko needs unknown symbol xt_unregister_matches
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_geoip.ko needs unknown symbol synchronize_sched
depmod: WARNING: /lib/modules/4.9.8-hardened/xtables_addons/xt_geoip.ko needs unknown symbol xt_register_matches
Comment 6 Attila Tóth 2017-02-18 23:23:56 UTC
(In reply to Oleg from comment #4)
> that's right.
> no exact messages, logs and runtime misfunction of addons due to this option
> disabled ever shown. 2.11 worked good, older than 2.11 also worked and i
> believe that 2.12 supposed to work too. If you give 100% evidence that this
> option disabled harfmul to xtables-addons, describe it. Otherwise, i'll not
> recommend using CONFIG_UNUSED_SYMBOLS=y as this is what kernel upstream
> suggests.

Some relevant kernel options changed. I was wrong about CONFIG_UNUSED_SYMBOLS.
The culprit kernel option is: CONFIG_TRIM_UNUSED_KSYMS. It's unset by default. So problem arises only if somebody explicitly enables it.
This option is accessible in the Enable loadable module support section of the kernel config.
Comment 7 Oleh 2017-02-19 05:05:47 UTC
thx,
ebuild MUST not check for CONFIG_UNUSED_SYUMBOLS, then. Please change a status of bug report.
CONFIG_TRIM_UNUSED_KSYMS  SHOULD not be set in kernel config and ebuild has to check that, otherwise.
Comment 8 Anthony Basile gentoo-dev 2017-02-22 14:09:42 UTC
(In reply to Oleg from comment #7)
> thx,
> ebuild MUST not check for CONFIG_UNUSED_SYUMBOLS, then. Please change a
> status of bug report.
> CONFIG_TRIM_UNUSED_KSYMS  SHOULD not be set in kernel config and ebuild has
> to check that, otherwise.

i haven't use xtable-addons for a while.  can you guys clear this up and tell me what to commit.  or is it sufficient just to revert the last change.
Comment 9 Attila Tóth 2017-02-22 21:00:08 UTC
Created attachment 464752 [details, diff]
proposed ebuild patch for blueness

I think it should look like this.
Comment 10 Attila Tóth 2017-02-22 21:00:51 UTC
(In reply to Anthony Basile from comment #8)
> (In reply to Oleg from comment #7)
> > thx,
> > ebuild MUST not check for CONFIG_UNUSED_SYUMBOLS, then. Please change a
> > status of bug report.
> > CONFIG_TRIM_UNUSED_KSYMS  SHOULD not be set in kernel config and ebuild has
> > to check that, otherwise.
> 
> i haven't use xtable-addons for a while.  can you guys clear this up and
> tell me what to commit.  or is it sufficient just to revert the last change.

Please see attached patch.