lp:~vcs-imports/kerneloops/master

Created by VCS imports and last modified
Get this branch:
bzr branch lp:~vcs-imports/kerneloops/master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
kerneloops
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://git.infradead.org/kerneloops.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on alnitak and finished taking 15 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log
Import started on izar and finished taking 15 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log

Recent revisions

152. By Michal Schmidt <email address hidden>

Handle logs with NUL chars better

It is not too rare that '\0' chars appear in /var/log/messages. I saw a
real-life case where kerneloops would show a popup with the same old oops
after every login. It turned out that there were NUL chars in the log which
prevented kerneloops from seeing its marker, so it always treated the old oops
in the log as new.
This patch fixes it by always going through the whole known length of the
buffer (not stopping on NUL chars) and using less string-oriented functions in
fill_lineinfo().

151. By Michal Schmidt <email address hidden>

Use less memory

The linepointer array is huge!:
 linepointer = calloc(buflen+1, sizeof(char*));
buflen can be as much as 32 MB, that makes it allocate 32M*8 = 256M on x86_64.

Fix it by growing the allocation dynamically as we find interesting lines in
the log.

150. By Michal Schmidt <email address hidden>

Really limit max size of log to read to 32 MB

Because of MAX/MIN confusion, the buffer size was always at least 32 MB,
instead of at most 32 MB as intended.

149. By Michal Schmidt <email address hidden>

Make more symbols static

148. By Michal Schmidt <email address hidden>

Log URL to syslog even if not using DBus

The logical place to log the URL is write_logfile(). It will work even
if we have no DBus.
Mostly inspired by the patch in Fedora.

147. By Michal Schmidt <email address hidden>

unlink /tmp/kerneloops.* files after use

kerneloops does not delete its temporary files.
Delete them after use (after the applet replies via DBus).

146. By Matthew Wilcox <email address hidden>

Add Finnish translation

fi.po courtesy of Ville-Pekka Vainio <email address hidden>

145. By Matthew Wilcox <email address hidden>

German translation

Translation provided by Chris Leick <email address hidden>

144. By Matthew Wilcox <email address hidden>

make clean needs to remove *.dbg files

The *.dbg files are created by make tests; they should be removed by
make clean.

Signed-off-by: Matthew Wilcox <email address hidden>

143. By Matthew Wilcox <email address hidden>

Ignore kerneloops.8.gz instead of kerneloops.1.gz

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)
This branch contains Public information 
Everyone can see this information.

Subscribers