summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-10-02journald: assert target instead of pageLukas Nykryn
page is a local, yet unitialized, variable.
2012-10-02shared: fail mkdir_p if the target exists and is not a directoryZbigniew Jędrzejewski-Szmek
This makes mkdir_p actually behave like mkdir -p.
2012-10-02nspawn: use automatic cleanup and provide debug infoZbigniew Jędrzejewski-Szmek
The documentation for --link-journal is also reworded.
2012-10-02trivial: fix typoZbigniew Jędrzejewski-Szmek
2012-10-01pam: check environ[] for XDG_SEAT as fallbackLennart Poettering
This is useful for systems such as kmscon which want to invoke classic /sbin/login but use it on multiple seats.
2012-09-28selinux: fix various problemsDaniel J Walsh
2012-09-28journald: rework auto-rotation logicLennart Poettering
2012-09-28journald: close sd_journal context after flushing to /varLennart Poettering
2012-09-27tmpfiles: restore previous behavior for F/fDave Reisner
d4e9eb91ea changed the behavior for the F and f actions, wrongly sending them to glob_item(). Restore the old behavior and shortcut straight to write_one_file().
2012-09-28journal: add missing browse.html fileLennart Poettering
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-27udev: collect - use snprintf()Robert Milasan
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-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-24journal: add missing test fileLennart Poettering
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-22journal: bring mmap cache prototype in syncLennart 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
2012-09-21journal: don't allow journal_file_open() to be called with ret being NULLLennart Poettering
2012-09-21login: missing break for getopt ARG_NO_ASK_PASSWORD in loginctlLukas Nykryn
2012-09-21sysctl: fix error code handlingLukas Nykryn
After if (r <= 0) r can't be 0 so if (k < 0 && r == 0) never happens.