summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-29core: sort includes of manager.[ch] according to CODING_STYLELennart Poettering
2015-09-29sd-event: don't provide priority stabilityDavid Herrmann
Currently, we guarantee that if two event-sources with the same priority fire at the same time, they're always dispatched in the same order. While this might sound nice in theory, there's is little benefit in providing stability on that level. We have no control over the order the events are reported, hence, we cannot guarantee that we get notified about both at the same time. By dropping the stability guarantee, we loose roughly 10% Heap swaps in the prioq on a desktop cold-boot. Krzysztof Kotlenga even reported up to 20% on his tests. This sounds worth optimizing, so drop the stability guarantee.
2015-09-29prioq: never shuffle identical entriesDavid Herrmann
Skip shuffling identical entries in shuffle_up(), just like we already do in shuffle_down().
2015-09-29journal-remote: typo in log_error when no sources are specifiedBranislav Blaskovic
2015-09-29Merge pull request #1403 from dvdhrm/prioq-commentMichal Schmidt
prioq: add introduction comment
2015-09-29prioq: add introduction commentDavid Herrmann
Add comment to prioq.c explaining what it does. And more importantly, mention that we implement a Heap. It's more than annoying having to figure out what the code actually does, without ever mentioning the word 'heap'.
2015-09-28bash-completion: remove one more sort and sub-shellZbigniew Jędrzejewski-Szmek
{} is preferred to (), because the first is just grouping, while the second invokes a separate shell.
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
awk is an external program, and it is better to stick to shell built-ins. Also, even with external awk, sort -u is redundant, because the shell does this on its own.
2015-09-28shell-completion: use systemctl --state=helpZbigniew Jędrzejewski-Szmek
This way completion lists should stay up to date. Also use systemctl -t help to list types in zsh, as was already done in bash.
2015-09-28Move all unit states to basic/ and extend systemctl --state=helpZbigniew Jędrzejewski-Szmek
2015-09-28systemctl: add --state=helpZbigniew Jędrzejewski-Szmek
This mirrors --type=help and simplifies completion scripts. The array of states is dense, so the is no need to check if the string is null.
2015-09-28Move UnitActiveState to basic/Zbigniew Jędrzejewski-Szmek
Preparation to allow systemctl to query the list of unit states.
2015-09-28Merge pull request #1396 from phomes/va-startDavid Herrmann
sd-bus: va_start should use the last named parameter
2015-09-28man: journald: add commands for /var/log/journal creatingEvgeny Vereshchagin
See https://github.com/systemd/systemd/issues/1397
2015-09-27sd-bus: va_start should use the last named parameterThomas Hindoe Paaboel Andersen
2015-09-27fsck: start reboot.target irreversiblyŁukasz Stelmach
In some situations rebooting after fixing rootfs fails because the job for reboot.target gets canceled. To avoid this the "mode" parameter of the StartUnitReplace() call needs to be set to "replace-irreversibly".
2015-09-27Merge pull request #1392 from dvdhrm/bus-format2Lennart Poettering
sd-bus: add sd_bus_path_{encode,decode}_many() (v2)
2015-09-27Merge pull request #1373 from pfl/dhcp6_opportunistic_configurationMartin Pitt
networkd: Be opportunistic when declaring link configured
2015-09-26sd-bus: add sd_bus_path_{encode,decode}_many()David Herrmann
This introduces two new helpers alongside sd_bus_path_{encode,decode}(), which work similarly to their counterparts, but accept a format-string as input. This allows encoding and decoding multiple labels of a format string at the same time.
2015-09-26Merge pull request #1391 from evverx/nspawn-completionDaniel Mack
shell-completion: nspawn: add missing values for --link-journal
2015-09-26hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2015-09-26shell-completion: nspawn: add missing values for --link-journalEvgeny Vereshchagin
2015-09-25update NEWSDaniel Mack
2015-09-25Merge pull request #1388 from darkcircle/ko-translationDaniel Mack
add a new Korean translation
2015-09-25add a new Korean translationSeong-ho Cho
2015-09-25Merge pull request #1382 from filbranden/cpuaffinity2Daniel Mack
Use parse_cpu_set in CPUAffinity support (for units)
2015-09-25Merge pull request #1380 from evverx/journalctl-bash-completionDaniel Mack
Update journalctl bash completion
2015-09-24load-fragment: Use parse_cpu_set in CPUAffinity supportFilipe Brandenburger
Tested with a dummy service running 'sleep', modifying its CPUAffinity, restarting the service and checking the ^Cpus_allowed entries in the /proc/PID/status file.
2015-09-24util: Add test for parse_cpu_setFilipe Brandenburger
2015-09-25shell-completion: journalctl: add missing optionsEvgeny Vereshchagin
2015-09-24util: refactor cpu_set parsing into its own functionFilipe Brandenburger
Use the new code in config_parse_cpu_affinity2. Tested by modifying CPUAffinity=... setting in /etc/systemd/system.conf and reloading the daemon, then checking ^Cpus_allowed in /proc/1/status to confirm the correct CPU mask is in place.
2015-09-25shell-completion: journalctl: add missing fieldsEvgeny Vereshchagin
2015-09-24Merge pull request #1377 from evverx/man-systemd-sliceLennart Poettering
man: systemd.slice: add link to cgroups api docs
2015-09-24Merge pull request #1376 from dvdhrm/hostnamed-argcLennart Poettering
hostnamed: drop redundant code
2015-09-24hostnamed: drop redundant codeDavid Herrmann
Doing argc checks once is enough enough enough enough.
2015-09-24man: systemd.slice: add link to cgroups api docsEvgeny Vereshchagin
systemd.scope and systemd.resource-control contain that link. systemd.slice should contain it too.
2015-09-24Merge pull request #1374 from olof/autoconf_gcrypt_depLennart Poettering
build-sys: only use AM_PATH_LIBGCRYPT macro if it exists
2015-09-24sysusers: improve error reportingJan Engelhardt
Creating group input with gid 491. Failed to write files: File exists "Why is the presence of /etc/group a problem?"
2015-09-24Merge pull request #1370 from ↵Daniel Mack
systemd-mailing-devs/1443091642-5853-1-git-send-email-brueckner@linux.vnet.ibm.com s390: add personality support
2015-09-24build-sys: only use AM_PATH_LIBGCRYPT macro if it existsOlof Johansson
If gcrypt's m4 macro files aren't installed, with this change, gcrypt will be disabled --- unless gcrypt support was explicitly requested by passing --enable-gcrypt to configure, in which case it will fail. Without this change, autoconf would fail either way with not being able to resolve AM_PATH_LIBGCRYPT.
2015-09-24networkd: Be opportunistic when declaring link configuredPatrik Flykt
The DHCP variable in the [Network] section of the network configuration file moves the link to the configured state according to the following: DHCP=yes Link is configured when either DHCPv4 or DHCPv6 succeed DHCP=ipv4 Link is configured only when DHCPv4 succeeds DHCP=ipv6 Link is configured only when DHCPv6 succeeds DHCP=no Neither DHCPv4 or DHCPv6 is attempted Reported by Martin Pitt. Fixes https://github.com/systemd/systemd/issues/1368
2015-09-24networkd: add support to configure preferred source of static routesJens Kuske
2015-09-24s390: add personality supportHendrik Brueckner
Introduce personality support for Linux on z Systems to run particular services with a 64-bit or 31-bit personality.
2015-09-24Merge pull request #1366 from pocek/sd-event-fixesLennart Poettering
sd-event: fix prepare priority queue comparison function
2015-09-24Merge pull request #1332 from thom311/masterTom Gundersen
sd-dhcp6: ensure canceling lease timers and refactor setting lease
2015-09-24Merge pull request #1356 from pfl/dhcp6_suspendTom Gundersen
DHCPv6 suspend fixes
2015-09-24sd-event: fix prepare priority queue comparison functionKrzysztof Kotlenga
Otherwise a disabled event source can get swapped with an enabled one and cause a severe sd-event malfunction. http://lists.freedesktop.org/archives/systemd-devel/2015-September/034356.html
2015-09-23Merge pull request #1363 from msekletar/ldconfigLennart Poettering
units: run ldconfig also when cache is unpopulated
2015-09-23Merge pull request #1365 from floppym/kcmpLennart Poettering
Add fallback for kcmp() in case __NR_kcmp is undefined