summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-28journal: add minimal journal gateway daemon based on GNU libmicrohttpdLennart Poettering
This minimal HTTP server can serve journal data via HTTP. Its primary purpose is synchronization of journal data across the network. It serves journal data in three formats: text/plain: the text format known from /var/log/messages application/json: the journal entries formatted as JSON application/vnd.fdo.journal: the binary export format of the journal The HTTP server also serves a small HTML5 app that makes use of the JSON serialization to present the journal data to the user. Examples: This downloads the journal in text format: # systemctl start systemd-journal-gatewayd.service # wget http://localhost:19531/entries Same for JSON: # curl -H"Accept: application/json" http://localhost:19531/entries Access via web browser: $ firefox http://localhost:19531/
2012-09-28sd-journal: properly parse cursor stringsLennart Poettering
2012-09-28logs-show: various cleanupsLennart Poettering
Among other cleanups this introduces a threshold for the size of binary blobs we serialize as integer arrays in the JSON output. THis can be disabled via --all.
2012-09-28journalctl: add --cursor switchLennart Poettering
2012-09-27update TODOLennart Poettering
2012-09-27build-sys: bump revisionLennart Poettering
2012-09-27udev: don't let systemd-udev-settle delay basic.targetTom Gundersen
It is no longer possible to manually enable systemd-udev-settle.service, so its only use is by legacy services explicitly pulling it in. It makes sense for these services to also explicitly order themselves after udev-settle.service, which makes After=basic.target redundant. This should reduce the negative effect on boot-time of having to enable legacy services such as lvm.service.
2012-09-27udev: collect - use snprintf()Robert Milasan
2012-09-27udev: remove Install section from systemd-udev-settle.serviceKay Sievers
Legacy tool on-demand pull-in the settling, it should never run by default, nothing orders against is anyway.
2012-09-25build-sys: prepare release 192systemd/v192Lennart Poettering
2012-09-24selinux: use standard D-Bus error id for access deniedLennart Poettering
2012-09-24macro: increase VA_FORMAT_ADVANCE type array and hit assert when it is reachedLennart Poettering
2012-09-24journal: also use new VA_FORMAT_ADVANCE() macro in sd_journal_send()Lennart Poettering
2012-09-24log: fix repeated invocation of vsnprintf()/vaprintf() in log_struct()Lennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=55213
2012-09-24update TODOLennart Poettering
2012-09-24rules: only mark MD disks, not partitions, with SYSTEMD_READY=0Kay Sievers
2012-09-24journald: always pass first entry timestamp back from journal_file_verify()Lennart Poettering
2012-09-24journalctl: print correct timespan in verifyMirco Tischler
The old code used a timestamp to print a timespan for unsealed journalfiles, incorrectly showing things like 2230 days of unsealed entries. Print the timespan between the first and last entry instead.
2012-09-24util: don't export parsed_columnsLennart Poettering
2012-09-24journal: set seal even for readonly journalfilesMirco Tischler
journalctl needs to know wether the file has been sealed to be able to do verification.
2012-09-24journalctl: reset cached column count on SIGWINCHDave Reisner
This requires a little bit of tip-toeing around to explicitly avoid touching the environment from a sig handler. Instead, simply create a function to reset the var to its "unset" state, allowing the next call to columns() to recalculate and cache the new value.
2012-09-24mount: simplify device node conditions a bitLennart Poettering
2012-09-24mount: only run fsck for actual device nodesLennart Poettering
2012-09-24main: don't try to mout cpuset with cpu+cpuacct anymoreLennart Poettering
Turns out cpuset needs explicit initialization before we could make use of it. Thus mounting cpuset with cpu/cpuacct would make it impossible to just create a group in "cpu" and start it.
2012-09-24Revert "comment out uncommitted test source code"Lennart Poettering
This reverts commit b8bc868009372deb2f30263322572723e5968842. Added the test file now.
2012-09-24journal: add missing test fileLennart Poettering
2012-09-23NEWS: fix some typosLennart Poettering
2012-09-23comment out uncommitted test source codeKay Sievers
2012-09-23udev: free fd before return in accelerometer.cLukas Nykryn
2012-09-23udev: free fd before return in scsi_serial.cLukas Nykryn
2012-09-23udev: free rule structure on errorVáclav Pavlín
2012-09-23udev: check return value of writeVáclav Pavlín
2012-09-23udev: check return value of symlinkVáclav Pavlín
2012-09-23libudev: check return value of renameVáclav Pavlín
2012-09-23udev: check malloc return in collect/collect.cVáclav Pavlín
Returns from no memory checks updated with log_oom call
2012-09-21bash-completion: fix whitespaceDave Reisner
Use spaces for indentation instead of tabs.
2012-09-21bash-completion: add rumidentary support for journalctlDave Reisner
2012-09-22journal: bring mmap cache prototype in syncLennart Poettering
2012-09-21build-sys: prepare release 191systemd/v191Lennart Poettering
2012-09-21journal: always keep marked mmap windows aroundLennart Poettering
2012-09-21missing: Fix compilation error due to wrong __NR_name_to_handle_at definitionEelco Dolstra
"__NR_name_to_handle" should read "__NR_name_to_handle_at". This fixes a compilation error on systems with older kernel headers.
2012-09-21journald: log how big the journal files may growLennart Poettering
2012-09-21journalctl: make the argument to -n optionalLennart Poettering
2012-09-21journal: completely rework the mmap cache as I too dumb to actually ↵Lennart Poettering
understand it Instead of doing hand optimized fd bisect arrays just use plain old hashmaps. Now I can understand my own code again. Yay! As a side effect this should fix some bad memory accesses caused by accesses after mmap(), introduced in 189.
2012-09-21multi-seat-x: drop a lot of unnecessary codeLennart Poettering
2012-09-21sysctl: always return the last error we encounteredLennart Poettering
2012-09-21nspawn: document why we don't check resolv.conf mount errorsLennart Poettering
2012-09-21nspawn: we can't overmount /etc/localtime anymore since it's usually a ↵Lennart Poettering
symlink now Create the right symlink if possible for /etc/localtime
2012-09-21hwclock: add missing OOM checkLennart Poettering
2012-09-21pam: document that we don't do error checking when parsing vtnrLennart Poettering