Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 552869 - Odd service failure abrtd: Failed to start: got sig 2
Summary: Odd service failure abrtd: Failed to start: got sig 2
Keywords:
Status: CLOSED DUPLICATE of bug 560642
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 553700 553981 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-06 12:20 UTC by Mads Kiilerich
Modified: 2015-02-01 22:50 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-04 16:15:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2010-01-06 12:20:31 UTC
[root@localhost ~]# rpm -qa 'abrt*'
abrt-addon-kerneloops-1.0.2-1.fc12.i686
abrt-1.0.2-1.fc12.i686
abrt-libs-1.0.2-1.fc12.i686
[root@localhost ~]# tail -n0 -f /var/log/messages &
[1] 22436
[root@localhost ~]# service abrtd start
Starting abrt daemon: Jan  6 13:14:38 localhost abrtd: Plugin Kerneloops (0.0.2) succesfully loaded
Jan  6 13:14:38 localhost abrtd: Plugin SQLite3 (0.0.2) succesfully loaded
Jan  6 13:14:38 localhost abrtd: Plugin KerneloopsReporter (0.0.1) succesfully loaded
Jan  6 13:14:38 localhost abrtd: Plugin KerneloopsScanner (0.0.1) succesfully loaded
Jan  6 13:14:38 localhost abrtd: Can't initialize plugin Bugzilla: no such plugin installed
Jan  6 13:14:38 localhost abrtd: Error while initializing daemon
abrtd: Failed to start: got sig 2
Jan  6 13:14:38 localhost abrtd: Plugin Kerneloops successfully unloaded
Jan  6 13:14:38 localhost abrtd: Plugin KerneloopsReporter successfully unloaded
Jan  6 13:14:38 localhost abrtd: Plugin KerneloopsScanner successfully unloaded
Jan  6 13:14:38 localhost abrtd: Plugin SQLite3 successfully unloaded
Jan  6 13:14:38 localhost abrtd: Exiting

If abrtd has such a strong dependency on "plugin Bugzilla" then it should be an rpm dependency. Alternatively it should fail the service start nicely.

Comment 1 Denys Vlasenko 2010-01-06 14:06:06 UTC
"yum install abrt-desktop" is meant to be used by people who want out-of-the-box working abrt, without tweaking any config files and such. It does install all plugins required by default configuration.

You are free to install abrt components by hand. For example, you can choose to not install abrt-plugin-bugzilla. But then you will need to change the configuration file so that it doesn't use bugzilla plugin (most usual case is when you want to use different reporting plugin).

Please let me know where this can be documented better to prevent others from falling into the same trap you are in.

Comment 2 Mads Kiilerich 2010-01-06 14:42:20 UTC
From one point of view: This was an upgraded system, and after the upgrade a service was failing. That is a unfortunate regression.

Another point of view: The users who want out-of-the-box working abrt do not read any documentation but just installs the abrt package and expect that to be sufficient. They will never find the abrt-desktop package. It would be nice if abrt was renamed to abrt-daemon and abrt-desktop was renamed to abrt. It might be possible with some clever epoch tricks.

Third point of view: If the default configuration of abrtd requires abrt-plugin-bugzilla then there should be a package dependency. Alternatively abrt-plugin-bugzilla could have its own configuration in the conf.d/ style.

(FWIW: I don't understand why abrt is split up in so many packages. It is fine to break dependency chains, but this seems to be over-engineered. The number of abrt packages and/or their naming have however improved a lot. And "addon" and "plugin" are almost synonyms to me, and the difference doesn't tell a system administrator anything. For example "handler" and "reporter" would be more descriptive. "abrt-handler-coredumps" tells me a lot more than than "abrt-addon-ccpp". But this getting off-topic...)

Fourth point of view: IF the abrtd daemon fails to start then "abrtd: Failed to start: got sig 2" doesn't help and shouldn't be shown.

Comment 3 Jiri Moskovcak 2010-01-07 10:04:55 UTC
(In reply to comment #2)
> From one point of view: This was an upgraded system, and after the upgrade a
> service was failing. That is a unfortunate regression.
> 

I went thru the dependencies in spec file and found one possible case when this may happen. User upgrades from Fedora < 12 and has kerneloops installed. In this case it brings only these packages: abrt, abrt-libs and abrt-addon-kerneloops, the abrt-desktop is installed only if there was bug-buddy installed. So I'm wondering if this is the case.

> Third point of view: If the default configuration of abrtd requires
> abrt-plugin-bugzilla then there should be a package dependency. Alternatively
> abrt-plugin-bugzilla could have its own configuration in the conf.d/ style.
> 

Yes, that's planned.

> (FWIW: I don't understand why abrt is split up in so many packages. It is fine
> to break dependency chains, but this seems to be over-engineered. 

The idea is to keep every plugin in separate package, we're trying to put together the packages which can't work without each other, but I don't think we will reduce the number significantly.

The number of
> abrt packages and/or their naming have however improved a lot. And "addon" and
> "plugin" are almost synonyms to me, and the difference doesn't tell a system
> administrator anything. For example "handler" and "reporter" would be more
> descriptive. "abrt-handler-coredumps" tells me a lot more than than
> "abrt-addon-ccpp". But this getting off-topic...)
> 
> Fourth point of view: IF the abrtd daemon fails to start then "abrtd: Failed to
> start: got sig 2" doesn't help and shouldn't be shown.  

Yes, the error message should be more descriptive.

Comment 4 Mads Kiilerich 2010-01-07 11:29:07 UTC
> I went thru the dependencies in spec file and found one possible case when this
> may happen. User upgrades from Fedora<  12 and has kerneloops installed. In
> this case it brings only these packages: abrt, abrt-libs and
> abrt-addon-kerneloops, the abrt-desktop is installed only if there was
> bug-buddy installed. So I'm wondering if this is the case.

Yes, I think that was the case.

IIRC some abrt package in F11 (other than abrt-desktop?) conflicted/replaced bug-buddy. Because the F11 version was so old I gave up and probably removed most of it.

>> Third point of view: If the default configuration of abrtd requires
>> abrt-plugin-bugzilla then there should be a package dependency. Alternatively
>> abrt-plugin-bugzilla could have its own configuration in the conf.d/ style.
> 
> Yes, that's planned.

But until that happens and the bugzilla configuration is moved to the bugzilla package then there will be a de facto dependency from content of abrt to content of the bugzilla package? I think that should be reflected in the package dependencies.

Comment 5 Jiri Moskovcak 2010-01-08 19:52:02 UTC
*** Bug 553700 has been marked as a duplicate of this bug. ***

Comment 6 Peter Trenholme 2010-01-09 20:09:21 UTC
I installed the abrt-desktop which found several dependencies (including the Bugzilla one) to install, and I no longer get the "Failed" message during boot.

And, FYI, my installation was not a F11 upgrade; it was transitioned to a F12 system from a Rawhide F12 one.

Comment 7 Sebastian Krämer 2010-01-09 21:24:58 UTC
Ah thanks, I filed a bug about the same issue. As for documentation, this bug report did it for me..

I experienced the bug as a regression, it came after an upgrade. If it matters, I upgraded from f11 via preupgrade weeks ago. After installing abrt-desktop, the init script runs just fine. Could you guide me to some manual configuration that was mentioned earlier?

Comment 8 Sebastian Krämer 2010-01-09 21:25:07 UTC
*** Bug 553981 has been marked as a duplicate of this bug. ***

Comment 9 Jason Fenner 2010-01-14 15:27:27 UTC
Currently a new install or upgrade to F12 will show a alarm on the desktop stating that ABRT could not start.  This would normally indicate to the user that there is an error.  I think it would make sense to not add abrt-plugin-bugzilla as a dependency, but rather to add abrt-desktop to the default package install list for anaconda.

Also, it'd be good to get this issue documented somewhere.  I will look into where the best place to do this is.

Comment 10 Mads Kiilerich 2010-01-14 16:09:43 UTC
Jason: That somewhere should be http://fedoraproject.org/wiki/Common_F12_bugs. If you don't know or couldn't find that page then it just means that the page has a marketing problem ;-)

(By the way: bug 543725 now shows the same error message - but apparently for a different reason.)

Comment 11 Jason Fenner 2010-01-14 17:42:58 UTC
(In reply to comment #10)
> Jason: That somewhere should be http://fedoraproject.org/wiki/Common_F12_bugs.
> If you don't know or couldn't find that page then it just means that the page
> has a marketing problem ;-)
> 

I added an entry to https://fedoraproject.org/wiki/Common_F12_bugs for the ABRT issue.

Also, I opened a release notes ticket for the addition of the ABRT information.
https://bugzilla.redhat.com/show_bug.cgi?id=555387

> (By the way: bug 543725 now shows the same error message - but apparently for a
> different reason.)    

I checked out bug 543725 and it is not directly related to this issue.  Rather it is a traceback that was generated when you try to run the ABRT GUI when the ABRT service is not running.  It's what the ABRT GUI does when it can't connect to the ABRT service.

Comment 12 Silvio Schneider 2010-02-01 21:23:57 UTC
I also update a few days ago and I am facing the same problem.
When I start abrtd in the console, there is a different message in the log

Feb  1 22:23:11 localhost abrtd: can't load '/usr/lib64/abrt/lib.so': /usr/lib64/abrt/lib.so: cannot open shared object file: No such file or directory

Could not found a work around so far.

Comment 13 Denys Vlasenko 2010-02-03 12:26:46 UTC
"can't load '/usr/lib64/abrt/lib.so'" is the result of load attempt for plugin named "" (i.e. empty string). This needs to be researched.

Please do as root:

killall abrtd
abrtd -dvvv


wait a few secs, then ^C running abrtd and cut-n-paste abrtd's on-screen log here.

Comment 14 Silvio Schneider 2010-02-03 20:34:59 UTC
Hi Denys,
Sorry too late. I remove abrtd with yum and installed the service again. Voilà it's back working again. Easy workaroung I am happy :-) Sirene-Signal is gone.
Cheers
Suvi.org

Comment 15 Denys Vlasenko 2010-02-04 16:15:50 UTC

*** This bug has been marked as a duplicate of bug 560642 ***


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