From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= * This test case tests setroubleshhot integration with ABRT * Bugzilla account is required for this test * If you don't have an account on [https:...") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
* If you don't have an account on [https://bugzilla.redhat.com Bugzilla], [https://bugzilla.redhat.com/createaccount.cgi create] one. | * If you don't have an account on [https://bugzilla.redhat.com Bugzilla], [https://bugzilla.redhat.com/createaccount.cgi create] one. | ||
|actions= | |actions= | ||
# | # Disable ShortenedReporting mode: run <code>echo 'ShortenedReporting = "no"' >> ~/.config/abrt/settings/abrt-applet.conf</code> | ||
# Logout and Login to gnome-shell | # Logout and Login to gnome-shell or restart abrt-applet using {{command|kill -TERM $( pgrep abrt-applet ) ; abrt-applet}} | ||
# Start audit daemon - {{command|systemctl start auditd.service}} | # Start audit daemon - {{command|systemctl start auditd.service}} | ||
# Check whether selinux is in ''Enforcing'' mode via {{command|getenforce}} command. If not run {{command|setenforce Enforcing}} | # Check whether selinux is in ''Enforcing'' mode via {{command|getenforce}} command. If not run {{command|setenforce Enforcing}} | ||
Line 12: | Line 12: | ||
# New ABRT pop-up should be displayed. | # New ABRT pop-up should be displayed. | ||
# Click the ''Report'' button on the displayed pop-up. Alternatively you can run {{command|gnome-abrt}} and find an AVC problem in the list of problems and click ''Report'' button. | # Click the ''Report'' button on the displayed pop-up. Alternatively you can run {{command|gnome-abrt}} and find an AVC problem in the list of problems and click ''Report'' button. | ||
# You would need to check 'All problems' to see the AVC in gnome-abrt | |||
# Click the ''Troubleshoot'' button | # Click the ''Troubleshoot'' button | ||
# Select the solution which enables the ''Report Bug'' button, select the button and proceed with ''Submit report'' | # Select the solution which enables the ''Report Bug'' button, select the button and proceed with ''Submit report'' |
Latest revision as of 12:50, 7 May 2013
Description
- This test case tests setroubleshhot integration with ABRT
- Bugzilla account is required for this test
- If you don't have an account on Bugzilla, create one.
How to test
- Disable ShortenedReporting mode: run
echo 'ShortenedReporting = "no"' >> ~/.config/abrt/settings/abrt-applet.conf
- Logout and Login to gnome-shell or restart abrt-applet using
kill -TERM $( pgrep abrt-applet ) ; abrt-applet
- Start audit daemon -
systemctl start auditd.service
- Check whether selinux is in Enforcing mode via
getenforce
command. If not runsetenforce Enforcing
- To generate selinux denial, run
su -
to log-in as root, then run the following command:cd /root; passwd --help >& output.txt
. - New ABRT pop-up should be displayed.
- Click the Report button on the displayed pop-up. Alternatively you can run
gnome-abrt
and find an AVC problem in the list of problems and click Report button. - You would need to check 'All problems' to see the AVC in gnome-abrt
- Click the Troubleshoot button
- Select the solution which enables the Report Bug button, select the button and proceed with Submit report
- Try to report the problem via Bugzilla
- Close newly created bug with CLOSED NOTABUG with "ABRT testing, please disregard" comment
- If reporting is unsuccessful, please include the reporting log. Reporting log can be cut and pasted from the GUI report window.
Expected Results
- Log message should appear, with information about the crash and a link to the reported bug
- A bug entry should be filed in Bugzilla, the entry should be assigned to the selinux-policy package.
- If the repoting was started from gnome-abrt the URL to Bugzilla bug should apper in the main window.
After completing this test case, please close the bug as NOTABUG.