summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-10-30bus: move ssh support into public API of libsystem-busLennart Poettering
2013-10-30libudev: default log_priority to INFOTom Gundersen
This brings it in sync with the default config file.
2013-10-30udev: link-config - less verbose loggingTom Gundersen
Also reinstate print to kmsg when renaming netif.
2013-10-30udev: link-config - let udevd set the ifnameTom Gundersen
2013-10-30machinectl: privileged option is goneMarc-Antoine Perennou
2013-10-30udev: ata_id: log faling ioctls as "debug"Kay Sievers
2013-10-30machinectl: port to sd-busTom Gundersen
2013-10-30bus: fix buildLennart Poettering
2013-10-30machined: port over to libsystemd-busLennart Poettering
2013-10-30bus: make sure we can match well-known namesLennart Poettering
2013-10-30bus: it is OK to have signals with multiple parametersLennart Poettering
2013-10-30bus: don't fail if GetAll() is used to get properties of the built-in interfacesLennart Poettering
2013-10-30bus: make bus message dump output a bit smallerLennart Poettering
2013-10-30bus: don't include the introspected object in list of subobjectsLennart Poettering
2013-10-30udev: do not allow to change the DEVPATH of a deviceKay Sievers
2013-10-29udev: link-config - reset ctx on exitTom Gundersen
2013-10-29rtnl-util: add missing filesTom Gundersen
2013-10-29udev-event: use rtnl to set ifnameTom Gundersen
2013-10-29rtnl: move set_link_properties to rtnl-utilsTom Gundersen
2013-10-29rtnl: fix sockaddr confusionTom Gundersen
2013-10-29strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string ↵Lennart Poettering
arrays nicely on the fly
2013-10-29bus: add extra validity checksLennart Poettering
2013-10-29strv: introduce new strv_from_stdarg_alloca() macro to generate a string ↵Lennart Poettering
array from stdarg function parameters This allows us to turn lists of strings passed in easily into string arrays without having to allocate memory.
2013-10-29rc-local: use access(X_OK) to check if files are executableLennart Poettering
... and other modernizations.
2013-10-29timedate: handle more nicely if something or somebody keeps open /dev/rtc ↵Lennart Poettering
and thus blocks out everybody else chrony is appears to keep the RTC open continuously these days which is a bad idea, and /dev/rtc is a single-user device, which is a bad idea too. Together both bad ideas mean that nobody else can access the RTC anymore. That's something to fix, but in the meantime we should handle this more gracefully.
2013-10-29bus: add a macro to simplify reading of UUIDsLennart Poettering
2013-10-29bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API callsLennart Poettering
2013-10-29rtnl: cleanup socket_read_messageTom Gundersen
2013-10-29udev: link-config - split connection to sockets from loading of configsTom Gundersen
We want to load the config in _init, but not connect to the sockets before we are forked.
2013-10-29rtnl: complain if used after forkTom Gundersen
2013-10-29rtnl: introduce default timeoutTom Gundersen
We set it to 10 secs (as we are only communicating with the kernel, it seems we should be able to bail out sooner than sd-bus, which uses 25). When passing timout 0, the default is used, use this in link-config.
2013-10-29udev: link-config - use safe_atou instead of strtoulTom Gundersen
2013-10-29udev: link-config - use zero instead of memsetTom Gundersen
2013-10-29udev: link-config - use proper return valuesTom Gundersen
Not sure if -ENOENT is the correct return value for when no persistent network name is set, but couldn't think of anything better.
2013-10-29udev: link-config - use new0 instead of callocTom Gundersen
2013-10-29rtnl: use malloc0 instead of callocTom Gundersen
2013-10-29rtnl: use _cleanup_ macro moreTom Gundersen
2013-10-29udev: link-config - use _cleanup_ macro locallyTom Gundersen
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-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-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