Project

General

Profile

« Previous | Next » 

Revision cf998638

Added by Lukas Zapletal about 8 years ago

Rails 4.2 compatibility changes

View differences:

README.md
- Make sure that ABRT is installed and running.
```
~# yum install abrt-cli
~# systemctl start abrtd
~# systemctl start abrt-ccpp
yum install abrt-cli
systemctl start abrtd abrt-ccpp
systemctl enable abrtd abrt-ccpp
```
- Enable auto-reporting by running the following command:
```
~# abrt-auto-reporting enabled
abrt-auto-reporting enabled
```
- Configure ABRT reporting destination -
......
needed for verifying the validity of smart-proxy's certificate:
```
~# cp /var/lib/puppet/ssl/certs/ca.pem /etc/pki/ca-trust/source/anchors/
~# update-ca-trust
cp /var/lib/puppet/ssl/certs/ca.pem /etc/pki/ca-trust/source/anchors/
update-ca-trust
```
**Katello:** when using Foreman with Katello, the subscription management
certificate should be used instead:
```
~# cp /etc/rhsm/ca/katello-server-ca.pem /etc/pki/ca-trust/source/anchors/
~# update-ca-trust
cp /etc/rhsm/ca/katello-server-ca.pem /etc/pki/ca-trust/source/anchors/
update-ca-trust
```
### Verifying that the setup works
......
set of utilities in the Fedora/EPEL repository especially for this purpose:
```
~# yum -y install will-crash
~$ will_segfault
yum -y install will-crash
will_segfault
Will segfault.
Segmentation fault (core dumped)
```
......
maintainers, though:
```
~$ sleep 1d &
~$ kill -SEGV $!
sleep 1d &
kill -SEGV $!
```
### Testing aggregation
......
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
db/migrate/20140414095631_create_abrt_reports.rb
t.boolean :response_known
t.string :response_bthash
t.timestamps
t.timestamps :null => false
end
create_table :abrt_report_response_destinations do |t|
db/seeds.d/75-abrt-seeds.rb
# Create feature for Smart Proxy
Feature.find_or_create_by_name('Abrt')
f = Feature.where(:name => 'Abrt').first_or_create
raise "Unable to create Abrt proxy feature: #{format_errors f}" if f.nil? || f.errors.any?

Also available in: Unified diff