chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
585314e
)
journal: set seal even for readonly journalfiles
author
Mirco Tischler
<mt-ml@gmx.de>
Sat, 22 Sep 2012 19:45:30 +0000
(21:45 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Sep 2012 12:41:38 +0000
(14:41 +0200)
journalctl needs to know wether the file has been sealed to
be able to do verification.
src/journal/journal-file.c
patch
|
blob
|
history
diff --git
a/src/journal/journal-file.c
b/src/journal/journal-file.c
index 6db9955aa5dbc9c8c84f0e682d7a5e837cfcd3aa..f775fec444004b27e6d053aff08f2ee487fb45a2 100644
(file)
--- a/
src/journal/journal-file.c
+++ b/
src/journal/journal-file.c
@@
-260,8
+260,7
@@
static int journal_file_verify_header(JournalFile *f) {
f->compress = JOURNAL_HEADER_COMPRESSED(f->header);
- if (f->writable)
- f->seal = JOURNAL_HEADER_SEALED(f->header);
+ f->seal = JOURNAL_HEADER_SEALED(f->header);
return 0;
}