Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash-catcher should create dir /var/cache/crash-catcher when is not present #7

Closed
mozeq opened this issue Feb 4, 2013 · 2 comments

Comments

@mozeq
Copy link
Contributor

mozeq commented Feb 4, 2013

Opened '20090226T12:36:02' by mnowak as https://fedorahosted.org/abrt/ticket/7

Install c-c

dhcp-lab-124 Download # /etc/init.d/crash-catcher restart
Stopping crash-catcher daemon: [FAILED]
Starting crash-catcher daemon: Plugin SQLite3 (0.0.1) succesfully loaded.
Plugin Logger (0.0.1) succesfully loaded.
Plugin Mailx (0.0.1) succesfully loaded.
Plugin CCpp (0.0.1) succesfully loaded.
Registred plugin CCpp(Language)
Registred plugin Mailx(Reporter)
Registred plugin SQLite3(Database)
[ OK ]
--------> OK

dhcp-lab-124 Download # rm -rf /var/cache/crash-catcher/

dhcp-lab-124 Download # /etc/init.d/crash-catcher restart
Stopping crash-catcher daemon: Got SIGINT/SIGTERM, cleaning up..
UnRegistred plugin CCpp(Language)
Plugin CCpp sucessfully unloaded.
Plugin Logger sucessfully unloaded.
UnRegistred plugin Mailx(Reporter)
Plugin Mailx sucessfully unloaded.
UnRegistred plugin SQLite3(Database)
Plugin SQLite3 sucessfully unloaded.
[ OK ]
Starting crash-catcher daemon: Plugin SQLite3 (0.0.1) succesfully loaded.
Plugin Logger (0.0.1) succesfully loaded.
Plugin Mailx (0.0.1) succesfully loaded.
Plugin CCpp (0.0.1) succesfully loaded.
Registred plugin CCpp(Language)
Registred plugin Mailx(Reporter)
Registred plugin SQLite3(Database)
Cannot create daemon: Add watch failed:/var/cache/crash-catcher
[ OK ]
`----------------------------------------------------------^^^^^^^^ ???

  1. c-c not running

dhcp-lab-124 Download # ps axu | grep crash
root 3805 0.0 0.0 87748 784 pts/1 S+ 13:33 0:00 grep --color=auto crash

--------> FAIL

  • create /var/cache/crash-catcher via c-c and
  • fail the init script when the service is not running at all
@mozeq
Copy link
Contributor Author

mozeq commented Feb 4, 2013

Added '20090227T14:31:32' by 'jlaska'

If you remove a directory that's provided by an rpm package, I don't think we should expect the service to detect and recover?

@mozeq
Copy link
Contributor Author

mozeq commented Feb 4, 2013

Added '20090305T12:35:58' by 'jmoskovc'

Yes, abrt shouldn't create the directory that is owned by a package...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant