summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2012-12-04modules-load: fix memory leak when bailing outZbigniew Jędrzejewski-Szmek
Suggested-by: Mauro Dreissig <mukadr@gmail.com>
2012-12-04hwdb: add IAB to the OUI databaseTom Gundersen
The individual address block is a poor man's organizationally unique identifier. Perhaps we should change the udev key from ID_OUI_FROM_DATABASE to something like ID_IEEE_VENDOR_FROM_DATABASE? Suggested-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-12-03systemctl: fix typos in help textUmut Tezduyar
2012-12-03udev: net_id - clarify commentsKay Sievers
2012-12-03timedated: do not incorrectly close non-opened dbus connectionShawn Landden
Fix the fallowing error when no system dbus available: Failed to get system D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory process 14920: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2889. This is normally a bug in some application using the D-Bus library. process 14920: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2776. This is normally a bug in some application using the D-Bus library.
2012-12-02getty-generator: fix handling systems without a consoleDavid Herrmann
If the system does not have any active console, we should not try to create an empty symlink. Instead, create no symlink at all. Otherwise, on systems with CONFIG_VT=n and no serial console, we will create a symlink with an empty template parameter.
2012-12-02udev: hwdb - fix OUI lookupKay Sievers
2012-12-01cgls: automatic cleanupZbigniew Jędrzejewski-Szmek
2012-11-30udev: net_id - suppress function number for single-function devicesKay Sievers
2012-11-28keymap: Add Samsung 700TMartin Pitt
https://bugzilla.redhat.com/show_bug.cgi?id=879691
2012-11-28keymap: Update the list of Samsung Series 9 modelsAlessandro Crismani
Currently, keymaps are provided only for the NP90X3A laptop. Samsung introduced updated models, codenamed 900X3B, 900X3C, 900X4B, 900X4C, which are currently not matched by udev rules. This patch includes the newer modules in udev rules and move the samsung-n90x3a file defining keys to a more generic samsung-series-9 file. The patch was tested on a 900X4C laptop, and other people reported that the rules also work for 900X3B and 900X3C ones.
2012-11-28shutdown: fix typoHermann Gausterer
2012-11-28shutdown: don't consider umounting of / and /usr failedTom Gundersen
In the words of Homer: If you don't try, you can't fail. This is a revert of 9279749b84cc87c7830280b7895a48bed03c9429. It used to be necessary to consider the umounting failed to make sure / and /usr were remounted read-only, but that is no longer necessary as everything is now remounted read-only anyway. Moreover, this avoids a warning at shutdown saying a filesystem was not unmounted. As the umounting of / is never attempted there was no corresponding warning message saying which fs that failed. This caused some spurious bug-reports from concerned users. Cc: Michael Biebl <biebl@debian.org>
2012-11-28shutdown: don't pivot to /run/initramfs if already thereTom Gundersen
This allows systemd-shutdown to be installed as /run/initramfs/shutdown and take care of the proper teardown of the rootfs.
2012-11-27fstab-generator: make error more helpful in case of duplicates in fstabTom Gundersen
Traditional sysvinit systems would not complain about duplicates in fstab. Rather it (through monut -a) would mount one fs on top of another, in effect the last entry taking precedent. In systemd, the first entry takes precedent, all subsequent ones are ignored and an error is printed. The change of behavior and the source of this error message was causing some confusion, so give a hint what migt be wrong.
2012-11-27fstab-generator: drop mount_is_bindTom Gundersen
Do the check in-line instead, as the function is now a bit pointless.
2012-11-27fstab-generator: remove redundancy in mount_is_bindTom Gundersen