Bug 1171366 - "Notify Admin" doesn't work
Summary: "Notify Admin" doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 983150
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-06 03:47 UTC by Ralf Corsepius
Modified: 2015-06-02 15:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-02 15:08:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Libreoffice presentation (10.69 KB, application/vnd.oasis.opendocument.presentation)
2014-12-11 09:39 UTC, Mark van Rossum
no flags Details

Description Ralf Corsepius 2014-12-06 03:47:55 UTC
Description of problem:

When an SEAlert occurs, the sealert browser offers a "Notify Admin" button.

When pressing this button, I am seeing a button telling me
"Failed to execute default Mail Reader.
Input/output error
[Close]
"

Version-Release number of selected component (if applicable):
setroubleshoot-3.2.20-3.fc21.x86_64

How reproducible:
Always


Actual results:
c.f. above.

Expected results:
Function.

Additional info:
- I am using xfce4 and am using "Mozilla Thunderbird" as my preferred Mail Reader.
- In my syslog, I found this, which I presume to be related to this issue:
...
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: TypeError: cannot concatenate 'str' and 'list' objects
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: command += ",subject='" + subject + "'"
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: File "/usr/lib64/xfce4/exo-1/exo-compose-mail-1", line 83, in <module>
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: Traceback (most recent call last):
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: TypeError: cannot concatenate 'str' and 'list' objects
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: command += ",subject='" + subject + "'"
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: File "/usr/lib64/xfce4/exo-1/exo-compose-mail-1", line 98, in <module>
Dec 06 04:41:17 beck org.fedoraproject.Setroubleshootd[1464]: Traceback (most recent call last):
...

Seems to me as if setroubleshoot has problems in interacting with xfce4.

Comment 1 Mark van Rossum 2014-12-11 00:23:59 UTC
I have encountered this using a powerpoint presentation, opened in Libreoffice.

This presentation contained the mailto command.

Running XFCE and thunderbird as well.

Comment 2 Mark van Rossum 2014-12-11 00:26:49 UTC
It actually also throws an error on native Libreoffice presentations.
use
Insert-> Hyperlink email
to create one, and then show the presentation.

Comment 3 Mark van Rossum 2014-12-11 09:38:12 UTC
So this might be an exo bug.

Comment 4 Mark van Rossum 2014-12-11 09:39:49 UTC
Created attachment 967168 [details]
Libreoffice presentation

This presentattion gives an error in XFCE when you run it, and click the text.

Can someone try this in something else than XFCE?

Comment 5 Ralf Corsepius 2014-12-14 12:12:39 UTC
(In reply to Mark van Rossum from comment #3)
> So this might be an exo bug.

Confirmed - It is. 

The origin of this bug is in Red Hat's exo-compose-mail-1 (aka. mailtoparse.py). Replacing this stuff with upstream's exo-compose-mail-1 fixes this issue. 

I am going to file a bug against exo.

Comment 6 Ralf Corsepius 2014-12-14 12:38:13 UTC
There seems to be BZ on this topic open: RHBZ#983150.

Comment 7 Petr Lautrbach 2015-06-02 15:08:23 UTC
It works in Fedora 22 with exo-0.10.6-1.fc22.x86_64 and setroubleshoot-3.2.24-1.fc22.x86_64


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