Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888900 - glsa-check fails
Summary: glsa-check fails
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 21:29 UTC by Benny Pedersen
Modified: 2022-12-29 22:05 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 Benny Pedersen 2022-12-29 21:29:37 UTC
works: glsa-check --test all
fails: glsa-check --test --mail all



Reproducible: Always

Actual Results:  
glsa-check --test --mail all
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/portage/mail.py", line 146, in send_mail
    myconn.sendmail(myfrom, myrecipient, message_str)
  File "/usr/lib/python3.10/smtplib.py", line 887, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (552, b'5.3.4 Message size exceeds fixed limit', 'portage@localhost')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/glsa-check", line 485, in <module>
    portage.mail.send_mail(portage.settings, mymessage)
  File "/usr/lib/python3.10/site-packages/portage/mail.py", line 149, in send_mail
    raise portage.exception.PortageException(
portage.exception.PortageException: !!! An error occurred while trying to send logmail:
(552, b'5.3.4 Message size exceeds fixed limit', 'portage@localhost')
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-29 21:30:10 UTC
This seems like an issue with your local mail setup.
Comment 2 Benny Pedersen 2022-12-29 21:51:10 UTC
in this case i see my postfix reject it yes, so it --mail makes a report of more then 8M in mail size, for a --test with no glsa-check results ?

does it report all ebuilds installed is fine as in "ok" ?, this could be a big email if yes with lots of ebuilds checked ?

is there any setup for email in make.conf ?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-29 22:00:15 UTC
What output does 'glsa-check --test all' give you?
Comment 4 Benny Pedersen 2022-12-29 22:04:23 UTC
yes its oversize compared to default postfix of 10M non mime size

change postfix to accept 50M in mail size will remove the traceback

i still just consider it should not make a traceback on it ?

with glsa-check --test all there is no output eg no glsa found, should imho not make a email of 12M ?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-29 22:05:57 UTC
(In reply to Benny Pedersen from comment #4)
> yes its oversize compared to default postfix of 10M non mime size
> 
> change postfix to accept 50M in mail size will remove the traceback
> 
> i still just consider it should not make a traceback on it ?
> 
> with glsa-check --test all there is no output eg no glsa found, should imho
> not make a email of 12M ?

Right, this is the important bit, which you didn't say.

It's unexpected that they give different output, especially if the output is of hugely different sizes.