Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-02 | selinux: rework selinux access check logic | Lennart Poettering | |
a) Instead of parsing the bus messages inside of selinux-access.c simply pass everything pre-parsed in the functions b) implement the access checking with a macro that resolves to nothing on non-selinux builds c) split out the selinux checks into their own sources selinux-util.[ch] d) this unifies the job creation code behind the D-Bus calls Manager.StartUnit() and Unit.Start(). | |||
2012-10-02 | journald: assert target instead of page | Lukas Nykryn | |
page is a local, yet unitialized, variable. | |||
2012-10-02 | shared: fail mkdir_p if the target exists and is not a directory | Zbigniew Jędrzejewski-Szmek | |
This makes mkdir_p actually behave like mkdir -p. | |||
2012-10-02 | nspawn: use automatic cleanup and provide debug info | Zbigniew Jędrzejewski-Szmek | |
The documentation for --link-journal is also reworded. | |||
2012-10-02 | trivial: fix typo | Zbigniew Jędrzejewski-Szmek | |
2012-10-01 | pam: check environ[] for XDG_SEAT as fallback | Lennart Poettering | |
This is useful for systems such as kmscon which want to invoke classic /sbin/login but use it on multiple seats. | |||
2012-09-28 | selinux: fix various problems | Daniel J Walsh | |
2012-09-28 | journald: rework auto-rotation logic | Lennart Poettering | |
2012-09-28 | journald: close sd_journal context after flushing to /var | Lennart Poettering | |
2012-09-27 | tmpfiles: restore previous behavior for F/f | Dave 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-28 | journal: add missing browse.html file | Lennart Poettering | |
2012-09-28 | journal: add minimal journal gateway daemon based on GNU libmicrohttpd | Lennart 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-28 | sd-journal: properly parse cursor strings | Lennart Poettering | |
2012-09-28 | logs-show: various cleanups | Lennart 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-28 | journalctl: add --cursor switch | Lennart Poettering | |
2012-09-27 | udev: collect - use snprintf() | Robert Milasan | |
2012-09-24 | selinux: use standard D-Bus error id for access denied | Lennart Poettering | |
2012-09-24 | macro: increase VA_FORMAT_ADVANCE type array and hit assert when it is reached | Lennart Poettering | |
2012-09-24 | journal: also use new VA_FORMAT_ADVANCE() macro in sd_journal_send() | Lennart Poettering | |
2012-09-24 | log: fix repeated invocation of vsnprintf()/vaprintf() in log_struct() | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=55213 | |||
2012-09-24 | journald: always pass first entry timestamp back from journal_file_verify() | Lennart Poettering | |
2012-09-24 | journalctl: print correct timespan in verify | Mirco 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-24 | util: don't export parsed_columns | Lennart Poettering | |
2012-09-24 | journal: set seal even for readonly journalfiles | Mirco Tischler | |
journalctl needs to know wether the file has been sealed to be able to do verification. | |||
2012-09-24 | journalctl: reset cached column count on SIGWINCH | Dave 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-24 | mount: simplify device node conditions a bit | Lennart Poettering | |
2012-09-24 | mount: only run fsck for actual device nodes | Lennart Poettering | |
2012-09-24 | main: don't try to mout cpuset with cpu+cpuacct anymore | Lennart 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-24 | journal: add missing test file | Lennart Poettering | |
2012-09-23 | udev: free fd before return in accelerometer.c | Lukas Nykryn | |
2012-09-23 | udev: free fd before return in scsi_serial.c | Lukas Nykryn | |
2012-09-23 | udev: free rule structure on error | Václav Pavlín | |
2012-09-23 | udev: check return value of write | Václav Pavlín | |
2012-09-23 | udev: check return value of symlink | Václav Pavlín | |
2012-09-23 | libudev: check return value of rename | Václav Pavlín | |
2012-09-23 | udev: check malloc return in collect/collect.c | Václav Pavlín | |
Returns from no memory checks updated with log_oom call | |||
2012-09-22 | journal: bring mmap cache prototype in sync | Lennart Poettering | |
2012-09-21 | journal: always keep marked mmap windows around | Lennart Poettering | |
2012-09-21 | missing: Fix compilation error due to wrong __NR_name_to_handle_at definition | Eelco 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-21 | journald: log how big the journal files may grow | Lennart Poettering | |
2012-09-21 | journalctl: make the argument to -n optional | Lennart Poettering | |
2012-09-21 | journal: 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-21 | multi-seat-x: drop a lot of unnecessary code | Lennart Poettering | |
2012-09-21 | sysctl: always return the last error we encountered | Lennart Poettering | |
2012-09-21 | nspawn: document why we don't check resolv.conf mount errors | Lennart Poettering | |
2012-09-21 | nspawn: 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-21 | hwclock: add missing OOM check | Lennart Poettering | |
2012-09-21 | pam: document that we don't do error checking when parsing vtnr | Lennart Poettering | |
2012-09-21 | journal: don't allow journal_file_open() to be called with ret being NULL | Lennart Poettering | |
2012-09-21 | login: missing break for getopt ARG_NO_ASK_PASSWORD in loginctl | Lukas Nykryn | |