Bug 200741 - newsyslog, bzip2-runtime and additional runs
Summary: newsyslog, bzip2-runtime and additional runs
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 19:45 UTC by Kurt Jaeger
Modified: 2015-06-09 19:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer 2015-06-09 19:45:56 UTC

    
Comment 1 Kurt Jaeger freebsd_committer 2015-06-09 19:47:11 UTC
If newsyslog for a collection of logfiles takes too long, this might happen:

bzip2: I/O or other error, bailing out.  Possible reason follows.               
bzip2: No such file or directory                                                
        Input file = /var/log/security.0, output file = /var/log/security.0     
.bz2                                                                            
newsyslog: `bzip2 -f /var/log/security.0' terminated with a non-zero status     

reason: while bzip2 tries to compress the logfile, the files are
rotated around and newsyslog or bzip2 get confused.