Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606140 - GLSA 201701-36: bad format of the XML, breaks glsa-check?
Summary: GLSA 201701-36: bad format of the XML, breaks glsa-check?
Status: RESOLVED DUPLICATE of bug 606120
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Misc (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 02:24 UTC by Kalin KOZHUHAROV
Modified: 2017-01-18 02:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin KOZHUHAROV 2017-01-18 02:24:35 UTC
This started a few days ago on several machines, one using python2.7, one using 3.4. It is probably caused by bad XML in GLSA 201701-36, since deleting this file manually stopped the error (found the offender by `strace -e open`).


Somewhat related to bug #599942 IMHO.

Reproducible: Always

Steps to Reproduce:
$ /usr/bin/glsa-check -q --verbose -l affected
Actual Results:  

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/glsa-check", line 181, in <module>
    myglsa = Glsa(x, glsaconfig)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 505, in __init__
    self.read()
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 523, in read
    self.parse(urlopen(myurl))
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 570, in parse
    self.count = int(count)
AttributeError: Attr instance has no attribute '__trunc__'


Expected Results:  
201701-37 [N] [remote  ] libxml2: Multiple vulnerabilities ( dev-libs/libxml2-2.9.4 )

works fine (get expected results after:

$ mv /usr/portage/metadata/glsa/glsa-201701-36.xml /tmp
Comment 1 Mart Raudsepp gentoo-dev 2017-01-18 02:36:15 UTC
This couldn't have started happening before 14 hours ago from now, and was fixed 4 hours ago (+ sync propagation times). Though there was a period where a different GLSA was causing this.
Fixed per bug 606120, please sync

*** This bug has been marked as a duplicate of bug 606120 ***