Bug 17798

Summary: Bugzilla error message doesn't tell whom to mail when an error persists
Product: Infrastructure Reporter: Marja Van Waes <marja11>
Component: BugzillaAssignee: Frédéric "LpSolit" Buclin <LpSolit>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: atelier-bugs, mageia, sysadmin-bugs, tmb
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Set the maintainer to sysadmin

Description Marja Van Waes 2016-02-20 10:18:21 CET
The following error message in our Bugzilla tells to mail when an error persists, but not _whom_ to mail:

***************************************************************************

An unexpected error occurred. This could be a temporary problem, or some code is behaving incorrectly. If this problem persists, please email this page to with details of what you were doing at the time this message appeared.

URL: https://bugs.mageia.org/process_bug.cgi
There was an error sending mail from '"Marja van Waes" <bugzilla-daemon@mageia.org>' to 'bugsquad@mageia.org': Can't send data

Traceback:

at /usr/share/bugzilla/lib/Bugzilla/Mailer.pm line 174
Bugzilla::Mailer::MessageToMTA(...) called at /usr/share/bugzilla/lib/Bugzilla/BugMail.pm line 354
Bugzilla::BugMail::sendMail(...) called at /usr/share/bugzilla/lib/Bugzilla/BugMail.pm line 248
Bugzilla::BugMail::Send(...) called at /usr/share/bugzilla/lib/Bugzilla/Bug.pm line 1199
Bugzilla::Bug::_send_bugmail(...) called at /usr/share/bugzilla/lib/Bugzilla/Bug.pm line 1138
Bugzilla::Bug::send_changes(...) called at /usr/share/bugzilla/www/process_bug.cgi line 378

**************************************************************************

Please add an e-mail address after the word "to" in this line:
"If this problem persists, please email this page to with details of what you were doing at the time this message appeared."

(Btw, I was only adding comment 1 in bug 17797, "bugsquad@m.o" is a default assignee, and the assignee of that bug, but i doubt the address exists at all, and the message appeared fine on "bugs@ml.m.o")
Comment 1 Frédéric "LpSolit" Buclin 2016-02-20 23:06:00 CET
I would be happy to fix this problem but:
1) I don't have admin privileges on bugs.mageia.org
2) who should be set as the maintainer of Mageia Bugzilla?
Comment 2 Thomas Backlund 2016-02-21 10:26:30 CET
You now have admin power along with me

CC: (none) => tmb

Comment 3 Marja Van Waes 2016-02-21 11:10:44 CET
which e-mail address would be best to use? Often the error won't be caused by an error in our Bugzilla, but LpSolit doesn't  receive mails to the sysadm(in) group, does he?
Comment 4 Marja Van Waes 2016-02-21 11:13:14 CET
a new Bugzilla group alias, with tmb and LpSolit to redirect the mails to?
Comment 5 Nicolas Lécureuil 2016-02-21 12:21:53 CET
i would say to sysadmins "in general".

CC: (none) => mageia

Comment 6 Frédéric "LpSolit" Buclin 2016-02-21 14:33:12 CET
(In reply to Nicolas Lécureuil from comment #5)
> i would say to sysadmins "in general".

Which email address would that be? sysadmin-bugs@ml.mageia.org maybe? I thought about sysadmin-reports@ml.mageia.org, but this mailing-list gets way too much "spam". :)

Note that the maintainer doesn't need to have an account on Bugzilla, so I can put the email address you want.

Status: NEW => ASSIGNED

Comment 7 Marja Van Waes 2016-02-21 14:59:30 CET
(In reply to Frédéric Buclin from comment #6)
> (In reply to Nicolas Lécureuil from comment #5)
> > i would say to sysadmins "in general".
> 

> 
> Note that the maintainer doesn't need to have an account on Bugzilla, so I
> can put the email address you want.

That's what the @group.mageia.org aliases were created for

https://wiki.mageia.org/en/Contacts

 "sysadmin" before the @ should be the right address (I never tried it, though)
Comment 8 Marja Van Waes 2016-02-21 15:03:17 CET
misread your "Note that the maintainer doesn't need to have an account on Bugzilla", I thought you said that people reporting an issue can't post to ml.mageia.org addresses without being a member of those lists.

Anyway, the @group.mageia.org address for sysadmin team seems the best contact address in case of persisting errors
Comment 9 Frédéric "LpSolit" Buclin 2016-02-21 19:41:19 CET
Created attachment 7476 [details]
Set the maintainer to sysadmin

I'm not allowed to push to puppet, so here is the patch.
Comment 10 Mageia Robot 2016-02-21 19:41:31 CET
commit 073644369dd2be4742b78a48ef7795520a27de93
Author: Frédéric Buclin <LpSolit@...>
Date:   Sun Feb 21 20:40:58 2016 +0200

    add missing maintainer definition (mga#17798)
---
 Commit Link:
   http://gitweb.mageia.org/infrastructure/puppet/commit/?id=073644369dd2be4742b78a48ef7795520a27de93
Comment 11 Frédéric "LpSolit" Buclin 2016-02-21 19:56:36 CET
Should be fixed now :). No idea how long it takes to propagate, though.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED