summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gpt-auto-generator: fix detection of /srvbaserock/v219-314-gd736e4f-network_fixesMathieu Chevrier2015-03-131-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89226
* man: update example 2 in systemd.network(5)Zbigniew Jędrzejewski-Szmek2015-03-131-1/+1
| | | | | | none/both/v4/v6 are deprecated in favour of no/yes/ipv4/ipv6. https://bugs.freedesktop.org/show_bug.cgi?id=89221
* po: add Spanish translationAlex Puchades2015-03-132-0/+519
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89559
* sd-event: fix typoZbigniew Jędrzejewski-Szmek2015-03-131-1/+1
|
* journal-remote: process events without delayZbigniew Jędrzejewski-Szmek2015-03-133-8/+59
| | | | | | | | | | | | | | | | | | journal-remote buffers input, and then parses it handling one journal entry at a time. It was possible for useful data to be left in the buffer after some entries were processesed. But all data would be already read from the fd, so there would be no reason for the event loop to call the handler again. After some new data came in, the handler would be called again, and would then process the "old" data in the buffer. Fix this by enabling a handler wherever we process input data and do not exhaust data from the input buffer (i.e. when EAGAIN was not encountered). The handler runs until we encounter EAGAIN. Looping over the input data is done in this roundabout way to allow the event loop to dispatch other events in the meanwhile. If the loop was inside the handler, a source which produced data fast enough could completely monopolize the process. https://bugs.freedesktop.org/show_bug.cgi?id=89516
* journal-remote: check also for EWOULDBLOCKZbigniew Jędrzejewski-Szmek2015-03-131-1/+1
| | | | This matches similar code elsewhere.
* journal-remote: downgrade routine messages to debugZbigniew Jędrzejewski-Szmek2015-03-134-22/+22
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89486
* sd-pppoe: workaround for incomplete include in old kernelsZbigniew Jędrzejewski-Szmek2015-03-121-0/+1
|
* networkd: Begin with serial number 1 for netlink requestsRichard Maw2015-03-121-0/+5
| | | | | | | | | | | | | | | | | | | | | "Notifications are of informal nature and no reply is expected, therefore the sequence number is typically set to 0."[1] If networkd is started soon after recent netlink activity, then there will be messages with sequence number 0 in the buffer. The first thing networkd does is to request a dump of all the links. If it uses sequence number 0 for this, then it may confuse the dump request's response with that of a notification. This will result in it failing to properly enumerate all the links, but more importantly, when it comes to enumerate all the addresses, it will still have the link dump in progress, so the address enumeration will fail with -EBUSY. [1]: http://www.infradead.org/~tgr/libnl/doc/core.html#core_msg_types [tomegun: sequence -> serial]
* hwdb: updateKay Sievers2015-03-124-334/+1060
|
* build-sys: fix name of new rules fileKay Sievers2015-03-121-1/+1
|
* rules: merge tty and serial rules fileKay Sievers2015-03-123-20/+13
|
* rules: merge udev-late.rules filesKay Sievers2015-03-123-8/+6
|
* rules: default - remove legacy agpgartKay Sievers2015-03-121-1/+0
|
* rules: systemd - remove legacy "ram" from block device blacklistKay Sievers2015-03-121-15/+8
|
* rules: move block device rules to its own rules fileKay Sievers2015-03-123-13/+14
|
* rules: storage - relace blacklist with explicit whitelistKay Sievers2015-03-121-15/+16
| | | | | | | | | | | | | | Newly added kernel drivers repeatedly pass our blacklist and cause trouble for the devices, because they do not expect to be examined by udev's default rules which include blkid. This turns the blacklist into a whitelist. Device type which need support for additional symlinks need to be added to the whitelist now. Note, that the by-id, by-path symlinks are only intended for hotpluggable devices. There is no reason for exotic, or for statically configured devices to provide them.
* TODOTom Gundersen2015-03-121-3/+0
|
* man: split paragraphDavid Herrmann2015-03-121-1/+3
| | | | | Explicitly put the "multiple EnvironmentFile=" description into its own paragraph to make it much easier to find.
* core: add missing words to my fix of explanation of associativityTom Gundersen2015-03-121-1/+1
|
* udevd: improve handling of failed workerTom Gundersen2015-03-121-0/+9
| | | | | | The information in the db is stale, so it does not make sense to expose it any longer. Also, don't drop the kernel event, but simply pass it on to userspace without ammending it.
* udevd: don't free event when killing the worker, wait until it has been reapedTom Gundersen2015-03-121-4/+0
| | | | This will allow us to clean up the device when we are notified about the worker being killed.
* libudev: introduce clone_with_db()Tom Gundersen2015-03-123-4/+16
| | | | This allows us to move the db reading from udevd to libudev.
* libudev: monitor - fix error path in send_deviceTom Gundersen2015-03-121-1/+9
| | | | Return -errno rather than -1 in case sendmsg() fails.
* udevd: event - make db loading lazy in REMOVE event handlingTom Gundersen2015-03-122-4/+4
| | | | | | | | | We were explicitly eagerly loading the db, then deletenig the backing file and then processing the rules/symlinks. Instead we delete the backnig db file as the last step and let the db loading be lazy as everywhere else. This may save us a bit of work in casese where the db is not needed, but more importantly it hides some implementation details of libudev-device form udevd.
* libudev: introduce udev_device_properties_copy()Tom Gundersen2015-03-123-12/+18
| | | | To copy properties from one device to another. Drop the equivalent functionality from udevd.
* boot: efi - add config option to disable the command line editorKay Sievers2015-03-113-3/+39
|
* cgtop: fix assert when not on ttyUmut Tezduyar Lindskog2015-03-111-1/+1
| | | | | | | | | | systemd-cgtop --dept=1 -b -n 10 -d 0.1 | cat Assertion 'new_length >= 3' failed at src/shared/util.c:3 \ 595, function ellipsize_mem(). Aborting. Aborted (core dumped) (David: add comment)
* core: fix cgroups-agent match for kdbusDavid Herrmann2015-03-111-16/+13
| | | | | | On kdbus, we get cgroups-agent messages via the system bus, not the private systemd socket. Therefore, we must install the match properly or we will never receive cgroup notifications.
* core: rewind message before forwarding itDavid Herrmann2015-03-111-7/+11
| | | | | | Forwarding messages that are not rewinded will drop data. Fix this for cgroups-agent messages that we might remarshal before forwarding to the system bus.
* bus: remarshal kdbus messages received from the kernelDavid Herrmann2015-03-111-6/+18
| | | | | | If we receive an sd_bus_message from the kernel, m->kdbus will contain additional items that cannot be used when sending a message. Therefore, always remarshal the message if it is used again.
* bus: drop redundant assignmentDavid Herrmann2015-03-111-2/+0
| | | | | This assignment is already done in the parent context, no need to do it again.
* man: fix links to compressorsZbigniew Jędrzejewski-Szmek2015-03-111-4/+4
|
* socket-util: refactor error handling in sockaddr_prettyZbigniew Jędrzejewski-Szmek2015-03-111-22/+22
|
* core: fix explanation of associativityTom Gundersen2015-03-111-2/+2
|
* bus-proxy: complain only once about queue overflowsDavid Herrmann2015-03-112-4/+13
| | | | | | | | | | | | | | | | | | | | | If the local peer does not dispatch its incoming queue, the bus-proxy will slowly fill its outgoing queue. Once its full, it will continously complain that it cannot forward its messages. As it turns out, pulseaudio does have an idle background dbus connection that is not integrated into any mainloop (and given that gdbus and libdbus1 both support background shared connections, PA is probably not the only example), therefore, the bus-proxy will loudly complain if it cannot forward NameOwnerChanged events once the queue is full. This commit makes the proxy track queue-state and complain only once the queue runs full, not if it is already full. A PA bug-report (and patch) has been filed, and other applications should be fixed similarly. Hence, lets keep the error message, instead of dropping it. It's unused resources we really want to get rid of, so silencing the message does not really help (which is actually what dbus-daemon does).
* terminal/sysview: introduce SETTLE eventsDavid Herrmann2015-03-113-8/+62
| | | | | | | | | | | | | | | | | | This introduces a new SYSVIEW_EVENT_SETTLE notification that is sent after initial scanning via sysview is done. This is very handy to let the application raise warnings in case requested resources are not found during startup. The SETTLE event is sent after systemd-logind and udev enumerations are done. This event does in no way guarantee that a given resource is available. All it does is notify the application that scanning is done! You must not react to SETTLE if you don't have external synchronization with the resource you're waiting for. The main use-case for SETTLE is to run applications _inside_ of logind sessions and startup sysview. You really want to make sure that the own session you're running in was found during enumeration. If not, something is seriously wrong.
* console: fix error-code inversionDavid Herrmann2015-03-111-1/+1
| | | | | | The error-code propagated via sysview is always negative. Avoid multiplying by -1 before returning it. Otherwise, we will return >0 instead of <0, which will not be detected as error by sysview-core.
* udev: add SYSCTL{} supportKay Sievers2015-03-112-2/+71
|
* sysctl: move property handling to shared/Kay Sievers2015-03-114-56/+129
|
* machine-id-setup: simplificationsLennart Poettering2015-03-101-142/+140
|
* machine-id-commit: simplificationsLennart Poettering2015-03-101-3/+6
|
* util: add rename_noreplaceAlban Crequy2015-03-109-15/+69
| | | | | | | | | renameat2() exists since Linux 3.15 but btrfs support for the flag RENAME_NOREPLACE was added later. This patch implements a fallback when renameat2() returns EINVAL. EINVAL is the error returned when the filesystem does not support one of the flags.
* path-util: fix path_is_mount_point() for symlinksHarald Hoyer2015-03-101-17/+13
| | | | | | | | | path_is_mount_point() compares the mount_id of a directory and the mount_id of the parent directory. When following symlinks, the function to get the parent directory does not take the symlink into account. /bin -> /usr/bin with /usr being a mountpoint: mount_id of /bin with AT_SYMLINK_FOLLOW != mount_id of /
* CODING_STYLE: mention casting of function invocations to (void)Lennart Poettering2015-03-101-0/+14
|
* bus-proxy: add support for "GetConnectionCredentials" methodLukasz Skalski2015-03-103-4/+85
| | | | | | | | | GetConnectionCredentials method was added to dbus-1 specification more than one year ago. This method should return "[...] as many credentials as possible for the process connected to the server", but at this moment only "UnixUserID", "LinuxSecurityLabel" and "ProcessID" are defined by the specification. We should add support for next credentials after extending dbus-1 spec.
* tmpfiles: port to unquote_many_words()daurnimator2015-03-103-16/+9
|
* shared: the btrfs quota field is called "referenced" not "referred"Lennart Poettering2015-03-107-25/+25
|
* update TODOLennart Poettering2015-03-101-0/+2
|
* man: document "machinectl export-tar" and "export-raw"Lennart Poettering2015-03-102-7/+60
|