summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-29path_check_timestamp: only keep the most recent timestampTom Gundersen
There is no point in keeping one timestamp for each directory, as we only ever care about the most recent one.
2013-10-29sd-rtnl: minor fixesTom Gundersen
2013-10-29udev: link-config - add proper parsingTom Gundersen
2013-10-29conf-parser: add macro for ENUMVTom Gundersen
Parses a whitespace separated list of strings into a vector of enums.
2013-10-29udev: builtin - rename net_link to net_setup_linkTom Gundersen
Also add shell completions.
2013-10-29network: move configuration to /etc/systemd/networkTom Gundersen
This is private configuraiton, so let's not pollute the namespace (and hence make Debian happy :) ).
2013-10-28journalctl: add --list-boots to show boot IDs and timesZbigniew Jędrzejewski-Szmek
Suggested by David Wilkins <dwilkins@maths.tcd.ie> in https://bugzilla.redhat.com/show_bug.cgi?id=967521: > [Specific boot ID is a] bit of a palaver to obtain. I consulted the > verbose dump of the journal to discover the _BOOT_ID for the > timestamp, and then generated the journal dump for that boot using > journalctl _BOOT_ID=foo -o short-monotonic.
2013-10-28update TODOLennart Poettering
2013-10-28Update socket proxy name in TODO. Reformat to list.David Strauss
2013-10-28udev: don't mix static and dynamic libsTom Gundersen
2013-10-28udev: link-config - add mac address policyTom Gundersen
This introduces a new key MACAddressPolicy. The possible policies are 'persistent' and 'random'. 'persistent' will do nothing if the current address is the hardware address, but if the hardware does not have an address (or another address is set for whatever reason), we will generate an address which will be random, but persistent between boots (based on machineid and persistent netif name). 'random' will do nothing if the kernel already set a random address, otherwise it will generate a random one and use that instead. This patch sets MACAddressPolicy=persistent in the default .link file.
2013-10-28keymap: Fix stuck keys on Lenovo IdeaPad Z370Martin Pitt
https://launchpad.net/bugs/1245189
2013-10-28keymap: Reorder IdeaPad rulesMartin Pitt
So that they are together in the file.
2013-10-28udev: link-config - move naming policy from udev rulesTom Gundersen
This introduces a new key NamePolicy, which takes an ordered list of naming policies. The first successful one is applide. If all fail the value of Name (if any) is used. The possible policies are 'onboard', 'slot', 'path' and 'mac'. This patch introduces a default link file, which replaces the equivalent udev rule.
2013-10-27udev: link-config - sanity check the ifname and mac addressTom Gundersen
2013-10-27rtnl: relax the tests a bitTom Gundersen
It is a bit too optimisitc that this stuff is the same on different hosts.
2013-10-27udev: link-config: add rtnl supportTom Gundersen
This adds support for setting the mac address, name and mtu. Example: [Link] MTU=1450 MACAddress=98:76:54:32:10:ab Name=wireless0
2013-10-27libsystemd-rtnl: add a rtnetlink libraryTom Gundersen
This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is implemented
2013-10-27test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDSDaniel Buch
2013-10-27path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.hDaniel Buch
2013-10-26udev: link-config: add ethtool supportTom Gundersen
This adds support for setting the link speed, duplex and WakeOnLan settings. Example: [Link] SpeedMBytes=100 Duplex=half WakeOnLan=magic
2013-10-26udev: add network link configuration toolTom Gundersen
This tool applies hardware specific settings to network devices before they are announced via libudev. Settings that will probably eventually be supported are MTU, Speed, DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware', 'synthetic' or 'random'), Name and NamePolicy (replacing our current interface naming logic). This patch only introduces support for Description, as a proof of concept. Some of these settings may later be overriden by a network management daemon/script. However, these tools should always listen and wait on libudev before touching a device (listening on netlink is not enough). This is no different from how things used to be, as we always supported changing the network interface name from udev rules, which does not work if someone has already started using it. The tool is configured by .link files in /etc/net/links/ (with the usual overriding logic in /run and /lib). The first (in lexicographical order) matching .link file is applied to a given device, and all others are ignored. The .link files contain a [Match] section with (currently) the keys MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this matches on the stable device path as exposed as ID_PATH, and not the unstable DEVPATH). A .link file matches a given device if all of the specified keys do. Currently the keys are treated as plain strings, but some limited globbing may later be added to the keys where it makes sense. Example: /etc/net/links/50-wireless.link [Match] MACAddress=98:f2:e4:42:c6:92 Path=pci-0000:02:00.0-bcma-0 Type=wlan [Link] Description=The wireless link
2013-10-26STRV_FOREACH_BACKWARDS: improve readability a bitTom Gundersen
The indentation was wrong, also put the semicolon on a separate line to make it clear it is a for-loop with an epmyt body.
2013-10-26update gitignoreDave Reisner
2013-10-26udev-builtin: path_id - add support for bcma busTom Gundersen
This matches the bcma support in the network device naming. Eventually wa want to make sure ID_PATH is equivalent to ID_NET_NAME_PATH, so we never need to match on the latter.
2013-10-26udev: move udev_rules_check_timestamp to sharedTom Gundersen
I want to use this from a bulitin in a subsequent patch.
2013-10-26STRV_FOREACH_BACWARDS: start at the tail of the listTom Gundersen
Otherwise, the user would have to manually initialize the pointer. Nobody currently uses this code, so the change in behaviour sohuld be fine.
2013-10-26typo fix in commentThomas Hindoe Paaboel Andersen
2013-10-25analyze: port to sd-busThomas Hindoe Paaboel Andersen
2013-10-25bus: disable debug output in test-bus-kernel-benchmarkKay Sievers
2013-10-24catalog: remove links to non-existent wiki pagesZbigniew Jędrzejewski-Szmek
AFAIK, we don't have even one page with message explanations. If/when we add them, we can add links. https://bugzilla.redhat.com/show_bug.cgi?id=1017161
2013-10-22systemd: use unit name in PrivateTmp directoriesZbigniew Jędrzejewski-Szmek
Unit name is used whole in the directory name, so that the unit name can be easily extracted from it, e.g. "/tmp/systemd-abcd.service-DEDBIF1". https://bugzilla.redhat.com/show_bug.cgi?id=957439
2013-10-22inhibit: port to sd-busTom Gundersen
2013-10-22analyze: systemd-analyze.c -> analyze.cKay Sievers
2013-10-22bus: NULL signatures are OK tooLennart Poettering
2013-10-22bus: only if the user tries to read over the end of an array we should ↵Lennart Poettering
handle this as EOF
2013-10-22localed: port from libdbus to libsystemd-busKay Sievers
2013-10-21socket-proxyd: Fix-up from previous change to avoid looping on errors.David Strauss
2013-10-22bus: avoid 'bool' storage when retrieving 'b' from the messageKay Sievers
Just use an unsigned int as a bool type to avoid issues in the public message reading API; sizeof(bool) == 1, but the code copies 4 bytes at the pointers destination.
2013-10-21socket-proxyd: Use ONESHOT to behave properly with multiple accept() processes.David Strauss
2013-10-21man: avoid the use of sudo in examplesJan Engelhardt
sudo is not the first-class tool on all distros. Just require any superuser shell.
2013-10-21man: wording and grammar updatesJan Engelhardt
This is a recurring submission and includes corrections to various issue spotted.
2013-10-21sd-event: EPOLLONESHOT only disables event reporting after an event. The fd ↵David Strauss
is still registered.
2013-10-21shell-completion: dump has moved to systemd-analyzeZbigniew Jędrzejewski-Szmek
Rename NO_OPTION to STANDALONE for consistency with other files.
2013-10-21analyze: set white backgoundThomas Hindoe Paaboel Andersen
In programs like eog and gimp the transparant background did not look very good. https://bugs.freedesktop.org/show_bug.cgi?id=70720
2013-10-21build-sys: sync printed defaults with "c" optionKay Sievers
2013-10-21silent a few more gcc warningsKay Sievers
2013-10-21build-sys: disable _FORTIFY_SOURCE for -Og builds for nowKay Sievers
Older gcc versions throw things like: In file included from /usr/include/fcntl.h:302:0, from ../src/core/execute.c:25: In function 'open', inlined from 'open_null_as' at ../src/core/execute.c:196:12: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments __open_missing_mode ();
2013-10-21build-sys: use -Og instead of -O0 to catch warningsKay Sievers
$ touch src/core/dbus.c; make CFLAGS=-O0 make --no-print-directory all-recursive Making all in . CC src/core/libsystemd_core_la-dbus.lo CCLD libsystemd-core.la $ touch src/core/dbus.c; make CFLAGS=-Og make --no-print-directory all-recursive Making all in . CC src/core/libsystemd_core_la-dbus.lo src/core/dbus.c: In function 'init_registered_system_bus': src/core/dbus.c:798:18: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] dbus_free(id); ^ CCLD libsystemd-core.la -Og Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.
2013-10-21rules: remove pointless MODE= settingsKay Sievers
Changing the default MODE= for the group accessi, but not specifying a GROUP= does not provide anything. It disables the default logic that the mode switches to 0660 as soon as a GROUP= is specifed, which make custom rules uneccesarily complicated. https://bugs.freedesktop.org/show_bug.cgi?id=70665