summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* scope: make attachment of initial PIDs a bit more robustLennart Poettering2014-12-10
|
* core: don't migrate PIDs for units that may contain subcgroups, do this only ↵Lennart Poettering2014-12-10
| | | | | | | for leaf units Otherwise a slice or delegation unit might move PIDs around ignoring the fact that it is attached to a subcgroup.
* update TODOLennart Poettering2014-12-10
|
* core: properly pass unit file state to clients via the busLennart Poettering2014-12-10
|
* build-sys: fix link-orderKay Sievers2014-12-10
|
* update TODOLennart Poettering2014-12-10
|
* sd-bus: make BUS_ERROR_MAP_ELF_USE() use a const variableLennart Poettering2014-12-10
|
* networkd: rename section [BridgePort] → [Bridge]Lennart Poettering2014-12-10
| | | | | | Let's stick to generic sections that describe the general technology, instead of specific per-object sections, unless we really have a reason to do that otherwise.
* sd-bus: move common errors src/shared/bus-errors.h → ↵Lennart Poettering2014-12-10
| | | | | | src/libsystemd/sd-bus/bus-common-errors.h Stuff in src/shared/ should not use stuff from src/libsystemd/ really.
* networkd-dhcp6: Support ICMPv6 Other informationPatrik Flykt2014-12-10
| | | | | | When ICMPv6 Other information is received, enable Information request in DHCPv6. If the DHCPv6 client already exists, only update the client if there is a transition from Other to Managed state.
* networkd-dhcp6: Move ICMPv6 and DHCPv6 configuration to new filePatrik Flykt2014-12-10
| | | | | Handle all aspects of ICMPv6 and DHCPv6 in a file of its own as is done with DHCPv4 and IPv4LL.
* test-dhcp6-client: Add a simple Information Request test casePatrik Flykt2014-12-10
| | | | | | | Start the DHCPv6 test case by sending an Information Request, verifying the reply and continuing at once with the normal address acquisition procedure. Reuse the DHCPv6 Solicit Reply so that the client code is verified to ignore any erroneously added IPv6 address information.
* sd-dhcp6-client: Implement Information Request messagePatrik Flykt2014-12-10
| | | | | | | | | | | Implement Information Request message according to RFC 3315, section 18.1.5. with the excepion that the first message is not delayed by a random amount. Instead systemd-networkd is supposed to take care of desynchronizing between other clients. Initialize the DHCPv6 client structure in sd_dhcp6_client_start() as this allows toggling between information request and normal DHCPv6 address aquisition modes.
* sd-dhcp6-lease: Return only -EINVAL when a NULL lease is suppliedPatrik Flykt2014-12-10
| | | | | | | Suppyling a NULL lease is not a condition that needs to be asserted, returning -EINVAL is informative enough to the caller. This simplifies calling code and doesn't falsely indicate that something erroneous was attempted.
* sd-dhcp6-client: Make end of successfull option parsing explicitPatrik Flykt2014-12-10
| | | | | | When all DHCPv6 options have been parsed, dhcp6_option_parse() returns -ENOMSG. Explicitely set the return value to indicate success so that later code does not need to take this special value into account.
* hwdb: fix typoTorstein Husebø2014-12-10
|
* hwdb: add two more mice to the DPI databaseLennart Poettering2014-12-10
|
* hwdb: add another Logitech mouse (M-BZ96C)Lennart Poettering2014-12-10
|
* TODOLennart Poettering2014-12-10
|
* man: improve docs for systemd-modules-load.serviceLennart Poettering2014-12-10
|
* hwdb: add DPI data for M325 mouseLennart Poettering2014-12-10
|
* test: fix some tests when running inside a containerJan Synacek2014-12-10
|
* virt: when detecting containers and /run/systemd/container cannot be read, ↵Lennart Poettering2014-12-10
| | | | | | | | | | | | | | check /proc/1/environ This way, we should be in a slightly better situation if a container is booted up with only a shell as PID 1. In that case /run/systemd/container will not be populated, and a check for it hence be ineffective. Checking /proc/1/environ doesn't fully fix the problem though, as the file is only accessible with privileges. This means if PID 1 is not systemd, and if privileges have been dropped the container detection will continue to fail.
* systemctl: fix invalid free when enabling sysv services failsZbigniew Jędrzejewski-Szmek2014-12-09
| | | | | | | The error was introduced in v215-343-g60731f32f1 'systemctl: do not bother to mutate state on error', by causing strv_free to attempt to free a static string. Simplify the whole thing by always keeping the array in valid state.
* ima-setup: simplifyZbigniew Jędrzejewski-Szmek2014-12-09
|
* treewide: sanitize loop_writeZbigniew Jędrzejewski-Szmek2014-12-09
| | | | | | | loop_write() didn't follow the usual systemd rules and returned status partially in errno and required extensive checks from callers. Some of the callers dealt with this properly, but many did not, treating partial writes as successful. Simplify things by conforming to usual rules.
* kdbus: downgrade warning if we cannot patch kdbus attach mask to DEBUG if ↵Lennart Poettering2014-12-10
| | | | kdbus is not available
* util: introduce our own gperf based capability listLennart Poettering2014-12-10
| | | | | This way, we can ensure we have a more complete, up-to-date list of capabilities around, always.
* update TODOLennart Poettering2014-12-10
|
* build-sys: fix CLEANFILES= for dns_type listLennart Poettering2014-12-10
|
* mount: clarify that we really need to replace the utab inotify code with the ↵Lennart Poettering2014-12-10
| | | | native API for this in libmount, as soon as that's stable
* core: unify how we iterate over inotify eventsLennart Poettering2014-12-10
| | | | | Let's add some syntactic sugar for iterating through inotify events, and use it everywhere.
* mount: use bools where appropriateLennart Poettering2014-12-10
|
* catalog: fix typos in the French translationRonny Chevalier2014-12-10
|
* shell-completion: systemctl editRonny Chevalier2014-12-10
|
* NEWS: fix typosRonny Chevalier2014-12-10
|
* gitignore: hide some more filesLennart Poettering2014-12-10
|
* hwdb: update PCI, USB, OUI databasesLennart Poettering2014-12-10
|
* build-sys: don't fail if CAP_SETFCAP is missingLennart Poettering2014-12-10
|
* hwdb: add more mouse DPI entriesPeter Hutterer2014-12-10
| | | | | | | | | | | | Plus a note for Logitech devices using the unified receiver: these devices include their wireless PID in the name, the usb PID/VID is the same for all. In kernel 3.19 the actual model number will be the name, but the patches are still a bit in flux at this point. In the future each device will need two entries for pre+3.19 and 3.19. https://bugs.freedesktop.org/show_bug.cgi?id=87037 https://bugs.freedesktop.org/show_bug.cgi?id=87072 https://bugs.freedesktop.org/show_bug.cgi?id=87162
* NEWS: add contributors listLennart Poettering2014-12-10
|
* NEWS: prepare NEWS for new releaseLennart Poettering2014-12-10
|
* nspawn: create the macvlan MAC addresses in an arch independent stable wayLennart Poettering2014-12-10
|
* journal: optimize iteration: skip files that cannot improve current ↵Michal Schmidt2014-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | candidate entry Suppose that while iterating we have already looked into a journal file and got a candidate for the next entry. And we are considering to look into another journal file because it may contain an entry that is nearer to the current location than the candidate. We should skip the whole journal file if we can tell by looking at its header that none of its entries can precede the candidate. Before: $ time ./journalctl --since=2014-06-01 --until=2014-07-01 > /dev/null real 0m20.518s user 0m19.989s sys 0m0.328s After: $ time ./journalctl --since=2014-06-01 --until=2014-07-01 > /dev/null real 0m9.445s user 0m9.228s sys 0m0.213s
* journal: optimize iteration: skip whole files behind current locationMichal Schmidt2014-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interleaving of entries from many journal files is expensive. But there is room for optimization. We can skip looking into journal files whose entries all lie before the current iterating location. We can tell if that's the case from looking at the journal file header. This saves a huge amount of work if one has many of mostly not interleaved journal files. On my workstation with 90 journal files in /var/log/journal/ID/ totalling 3.4 GB I get these results: Before: $ time ./journalctl --since=2014-06-01 --until=2014-07-01 > /dev/null real 5m54.258s user 2m4.263s sys 3m48.965s After: $ time ./journalctl --since=2014-06-01 --until=2014-07-01 > /dev/null real 0m20.518s user 0m19.989s sys 0m0.328s The high "sys" time in the original was caused by putting more stress on the mmap-cache than it could handle. With the patch the working set now consists of fewer mmap windows and mmap-cache is not thrashing.
* networkd: remove unused variableThomas Hindoe Paaboel Andersen2014-12-09
| | | | It is no longer used after 45af44d47da6933b260c734ad9ff721f63f80a4d
* unit: update unit dropin paths and time when dropin file is written.WaLyong Cho2014-12-09
| | | | | | | | If a unit is set property by "systemctl set-property", a new dropin file is generated. But the unit's dropin_paths and dropin_mtime are not updated. So the unit is shown as need daemon reload. Update unit dropin_paths and dropin_mtime also when dropin file is written.
* bus-proxy: cloning smack labelPrzemyslaw Kedzierski2014-12-09
| | | | | | | | | | | | | | | | | | | | | | When dbus client connects to systemd-bus-proxyd through Unix domain socket proxy takes client's smack label and sets for itself. It is done before and independent of dropping privileges. The reason of such soluton is fact that tests of access rights performed by lsm may take place inside kernel, not only in userspace of recipient of message. The bus-proxyd needs CAP_MAC_ADMIN to manipulate its label. In case of systemd running in system mode, CAP_MAC_ADMIN should be added to CapabilityBoundingSet in service file of bus-proxyd. In case of systemd running in user mode ('systemd --user') it can be achieved by addition Capabilities=cap_mac_admin=i and SecureBits=keep-caps to user@.service file and setting cap_mac_admin+ei on bus-proxyd binary.
* run: introduce timer support optionWaLyong Cho2014-12-09
| | | | | | | | | | | | | Support timer options --on-active=, --on-boot=, --on-startup=, --on-unit-active=, --on-unit-inactive=, --on-calendar=. Each options corresponding with OnActiveSec=, OnBootSec=, OnStartupSec=, OnUnitActiveSec=, OnUnitInactiveSec=, OnCalendar= of timer respectively. And OnCalendar= and WakeSystem= supported by --timer-property= option like --property= of systemd-run. And if --unit= option and timer options are specified the command can be omitted. In this case, systemd-run assumes the target service is already loaded. And just try to generate transient timer unit only.
* update TODOLennart Poettering2014-12-09
|