이 콘텐츠는 선택한 언어로 제공되지 않습니다.

28.4.9. Configuring Automatic Reporting


ABRT can be configured to use μReports. This additional type of bug report has these advantages:
  • Once enabled, μReports are sent automatically, without user interaction. In contrast, the normal reports are not sent until manually triggered by the user.
  • μReports are anonymous and do not contain sensitive information. This eliminates the risk that unwanted data will be submitted automatically.
  • A μReport represents the detected problem as a JSON object. Therefore, it is machine-readable and can be created and processed automatically.
  • μReports are smaller than full bug reports.
  • μReports do not require downloading large amounts of debugging information.
μReports serve several goals. They help to prevent duplicate customer cases that might get created because of multiple occurences of the same bug. Additionally, μReports enable gathering statistics of bug occurences and finding known bugs across different systems. Finally, if authenticated μReports are enabled as described at the end of this section, ABRT can automatically present instant solutions to the customers. However, μReports do not necessarily provide engineers with enough information to fix the bug, for which a full bug report may be necessary.
A μReport generally contains the following information:
  • a call stack trace of a program without any variables, or, in case of multi-threaded C, C++, and Java programs, multiple stack traces
  • which operating system is used
  • versions of the RPM packages involved in the crash
  • whether the program ran under the root user
  • for kernel oops, possibly information about host hardware

    Warning

    Do not enable μReports if you do not want to share information about your hardware with Red Hat.
For μReport examples, see the Examples of μReports article.
With μReports enabled, the following happens by default when a crash is detected:
  1. ABRT submits a μReport with basic information about the problem to Red Hat's ABRT server.
  2. The server determines whether the problem is already in the bug database.
  3. If it is, the server returns a short description of the problem along with a URL of the reported case.
    If not, the server invites the user to submit a full problem report.
To enable μReports for all users, run as root:
~]# abrt-auto-reporting enabled
or add the following line to the /etc/abrt/abrt.conf file:
AutoreportingEnabled = yes
User-specific configuration is located in the $USER/.config/abrt/ directory. It overrides the system-wide configuration.
To apply the new configuration, restart the ABRT services by running:
~]# service abrtd restart
The default autoreporting behavior - sending μReports - can be changed. To do that, assign a different ABRT event to the AutoreportingEvent directive in the /etc/abrt/abrt.conf configuration file. See Section 28.4.2, “Standard ABRT Installation Supported Events” for an overview of the standard events.
In Red Hat Enterprise Linux 7.1 and later, customers can also send authenticated μReports, which contain more information: hostname, machine-id (taken from the /etc/machine-id file), and RHN account number. The advantage of authenticated μReports is that they go directly to the Red Hat Customer Portal, and not only to Red Hat's private crash-report server, as the regular μReports do. This enables Red Hat to provide customers with instant solutions to crashes.
To turn the authenticated automatic reporting on, run the following command as root:
~]# abrt-auto-reporting enabled -u RHN_username
Replace RHN_username with your Red Hat Network username. This command will ask for your password and save it in plain text into the /etc/libreport/plugins/rhtsupport.conf file.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.