summaryrefslogtreecommitdiff
path: root/man/sd_event_source_set_prepare.xml
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2015-11-23 11:14:10 +0100
committerFranck Bui <fbui@suse.com>2015-11-23 11:23:44 +0100
commit8bf23dc757dacaaf5a8d2c21aabf71aee08d1a04 (patch)
tree67d9fb4bf3289459bdcfdbc60f1a4a92fb764662 /man/sd_event_source_set_prepare.xml
parent6098bb0dc31b1c472ab868088d04234352c44b75 (diff)
make sure all swap units are ordered before the swap target
When shutting down the system, the swap devices can be disabled long time before the swap target is stopped. They're actually the first units systemd turns off on my system. This is incorrect and due to swap devices having multiple associated swap unit files. The main one is usually created by the fstab generator and is used to start the swap device. Once done, systemd creates some 'alias' units for the same swap device, one for each swap dev link. But those units are missing an ordering dependencies which was created by the fstab generator for the main swap unit. Therefore during shutdown those 'alias' units can be stopped at anytime before unmount.target target. This patch makes sure that all swap units are stopped after the swap.target target.
Diffstat (limited to 'man/sd_event_source_set_prepare.xml')
0 files changed, 0 insertions, 0 deletions