Bug 911377 - SpamAssassin: Unknown error code 19 from sa-update
Summary: SpamAssassin: Unknown error code 19 from sa-update
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: 17
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-14 21:03 UTC by Dennis Flaherty
Modified: 2013-03-09 22:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-09 21:55:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stderr output of sa-update -D (4.06 KB, text/x-log)
2013-02-15 00:42 UTC, Dennis Flaherty
no flags Details

Description Dennis Flaherty 2013-02-14 21:03:16 UTC
Description of problem:
sa-update.cron daily error message.

Version-Release number of selected component (if applicable):


How reproducible:
Happens daily.

Steps to Reproduce:
1. Error of daily cron.
2.
3.
  
Actual results:
can't resolve "fe80::c23f:eff:fe84:ad83%(null)" to address at /usr/lib64/perl5/vendor_perl/Net/DNS/Resolver/Base.pm line 776.
14-Feb-2013 04:12:10: SpamAssassin: Unknown error code 19 from sa-update

Expected results:
Daily crons should be seen, not heard.

Additional info:

Comment 1 Kevin Fenzi 2013-02-15 00:36:18 UTC
Something is very confused with your dns setup there. It's trying to resolve a local ipv6 address.. 

Can you attach the output of: 

/usr/bin/sa-update -D

Whats your network config like there? Can you resolve ipv4 addresses normally?

Comment 2 Dennis Flaherty 2013-02-15 00:42:39 UTC
Created attachment 697478 [details]
stderr output of sa-update -D

I don't have any trouble with ipv4 addresses.  All my local addresses are ipv4.  Know of any ipv6-only websites I can try to connect to?

Comment 3 Kevin Fenzi 2013-02-16 19:52:12 UTC
Well, the 'fe80' prefix is a network local ipv6 address, it's non routable, so there's no way you could access a remote site via ipv6 over it. 

Can you look at your: 

/var/lib/spamassassin/3.002005/updates_spamassassin_org/MIRRORED.BY file?

it should contain the servers you can download updates for the updates.spamassassin.org channel. 
Can you ping each of those?

Comment 4 Dennis Flaherty 2013-02-16 23:39:11 UTC
# test mirror: zone, cached via Coral
#http://buildbot.spamassassin.org.nyud.net:8090/updatestage/
#Removed on 2012-09-26 per bug 6838
#http://daryl.dostech.ca/sa-update/asf/ weight=5
http://sa-update.dnswl.org/ weight=1
http://www.sa-update.pccc.com/ weight=5
http://sa-update.secnap.net/ weight=5

I can ping sa-update.dnswl.org and www.sa-update.pccc.com, but not sa-update.secnap.net.

Comment 5 Kevin Fenzi 2013-02-18 22:40:48 UTC
Strange. Well, both of those 2 have ipv6 addresses, but not sure why your system would be trying to contact them there. :( The other one is in fact down for right now. 

Can you attach: 

ip addr show
and
ip -6 addr show

Comment 6 Dennis Flaherty 2013-02-19 13:29:33 UTC
[Venice] 06:27 ~ 51$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 50:e5:49:57:52:7d brd ff:ff:ff:ff:ff:ff
    inet 10.4.0.3/16 brd 10.4.255.255 scope global p4p1
    inet6 2002:a01:aa9:e472:52e5:49ff:fe57:527d/64 scope global dynamic 
       valid_lft 2397sec preferred_lft 1797sec
    inet6 fe80::52e5:49ff:fe57:527d/64 scope link 
       valid_lft forever preferred_lft forever

[Venice] 06:27 ~ 52$ ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2002:a01:aa9:e472:52e5:49ff:fe57:527d/64 scope global dynamic 
       valid_lft 2389sec preferred_lft 1789sec
    inet6 fe80::52e5:49ff:fe57:527d/64 scope link 
       valid_lft forever preferred_lft forever
[Venice] 06:27 ~ 53$

Comment 7 Kevin Fenzi 2013-02-19 16:16:48 UTC
ok, so you do have a ipv6 address. 

can you do a 'ping6' to the hosts from comment #4?

Comment 8 Dennis Flaherty 2013-02-21 22:10:04 UTC
100% packet loss on both of them.  sa-update.secnap.net is an "unknown host".  

Regular ping still works on sa-update.dnswl.org and www.sa-update.pccc.com; on sa-update.secnap.net it tries 204.89.241.6 but fails.

Comment 9 Kevin Fenzi 2013-02-21 22:48:24 UTC
So, the problem here is that your provider is giving you an ipv6 address, and it doesn't work. ;) 

Consult with them why thats happened?

Comment 10 Dennis Flaherty 2013-02-21 23:26:03 UTC
Oh please.  It's so much more likely that I've misconfigured ipv6 on my own network.  Googling "test ipv6" pointed me to http://test-ipv6.com, which says

- No IPv6 address detected
- Connections to IPv6-only sites are timing out. Any web site that is IPv6 only, will appear to be down to you.
- Your DNS server (possibly run by your ISP) appears to have IPv6 Internet access.

Your readiness score
0/10	for your IPv6 stability and readiness, when publishers are forced to go IPv6 only

I bet if I fix this, the sa-update warning will go away.

Comment 11 Kevin Fenzi 2013-02-21 23:51:25 UTC
This line: 

 inet6 2002:a01:aa9:e472:52e5:49ff:fe57:527d/64 scope global dynamic 

Shows that you have been issued that valid ipv6. ;) 

It looks like that prefix is assigned to he.net... so perhaps you have a non fully working he.net tunnel?
http://tunnelbroker.net/

Comment 12 Dennis Flaherty 2013-02-22 00:00:21 UTC
My router says its ipv6 address is 2002:a01:aa9:e472:c23f:eff:fe84:ad83.  When I ping that, I get unknown host!

Comment 13 Dennis Flaherty 2013-02-22 16:40:35 UTC
OK, got that fixed: I can ping6 ipv6 addresses on my own LAN but not way out there on the Internet.

But I still get the sa-update error,

    can't resolve "fe80::c23f:eff:fe84:ad83%(null)" to address

Maybe this is a Perl coding error?  It can't handle a %(null) at the end of a string?  /usr/lib64/perl5/vendor_perl/Net/DNS/Resolver/Base.pm line 776.

Comment 14 Kevin Fenzi 2013-02-22 17:05:38 UTC
It's not a perl error. :) It works perfectly fine here with ipv6, provided you have a working network. ;) 

You need to: 

a) Get it so your ipv6 network actually can talk to ipv6 things on the internet (like say the spamassassin update servers)

or

b) Disable ipv6 so it doesn't try to reach them over ipv6 and uses ipv4.

Comment 15 Dennis Flaherty 2013-02-23 23:57:43 UTC
I can't figure out how to disable ipv6, but I was able to isolate the problem to the modem/router leased to me by Comcast.  They were very helpful and will be replacing it next Friday with a newer unit.

Comment 16 Dennis Flaherty 2013-03-09 18:58:21 UTC
They replaced the modem-router. I still can't ping6 ipv6.test-ipv6.com (Network is unreachable) but at least it gives up immediately now, and I no longer get the sa-update error.  Your option b) works for now.

Comment 17 Kevin Fenzi 2013-03-09 21:55:18 UTC
ok, shall we close this out then?

Please feel free to re-open or file a new one if you run into further issues...

Comment 18 Dennis Flaherty 2013-03-09 22:01:35 UTC
Yes, the immediate issue with sa-update is gone.  My issues with IPV6 are another matter for another time.  Thanks.


Note You need to log in before you can comment on or make changes to this bug.