summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-12-31Merge branch 'journal'Lennart Poettering
2011-12-31journal: move max_use into metrics structureLennart Poettering
2011-12-30journal: disable default debug loggingLennart Poettering
2011-12-30journal: fix a few bad memory accesses and leaksLennart Poettering
2011-12-30journald: forward all syslog messages to syslogdLennart Poettering
2011-12-30journal: add unit files and shared library glueLennart Poettering
2011-12-30journald: add missing headerLennart Poettering
2011-12-30remount-api-vfs: handle another OOM conditionLennart Poettering
2011-12-29journald: don't recheck /var availability more often than 30sLennart Poettering
2011-12-29journald: flush /run to /var as soon as it becomes availableLennart Poettering
2011-12-29journald: increase rate limit burst rateLennart Poettering
2011-12-28journal: never mmap beyond file sizeLennart Poettering
2011-12-27journald: when checking available disk space for rate limiting, cache the ↵Lennart Poettering
results temporarily
2011-12-27journal: fix hash table lookup logicLennart Poettering
2011-12-27journal: fix typoLennart Poettering
2011-12-27udev: exclude loopback device from udev rule based sysctl application, since ↵Lennart Poettering
we can just apply that directly at boot
2011-12-27journald: implement sophisticated rate limitingLennart Poettering
2011-12-23journal: implement stdout transportLennart Poettering
2011-12-22journald: enforce some syntax restrictions on field names sent from the ↵Lennart Poettering
client side
2011-12-21journal: properly handle first inline bisect array entryLennart Poettering
2011-12-21journal: add missing compress.[ch]Lennart Poettering
2011-12-21journalctl: add command line parsingLennart Poettering
2011-12-21journalctl: add json, export, short and verbose output modesLennart Poettering
2011-12-21journal: add inline compression support with XZLennart Poettering
2011-12-20journal: fix space reservation limit enforcementLennart Poettering
2011-12-20journal: fix matchesLennart Poettering
2011-12-20log: never block on syslog in PID 1Michal Schmidt
Use a non-blocking syslog socket if logging from PID 1. If sendmsg fails with EAGAIN, fall back to kmsg or console only for the current message. Next message will try syslog again.
2011-12-20dbus: no sync D-Bus connection flushingMichal Schmidt
Blocking on D-Bus in a system manager could lead to deadlock.
2011-12-20dbus: register to DBus asynchronouslyMichal Schmidt
Chen Jie observed and analyzed a deadlock. Assuming systemd-kmsg-syslogd is already stopped, but rsyslogd is not started yet: 1. systemd makes a synchronous call to dbus-daemon. 2. dbus-daemon wants to write something to syslog. 3. syslog needs to be started by systemd. ... but cannot be, because systemd is waiting in 1. Solve this by avoiding synchronous D-Bus calls. I had to write an async bus registration call. Interestingly, D-Bus authors anticipated this, in documentation to dbus_bus_set_unique_name(): > The only reason to use this function is to re-implement the equivalent > of dbus_bus_register() yourself. One (probably unusual) reason to do > that might be to do the bus registration call asynchronously instead > of synchronously. Lennart's comments from IRC: > though I think this doesn't fix the problem in its entirety > simply because dbus_connection_open_private() itself is still synchronous > i.e. the connect() call behind it is not async > I think I listed that issue actually on some D-Bus todo list > i.e. to make dbus_connection_get() fully async > but that's going to be hard > so your patch looks good So it may not be perfect, but it's clearly an improvement. I did not manage to reproduce the original deadlock with the patch.
2011-12-19label: fix labeling of symbolic linksDan Walsh
2011-12-19journal: implement inotify-based live logging logicLennart Poettering
2011-12-19hashmap: add hashmap_first_key()Lennart Poettering
2011-12-17journald: filter fields send from client starting with underscoreLennart Poettering
2011-12-17execute: fix losing of start timestampsMichal Schmidt
Start timestamps were always cleared before saving exit timestamps. Fix it by removing a condition that makes no sense any way I look at it.
2011-12-17journal: introduce mandatory sd_journal_printf() priority parameterLennart Poettering
2011-12-17journal: enforce limits on open journal filesLennart Poettering
2011-12-17journal: add native protocol to journald, and client side API to send ↵Lennart Poettering
journal messages
2011-12-16tmpfiles: add 'z', like 'Z' but not recursiveMichal Schmidt
2011-12-16tmpfiles: apply chown, chmod for 'Z' entries tooMichal Schmidt
If changing ownership or permissions is not desired, they can be configured to '-' or omitted entirely.
2011-12-16service: use 'syslog+console' for sysv_consoleMichal Schmidt
The default output to 'tty' for SysV service was making it hard to debug problems because error messages were missing from syslog.
2011-12-16tmpfiles: add RECURSIVE_RELABEL_PATH ('Z')Michal Schmidt
Feature requested by Dan Walsh.
2011-12-15tmpfiles: separate a generic item glob processing functionMichal Schmidt
Item glob processing will be useful for more than just removing.
2011-12-15tmpfiles: use a common function to set owner/group/mode/labelMichal Schmidt
2011-12-15tmpfiles: rename a couple of functionsMichal Schmidt
remove_item -> remove_item_instance remove_item_glob -> remove_item
2011-12-15tmpfiles: use an enum instead of plain char for item typeMichal Schmidt
For better safety. gcc can warn about missing values in switch statements.
2011-12-15systemctl: fix typo in 'is-enabled'Michal Schmidt
It prevented the action from working without dbus.
2011-12-15fsck: Fix typo in commentGregs Gregs
2011-12-14pam-module: add a couple of debugging printsMichal Schmidt
2011-12-09unit: check for unneeded dependencies even when unit stop was expectedMichal Schmidt
systemd did not stop units marked as "StopWhenUnneeded=yes" when the requiring unit was stopped on user's request. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=704197
2011-12-09unit: fix false positive in check for unneeded unitMichal Schmidt
A freshly started unit A was immediately considered unneeded just because unit B, which Requires A, was starting later in the transaction. Fix it by looking not only at the state of B, but also at its pending job. Also fix a copied&pasted comment.