mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fd41dd8f9c
The commit splits original clvmd service in two new native services for systemd enabled systems while original init scripts remain unaltered. New systemd native services: 1) clvmd daemon itself (lvm2_clvmd_red_hat.service.in) 2) (de)activation of clustered VGs (lvm2_cluster_activation_red_hat.service.in) There're several reasons to split it. First, there's no support for conditional stop in systemd and AFAIK they don't plan to support it. In other words: if the deactivation fails for some reason, systemd doesn't care and will simply kill all remaining processes in original cgroup (by default). Killing the remaining procs can be suppressed however it doesn't solve the following problem: You can't repeat the stop command of a failed service. The repeated stop command is simply not propagated to the service in a failed state. You would have to start and then try to stop the service again. Unfortunately, this can't be done while the daemon is still running (and we need the daemon to stay active until all clustered VGs are deactivated properly). In a separated setup we need only to restart the failed activation service and that's fine. |
||
---|---|---|
.. | ||
lvm2create_initrd | ||
.gitignore | ||
blk_availability_init_red_hat.in | ||
blk_availability_systemd_red_hat.service.in | ||
blkdeactivate.sh.in | ||
clvmd_fix_conf.sh | ||
clvmd_init_red_hat.in | ||
cmirrord_init_red_hat.in | ||
dm_event_systemd_red_hat.service.in | ||
dm_event_systemd_red_hat.socket.in | ||
fsadm.sh | ||
gdbinit | ||
lvm2_activation_generator_systemd_red_hat.c | ||
lvm2_cluster_activation_red_hat.service.in | ||
lvm2_cluster_activation_red_hat.sh.in | ||
lvm2_clvmd_red_hat.service.in | ||
lvm2_lvmetad_init_red_hat.in | ||
lvm2_lvmetad_systemd_red_hat.service.in | ||
lvm2_lvmetad_systemd_red_hat.socket.in | ||
lvm2_monitoring_init_red_hat.in | ||
lvm2_monitoring_init_rhel4 | ||
lvm2_monitoring_systemd_red_hat.service.in | ||
lvm2_pvscan_systemd_red_hat@.service.in | ||
lvm2_tmpfiles_red_hat.conf.in | ||
lvmconf_lockingtype2.sh | ||
lvmconf.sh | ||
lvmdump.sh | ||
Makefile.in | ||
relpath.awk | ||
vg_convert | ||
vgimportclone.sh | ||
VolumeGroup.ocf |