1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-13 17:18:18 +03:00
systemd/src
Olivier Brunel b61e88162a swap: fix swap behaviour with symlinks
Starting a swap unit pointing to (What) a symlink (e.g. /dev/mapper/swap
or /dev/disk/by-uuid/...) would have said unit marked active, following
the one using the "actual" device (/dev/{dm-1,sda3}), but that new unit
would be seen as inactive.
Since all requests to stop swap units would follow/redirect to it,
and it is seen inactive, nothing would be done (swapoff never called).

This is because this unit would be treated twice in
swap_process_new_swap, the second call to swap_add_one causing it to
eventually be marked inactive.
2012-10-29 09:04:25 +00:00
..
ac-power build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
analyze manager: extend performance measurement interface to include firmware/loader times 2012-09-13 18:54:32 +02:00
ask-password build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
binfmt continue work with error messages, log_oom() 2012-08-06 16:37:01 +02:00
cgls util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
cgroups-agent build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
cgtop util: unify line caching and column caching 2012-10-19 00:07:55 +02:00
core swap: fix swap behaviour with symlinks 2012-10-29 09:04:25 +00:00
cryptsetup fix a couple of issues found with llvm-analyze 2012-08-08 23:54:21 +02:00
delta util: define union dirent_storage and make use of it everywhere 2012-09-19 22:21:09 +02:00
detect-virt systemd-detect-virt: fix "option '--quiet' requires an argument" 2012-06-04 12:39:22 +02:00
fsck log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
fstab-generator log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
getty-generator log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
gudev update .gitignore 2012-04-13 21:49:25 +02:00
hostname hostnamectl: add more really basic system info to the status output 2012-10-21 03:35:54 +02:00
initctl build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
journal journal: fix memleak, call set_free before return 2012-10-28 02:14:40 +02:00
libsystemd-daemon sd-daemon: remove unnecessary memset calls 2012-07-23 00:06:06 +02:00
libsystemd-id128 update .gitignore 2012-04-13 21:58:01 +02:00
libudev libudev: hwdb - cleanup list before getting new properties 2012-10-28 04:59:38 +01:00
locale localectl: fix memleak, use _cleanup_strv_free_ 2012-10-28 02:14:41 +02:00
login login: trivial grammar fix 2012-10-28 22:43:11 +01:00
machine-id-setup log: correct usage of logging API at a few places 2012-07-13 15:45:45 +02:00
modules-load modules-load: initalize files to null 2012-09-21 16:11:07 +02:00
notify build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
nspawn nspawn: use automatic cleanup and provide debug info 2012-10-02 14:56:26 +02:00
python-systemd python: make gcc shut up 2012-09-13 19:34:09 +02:00
quotacheck cryptsetup: allow configuration of LUKS disks via the kernel cmdline 2012-06-22 10:11:06 +02:00
random-seed random-seed: fix error message typo 2012-10-19 17:31:33 +02:00
rc-local-generator log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
readahead readahead: fix fd validity check 2012-10-22 22:08:06 +02:00
remount-fs service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
reply-password build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
shared util: fix possible integer overflows 2012-10-28 02:14:41 +02:00
shutdownd shutdown: allow to specify broadcast message when cancelling shutdown 2012-08-06 16:25:55 +02:00
sleep logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) 2012-10-28 00:50:35 +02:00
stdio-bridge build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
sysctl sysctl: parse all keys in a config file 2012-10-26 01:12:22 +02:00
system-update-generator log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
systemctl systemctl: skip JOBS column if no jobs 2012-10-28 22:43:11 +01:00
systemd journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals 2012-10-26 20:07:33 +02:00
test logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) 2012-10-28 00:50:35 +02:00
timedate set: introduce strv_sort() 2012-10-19 04:53:45 +02:00
timestamp build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
tmpfiles tmpfiles: allow Age to be set to 0 2012-10-23 21:53:20 +02:00
tty-ask-password-agent log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
udev udev: add "udevadm hwdb --test=<modalias>" 2012-10-28 04:41:15 +01:00
update-utmp utmp: read the right timestamp 2012-09-17 17:48:19 +02:00
vconsole remove Fedora hostname, locale, vconsole legacy file support 2012-10-24 03:51:06 +02:00
.gitignore move libsystemd-id128, libsystemd-daemon to subdir 2012-04-12 15:26:39 +02:00
Makefile relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00