master - More cleanup needed for dropped scripts
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=19a59cc53c723f3614d68edcdd9dfabe15c1299b Commit: 19a59cc53c723f3614d68edcdd9dfabe15c1299b Parent: e9b6cdd6e65196d6ada6ce54e8d256c3dc57329b Author: David Teigland <[email protected]> AuthorDate: Thu Sep 13 11:02:53 2018 -0500 Committer: David Teigland <[email protected]> CommitterDate: Thu Sep 13 11:09:25 2018 -0500
More cleanup needed for dropped scripts
and drop the lvm2 prefix from lvmlockd service
--- configure.ac | 4 +- man/Makefile.in | 2 +- man/lvmconf.8_main | 70 ---------------------- man/lvmlockd.8_main | 2 +- scripts/Makefile.in | 8 ++- scripts/lvm2_lvmlockd_systemd_red_hat.service.in | 13 ---- scripts/lvmlockd.service.in | 13 ++++ scripts/lvmlocks.service.in | 2 +- spec/packages.inc | 3 +- 9 files changed, 25 insertions(+), 92 deletions(-)
configure.ac +2 -2
@@ -1819,10 +1819,10 @@ scripts/lvm2_lvmdbusd_systemd_red_hat.service scripts/lvm2_lvmpolld_init_red_hat scripts/lvm2_lvmpolld_systemd_red_hat.service scripts/lvm2_lvmpolld_systemd_red_hat.socket -scripts/lvm2_lvmlockd_systemd_red_hat.service +scripts/lvmlockd.service +scripts/lvmlocks.service scripts/lvm2_monitoring_init_red_hat scripts/lvm2_monitoring_systemd_red_hat.service -scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/lvmdump.sh scripts/Makefile
man/Makefile.in +1 -1
@@ -37,7 +37,7 @@ LVMRAIDMAN = lvmraid.7 MAN5=lvm.conf.5 MAN7=lvmsystemid.7 lvmreport.7 -MAN8=lvm.8 lvmconf.8 lvmdump.8 lvm-fullreport.8 lvm-lvpoll.8 \ +MAN8=lvm.8 lvmdump.8 lvm-fullreport.8 lvm-lvpoll.8 \ lvcreate.8 lvchange.8 lvmconfig.8 lvconvert.8 lvdisplay.8 \ lvextend.8 lvreduce.8 lvremove.8 lvrename.8 lvresize.8 lvs.8 \ lvscan.8 pvchange.8 pvck.8 pvcreate.8 pvdisplay.8 pvmove.8 pvremove.8 \
man/lvmconf.8_main deleted +0 -70
70 lines not on this page · raw message
man/lvmlockd.8_main +1 -1
@@ -121,7 +121,7 @@ Start the lvmlockd daemon. .br Use systemctl, a cluster resource agent, or run directly, e.g. .br -systemctl start lvm2-lvmlockd +systemctl start lvmlockd .SS 4. start lock manager
scripts/Makefile.in +5 -3
@@ -24,7 +24,7 @@ ifeq ("@BUILD_DMEVENTD@", "yes") LDFLAGS += -Wl,-rpath-link,$(top_builddir)/daemons/dmeventd endif -LVM_SCRIPTS = lvmdump.sh lvmconf.sh +LVM_SCRIPTS = lvmdump.sh DM_SCRIPTS = ifeq ("@FSADM@", "yes")
@@ -105,7 +105,8 @@ ifeq ("@BUILD_LVMPOLLD@", "yes") $(INSTALL_DATA) lvm2_lvmpolld_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmpolld.service endif ifeq ("@BUILD_LVMLOCKD@", "yes") - $(INSTALL_DATA) lvm2_lvmlockd_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmlockd.service + $(INSTALL_DATA) lvmlockd.service $(systemd_unit_dir)/lvmlockd.service + $(INSTALL_DATA) lvmlocks.service $(systemd_unit_dir)/lvmlocks.service endif ifeq ("@BUILD_CMIRRORD@", "yes") $(INSTALL_DATA) lvm2_cmirrord_systemd_red_hat.service $(systemd_unit_dir)/lvm2-cmirrord.service
@@ -149,7 +150,8 @@ DISTCLEAN_TARGETS += \ lvm2_lvmetad_systemd_red_hat.socket \ lvm2_lvmpolld_systemd_red_hat.service \ lvm2_lvmpolld_systemd_red_hat.socket \ - lvm2_lvmlockd_systemd_red_hat.service \ + lvmlockd.service \ + lvmlocks.service \ lvm2_monitoring_init_red_hat \ lvm2_monitoring_systemd_red_hat.service \ lvm2_pvscan_systemd_red_hat at .service \
scripts/lvm2_lvmlockd_systemd_red_hat.service.in deleted +0 -13
@@ -1,13 +0,0 @@ -[Unit] -Description=LVM lock daemon -Documentation=man:lvmlockd(8) - -[Service] -Type=notify -ExecStart=@SBINDIR@/lvmlockd --foreground -PIDFile=@LVMLOCKD_PIDFILE@ -SendSIGKILL=no - -[Install] -WantedBy=multi-user.target -
scripts/lvmlockd.service.in new file +13 -0
@@ -0,0 +1,13 @@ +[Unit] +Description=LVM lock daemon +Documentation=man:lvmlockd(8) + +[Service] +Type=notify +ExecStart=@SBINDIR@/lvmlockd --foreground +PIDFile=@LVMLOCKD_PIDFILE@ +SendSIGKILL=no + +[Install] +WantedBy=multi-user.target +
scripts/lvmlocks.service.in +1 -1
@@ -1,7 +1,7 @@ [Unit] Description=LVM locking start and stop Documentation=man:lvmlockd(8) -After=lvm2-lvmlockd.service sanlock.service dlm.service +After=lvmlockd.service sanlock.service dlm.service [Service] Type=oneshot
spec/packages.inc +2 -1
@@ -285,7 +285,8 @@ fi %{_mandir}/man8/lvmlockd.8.gz %{_mandir}/man8/lvmlockctl.8.gz %dir %{_default_locking_dir} -%{_unitdir}/lvm2-lvmlockd.service +%{_unitdir}/lvmlockd.service +%{_unitdir}/lvmlocks.service %endif ##############################################################################