Systemd/src
Lennart Poettering 37cf8fee46 core: if two start jobs for the same swap device node are queued, only dispatch one of them at a time
If two start jobs for two seperate .swap device nodes are queued, which
then turns out to be referring to the same device node, refuse
dispatching more than one of them at the same time.

This should solve an issue when the same swap partition is found via GPT
auto-discovery and via /etc/fstab, where one uses a symlink path, and
the other the raw devce node. So far we might have ended up invoking
mkswap on the same node at the very same time with the two device node
names.

With this change only one mkswap should be executed at a time. THis
mkswap should have immediate effect on the other swap unit, due to the
state in /proc/swaps changing, and thus suppressing actual invocation of
the second mkswap.

http://lists.freedesktop.org/archives/systemd-devel/2015-January/027314.html
2015-01-28 00:38:38 +01:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
analyze #pragma once here and there 2015-01-23 09:30:44 -05:00
ask-password ask-password: Add --echo to enable echoing the user input 2014-10-05 15:29:41 -04:00
backlight treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
binfmt treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
boot Unify parse_argv style 2014-08-03 21:46:07 -04:00
bootchart bootchart: escape non printable process name 2014-12-04 02:10:41 +01:00
bus-proxyd Assorted format fixes 2015-01-22 01:14:52 -05:00
cgls treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
cgroups-agent treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
cgtop treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
compat-libs #pragma once here and there 2015-01-23 09:30:44 -05:00
console Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.h 2015-01-18 19:06:48 -05:00
core core: if two start jobs for the same swap device node are queued, only dispatch one of them at a time 2015-01-28 00:38:38 +01:00
cryptsetup Support negated fstab options 2015-01-11 23:41:41 -05:00
dbus1-generator dbus1-generator: fix array sentinal 2015-01-08 16:13:39 +01:00
debug-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
delta delta: fix output alignment of [REDIRECTED] entries 2014-12-14 12:54:17 -05:00
detect-virt treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
efi-boot-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
escape Unify parse_argv style 2014-08-03 21:46:07 -04:00
firstboot machined: when cloning a raw disk image, also set the NOCOW flag 2015-01-08 23:13:45 +01:00
fsck sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
fstab-generator Support negated fstab options 2015-01-11 23:41:41 -05:00
getty-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
gpt-auto-generator gpt-auto-generator: make use of new btrfs-util.h APIs 2014-12-12 13:35:32 +01:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hibernate-resume treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
hostname tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
hwdb Assorted format fixes 2015-01-22 01:14:52 -05:00
import treewide: fix multiple typos 2015-01-26 10:39:47 -05:00
initctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal tests: use assert_se instead of assert 2015-01-22 23:10:56 +01:00
journal-remote Assorted format fixes 2015-01-22 01:14:52 -05:00
kernel-install kernel-install/90-loaderentry.install: fix cmdline parsing 2014-11-01 14:39:48 -04:00
libsystemd sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects 2015-01-26 21:52:07 +01:00
libsystemd-network sd-icmp6-nd: Add support for fetching the latest expired prefix 2015-01-27 09:35:24 +02:00
libsystemd-terminal build-sys: unbundle unifont 2015-01-26 23:56:34 -05:00
libudev libudev: private - drop some functions from the internal API 2015-01-26 14:48:04 +01:00
locale kbd-model-map: add more mappings for Slovak, Lithuanian, and Khmer 2015-01-22 01:14:54 -05:00
login logind: chown+chmod /run/user/$UID if mount(tmpfs) fails with EPERM 2015-01-27 18:58:40 +01:00
machine treewide: fix multiple typos 2015-01-26 10:39:47 -05:00
machine-id-commit machine-id-commit: Introduce machine-id-commit binary 2014-12-03 03:41:19 +01:00
machine-id-setup Unify parse_argv style 2014-08-03 21:46:07 -04:00
modules-load treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
network networkd-dhcp6: Assign DHCPv6 addresses and prefix lengths 2015-01-27 09:35:24 +02:00
notify treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
nspawn nspawn: when mounting the cgroup hierarchies, use the exact same mount options for the superblock as the host 2015-01-23 01:43:16 +01:00
nss-myhostname nss-myhostname: always will in canonical hostname field when resolving addresses to hostnames 2015-01-05 16:24:41 +01:00
nss-mymachines nss: remove dead code 2014-09-19 00:15:39 +02:00
nss-resolve sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
path treewide: yet more log_*_errno + return simplifications 2014-11-28 18:56:16 +01:00
python-systemd python-systemd: avoid hitting assert in __exit__ 2014-10-14 08:35:16 -04:00
quotacheck delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
random-seed random-seed: avoid errors when we cannot write random-seed file 2015-01-17 11:55:14 +01:00
rc-local-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
remount-fs treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
reply-password treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
resolve treewide: fix multiple typos 2015-01-26 10:39:47 -05:00
resolve-host sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
rfkill rfkill: rework how we generate file names from rfkill devices 2014-12-03 02:04:55 +01:00
run machinectl: make sure that "machinectl login" exits immediately when the machine it is connected to dies 2015-01-07 03:08:00 +01:00
shared list: add macro for iterating through a list an item is in, skipping the item 2015-01-28 00:34:58 +01:00
shutdownd treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
sleep Implement masking and overriding of generators 2015-01-11 18:17:33 -05:00
socket-proxy treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
sysctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
system-update-generator system-update-generator: accept a dangling symlink 2015-01-27 01:29:02 +01:00
systemctl systemctl: bugfix for systemctl reboot command with argument 2015-01-23 09:30:44 -05:00
systemd sd-icmp6-nd: Add support for fetching the latest expired prefix 2015-01-27 09:35:24 +02:00
sysusers logind: unify how we cast between uid_t and pointers for hashmap keys 2015-01-09 18:35:36 +01:00
sysv-generator sysv-generator: use is_symlink() utility call where appropriate 2015-01-27 23:13:28 +01:00
test list: add macro for iterating through a list an item is in, skipping the item 2015-01-28 00:34:58 +01:00
timedate tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
timesync timesyncd: set RLIMIT_NPROC to 2 2015-01-27 02:33:46 +01:00
tmpfiles tmpfiles: use casts instead of warning suppression 2015-01-26 10:39:03 -05:00
tty-ask-password-agent util: rename ignore_file() to hidden_file() 2014-12-19 20:03:36 +01:00
udev udev: event - minor nit 2015-01-26 14:13:31 +01:00
update-done tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
update-utmp treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
vconsole treewide: sanitize loop_write 2014-12-09 21:36:08 -05:00
.gitignore
Makefile