summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-10-18journalctl: unify ellipsation handling between journalctl and systemctlLennart Poettering
2012-10-18journalctl: don't ellipsize unless on a ttyLennart Poettering
2012-10-18journalctl: honour -n if -F is usedLennart Poettering
2012-10-18journal: fix symbol versioning fileLennart Poettering
2012-10-18journal: typo fixLennart Poettering
2012-10-18journal: implement filtering in browse.htmlLennart Poettering
2012-10-18journal: add high-level match option to filter by current boot idLennart Poettering
2012-10-18journal: add ability to list unique fields to gatewaydLennart Poettering
2012-10-18journal: validate field name in sd_journal_query_unique()Lennart Poettering
2012-10-18systemd: use structured logging for unit changesZbigniew Jędrzejewski-Szmek
Information which unit a log entry pertains to enables systemctl status to display more log messages.
2012-10-18core/execute: use cleanup_strv_freeZbigniew Jędrzejewski-Szmek
2012-10-18libsystemd-journal: export sd_journal_restart_uniqueZbigniew Jędrzejewski-Szmek
2012-10-18journal: suggest rotation when fields are not indexedLennart Poettering
2012-10-18journalctl: move access check before the first access to the journal filesLennart Poettering
2012-10-18journalctl: implement quering field values with new -F switchLennart Poettering
Example: journalctl -F _SYSTEMD_UNIT will list all units that ever logged to the journal.
2012-10-18journal: add ability to list values a specified field can take in all ↵Lennart Poettering
entries of the journal The new 'unique' API allows listing all unique field values that a field specified by a field name can take in all entries of the journal. This allows answering queries such as "What units logged to the journal?", "What hosts have logged into the journal?", "Which boot IDs have logged into the journal?". Ultimately this allows implementation of tools similar to lastlog based on journal data. Note that listing these field values will not work for journal files created with older journald, as the field values are not indexed in older files.
2012-10-18manager: connect SIGRTMIN+24 to terminating --user instancesLennart Poettering
2012-10-18service: when invoking service processes in --user mode set MANAGERPID to ↵Lennart Poettering
PID of systemd
2012-10-17timedatectl: rename --fix-system to --adjust-system-clockLennart Poettering
Quite long to read but hopefully less misleading.
2012-10-17timedatectl: ensure n_zones is initializedDave Reisner
2012-10-17timedatectl: properly initialize struct before decoding bus messagesLennart Poettering
2012-10-17hostnamed: allow UTF8 chars in pretty hostname againLennart Poettering
2012-10-17journal: fix potential integer overflowLennart Poettering
2012-10-17hostname: add new hostnamectl tool as text client for hostnamedLennart Poettering
2012-10-17loginctl: show pager also for status commandLennart Poettering
2012-10-17timedatectl: introduce new command line client for timedatedLennart Poettering
Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings.
2012-10-17Properly handle device aliases used as dependenciesEelco Dolstra
If a device unit has aliases defined in udev rules, and there are other units that depend on that alias, as in BindTo=sys-subsystem-net-devices-eth0.device then systemd will fail the start the alias, and any dependent units will time out. See https://bugs.freedesktop.org/show_bug.cgi?id=52580 This is because unit_add_name() in device_add_escaped_name() will return EEXIST. The solution taken here is to call device_update_unit() on the alias name. Thus if a unit with the alias name already exists, we reuse it; otherwise a new unit is created. Creating multiple units for a single device is perhaps suboptimal, but it's consistent with the treatment of udev symlinks in device_process_new_device().
2012-10-16journalctl: properly track rotated journals in follow modeLennart Poettering
2012-10-16sd-journal: fix bad memory accessLennart Poettering
2012-10-16journal: implement time-based rotation/vacuumingLennart Poettering
This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming.
2012-10-16journal: sort data items of entries by offsetLennart Poettering
This should slightly optimize disk access patterns on rotating disks for simple readers.
2012-10-16mount: don't try to initialize extra deps for mount units before ↵Lennart Poettering
initializing their basic fields Under some circumstances this could lead to a segfault since we we half-initialized a mount unit, then tried to hook it into the network of things and while doing that recursively ended up looking at our half-initialized mount unit again assuming it was fully initialized.
2012-10-16logind: only release logind session from the PAM module if the same module ↵Lennart Poettering
instance actually created it
2012-10-16id128: introduce new SD_ID128_CONST_STR() macroLennart Poettering
2012-10-16journal: don't export MESSAGE_ID() macroLennart Poettering
If it is exported it would need to be prefixed, but since we need it exclusively internally so far, simply move it to an internal header.
2012-10-16service: Heuristically determine whether SysV scripts support reloadMichael Stapelberg
This commit checks for a usage line which contains [{|]reload[|}"] (to not errnously match force-reload). Heuristics like this suck, but it solves a real problem and there appears to be no better way...
2012-10-16journal: Set the last_unused pointer correctly when attaching an unused windowColin Guthrie
It seems the previous code was copy/pasted from context_detach_window() but not updated.
2012-10-16journal: Properly track the number of allocated windows.Colin Guthrie
Checks were already in place to make sure that the number of windows was limited to 64, but the count was never incremented or decremented.
2012-10-16systemctl: append .service when unit does not have valid suffixLukas Nykryn
systemctl status a and systemctl status a.service lead to same output but systemctl status a.b and systemctl status a.b.service do not.
2012-10-16journalctl: add --unit=/-u to match by unit nameLennart Poettering
This applies unit_name_mangle() to the specified unit names and hence can handle weird characters nicely and will add unit suffixes as necessary.
2012-10-16core/swap.c: Do not add Before=swap.target to swap units.Thomas Bächler
The fstab generator adds Before=swap.target by default, and when creating a custom .swap unit, you can also add Before=swap.target to the unit. However, it is impossible to not have this ordering dependency right now. Virtually all existing setups likely use the fstab generator, so this change is unlikely to break anything.
2012-10-16core: Refuse to run a user instance when the system hasn't been booted with ↵Thomas Bächler
systemd. Running as a user instance won't work at all if systemd isn't running as system manager, so refuse to start in that case.
2012-10-16selinux: selabel_lookup_raw can return ENOENT and be a non failure mode.Daniel J Walsh
2012-10-16SELinux patch still broken, in that we are not checking the correct source ↵Daniel J Walsh
context. This patch does the dbus calls correctly.
2012-10-16core: allow Type=oneshot services to have ExecReloadMantas Mikulėnas
Use cases: * iptables.service – atomically reload rules without having to flush them beforehand (which may leave the system insecure if reload fails) * rpc-nfsd.service – reexport filesystems after /etc/exports update without completely stopping and restarting nfsd (In both cases, the actual service is provided by a kernel module and does not have any associated user-space processes, thus Type=oneshot.)
2012-10-16build-sys: check for name_to_handle_at declaration instead of its definitionMichael Olbrich
AC_CHECK_FUNCS may be successful, even though name_to_handle_at and 'struct file_handle' are not available.
2012-10-16journalctl: harmonise in-stream commentsLennart Poettering
From now on, always use ANSI-SQL-style comments in log streams, i.e. prefix with --. We also suffix things with this, just to be nice...
2012-10-16util: properly handle -1 timespec/timevalLennart Poettering
2012-10-15journalctl: skip informational messages in export/json modesZbigniew Jędrzejewski-Szmek
2012-10-15systemctl: don't mangle name when it is a pathLukas Nykryn
systemctl enable, disable, ... can also accept full path and in this case we don't need to alter it. https://bugzilla.redhat.com/show_bug.cgi?id=866346