summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-12-31analyze: properly parse firmware/loader time and handle times for container ↵Lennart Poettering
boots correctly
2012-12-31macro: use C11 static_assert() macro for static assertionsLennart Poettering
2012-12-31polkit: add "imply" rules to a number of polkit actionsLennart Poettering
2012-12-31udev: in addition to DEVMODE, honor DEVUID, DEVGID from the ueventKay Sievers
2012-12-29fstab-generator: fix typoTom Gundersen
2012-12-28fstab-generator: generate new_root.mount in initrdTom Gundersen
The configuration is taken from /proc/cmdline, aiming at emulating the behavior of the kernel when no initramfs is used. The supported options are: root=, rootfstype=, rootwait=, rootflags=, ro, and rw. rootdelay= was dropped, as it is not really useful in a systemd world, but could easily be added. v2: fix comments by Lennart, and complain loudly if root= can not be found Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Reisner <dreisner@archlinux.org>
2012-12-28systemctl: switch-root - read init= from /proc/cmdlineTom Gundersen
If the path to init is not specified as an argumnt to systemctl, but init= is given on the kernel commandline, use that. This means the initrd does not need glue code to parse the kernel commandline before passing on init= to systemctl. Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Reisner <dreisner@archlinux.org>
2012-12-24pam_systemd: new option for the session classMatthew Monaco
2012-12-24hostnamed: make chassis type configurable via /etc/machine-infoLennart Poettering
For many usecases it is useful to store the chassis type somewhere, and /etc/machine-info sounds like a good place. Ideally we could always detect the chassis type from firmware, but frequently that's not available and in many embedded devices probably entirely unrealistic. This patch adds a configurable setting CHASSIS= to /etc/machine-info and exposes this via hostnamectl/hostnamed. hostnamed will guess the chassis type from DMI if nothing is set explicitly. I also added support for detecting it from ACPI, which should be more useful as ACPI 5.0 actually knows a "tablet" chassis type, which neither DMI nor previous ACPI versions knew. This also enables DMI-based and ACPI-based detection for non-x86 systems as ACPI is apparently coming to ARM platforms soon. I tried to minimize the vocabulary of chassis types understood and added: desktop, laptop, server, tablet, handset. This is much less than either APCI or DMI know. If we need more types later on we can easily add them.
2012-12-24fstab-generator: properly detect bind mountsLennart Poettering
This kinda undoes a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 and 1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a but corrects the original code to compare the mount type with "bind" rather than the mount options.
2012-12-24logind: don't allow suspending/hibernating if the kernel doesn't support itLennart Poettering
2012-12-24util: if /sys mounted read-only we can't suspend/hibernateLennart Poettering
2012-12-24util: when determining controlling tty of a process properly handle ↵Lennart Poettering
processes without
2012-12-24logind: add support for automatic suspend/hibernate/shutdown on idleLennart Poettering
2012-12-24pam: properly handle SSH logins lacking the PAM tty fieldLennart Poettering
2012-12-24systemctl: don't show cgroup field for a unit if cgroup is emptyLennart Poettering
2012-12-23shared: move fdset.c from core/ to shared/ since it is used by more than the ↵Lennart Poettering
core now
2012-12-23journalctl: strip TABs and ANSI color sequences from log messages when ↵Lennart Poettering
displaying them
2012-12-22nspawn: try to orderly shutdown container when receiving SIGTERMLennart Poettering
2012-12-22socket: support socket activation of containersLennart Poettering
2012-12-22nspawn: allow passing socket activation fds through nspawnLennart Poettering
2012-12-22fdset: add calls for initializing fdset from socket activation fdsLennart Poettering
2012-12-22socket: properly serialize/desrialize mqueue fdsLennart Poettering
2012-12-22nspawn: allow nspawn to be invoked without ttyLennart Poettering
This allows invoking nspawn containers as systemd services, to create a minimal, light-weight OS container solution for servers.
2012-12-22udevd: add missing ':' to getopt_long 'e'Lukas Nykryn
Parameter -e is set without additional argument in getopt and this leads to segfault when calling 'systemd-udevd -e'.
2012-12-19socket: Too many incoming connectionsDimitrios Apostolou
Hello list, some socket activated service gave me the error message you can see on the subject, maybe systemd should be more verbose in that case. Thanks, Dimitris
2012-12-19unit: add %U for uids in unitsDaniel Wallace
2012-12-19coredumpctl: check return of strndupLukas Nykryn
2012-12-18logind: allow HybridSleep methods in default DBus contextMantas Mikulėnas
2012-12-17socket-util: added check of return valueMichal Sekletar
2012-12-17path-util: set pointer to null after calling free()Michal Sekletar
In cases where path_strv_canonicalize() returns NULL, strv_free() is called afterwards and it will call free() on pointers which were freed already in path_strv_canonicalize()
2012-12-17sd-daemon: fix cppcheck warningsSami Kerola
Found with 'cppcheck --enable=all --inconclusive --std=posix' while working with util-linux, which has a copy of this file. [misc-utils/sd-daemon.c:363]: (style) Checking if unsigned variable \ 'length' is less than zero. [misc-utils/sd-daemon.c:366]: (style) Checking if unsigned variable \ 'length' is less than zero. References: http://www.spinics.net/lists/util-linux-ng/msg07031.html
2012-12-17licence: remove references to old FSF addressSami Kerola
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206
2012-12-17journal: move _packed_ attribute to the endZbigniew Jędrzejewski-Szmek
GCC manual states that "For an enum, struct or union type, you may specify attributes either between the enum, struct or union tag and the name of the type, or just past the closing curly brace of the definition. The former syntax is preferred." This means that the attribute should not be located before 'struct'. Putting it between 'struct' and the name seems cluttered. Putting it at the end seems most readable. This avoids clang warnings.
2012-12-17Fix "attribute 'packed' is ignored" warnings when using ClangRichard Yao
Clang 3.1 warned that "attribute 'packed' is ignored". This stems from placing "__attribute__ ((packed))" at the start of structure declarations when common practice is to place it at the end. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-12-14libudev: validate 'udev' argument to udev_enumerate_new()Michael Terry
https://bugs.freedesktop.org/show_bug.cgi?id=58289
2012-12-12localectl: fix dbus call arguments in set_x11_keymapMichal Schmidt
Fixes an assertion failure in the dbus lib. https://bugzilla.redhat.com/show_bug.cgi?id=882212
2012-12-11libudev: hwdb: add missing endianess conversionEric Benoit
https://bugs.freedesktop.org/show_bug.cgi?id=58067
2012-12-09udev: net_id: update commentsKay Sievers
2012-12-07shutdown, umount: use verbs consistentlyMichal Schmidt
Mounts are "unmounted". Swaps are "deactivated", not "turned off" nor "disabled". Loop and DM devices are "detached", not "deleted". Especially the deleting sounded a bit scary.
2012-12-07shutdown, umount: logging improvementsMichal Schmidt
In bugreports about hangs during the late shutdown we are often missing important information - what were we trying to unmount/detach when it hung. Instead of printing what we successfully unmounted, print what we are going to unmount/detach. And add messages to mark the completion of categories (mount/swap/loop/DM).
2012-12-07umount: fix check for DM changedMichal Schmidt
delete_dm() returns 0 on success. The check for "r > 0" was likely a copy&paste error from the loopback code where "r > 0" makes sense.
2012-12-07shutdown: downgrade a warningMichal Schmidt
All messages of the kind "not all done, %d left" are log_info, except the one for DM devices. Make it info too.
2012-12-06udev: net_id - fix OUI handlingKay Sievers
2012-12-06udev: net_id - fix typosKay Sievers
2012-12-06udev: net_id - update examplesKay Sievers
2012-12-06udev: net_id - update examplesKay Sievers
2012-12-06udev: net_id - provide path names for USB devicesKay Sievers
2012-12-06systemctl: verbose message on missing [Install]Michal Schmidt
People still don't understand what the message implies. We have to be more verbose (or more intelligent and detect some of the cases automatically, but that's not so easy). https://bugzilla.redhat.com/show_bug.cgi?id=884438
2012-12-05core: add catalog entry and MESSAGE_ID for overmountingZbigniew Jędrzejewski-Szmek