Modify ↓
Ticket #1547 (closed task: fixed)
loggerd enhancements
| Reported by: | juruen@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | 1.2.10-maint | Component: | logs |
| Severity: | major | Keywords: | |
| Cc: |
Description
3 things that loggerd needs to do well:
- It needs to initialize eBox log, because some parts of the code can call EBox::{debug,info...} methods. This could be the origin of permission issues in /var/log/ebox/ebox.log
- It needs to log the result of eval. Actually, we should use try/otherwise and log with otherwise. It is probably that we are missing an error in that eval.
- We need to deal with the file descriptor in our select more carefully. That code has an obvious race condition. What happens if were waiting on a select syscall, on a fd that belongs to a file that is removed and recreated by logrotate?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
And of course a lot of testing.