]> sourceware.org Git - lvm2.git/commitdiff
More cleanup needed for dropped scripts
authorDavid Teigland <teigland@redhat.com>
Thu, 13 Sep 2018 16:02:53 +0000 (11:02 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 13 Sep 2018 16:09:25 +0000 (11:09 -0500)
and drop the lvm2 prefix from lvmlockd service

configure.ac
man/Makefile.in
man/lvmconf.8_main [deleted file]
man/lvmlockd.8_main
scripts/Makefile.in
scripts/lvmlockd.service.in [moved from scripts/lvm2_lvmlockd_systemd_red_hat.service.in with 100% similarity]
scripts/lvmlocks.service.in
spec/packages.inc

index 6d9308fec303ff22f9a2d8e6b1f8fe33545207f7..32cd9218f6f9847544f531f1d60684a35339798f 100644 (file)
@@ -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@.service
 scripts/lvm2_tmpfiles_red_hat.conf
 scripts/lvmdump.sh
 scripts/Makefile
index aefda2dffea3dda3eeb5a4d7eaeca06a43779464..6d5e2ac8f3eb38c0b749704fdfa060850f4ecbd8 100644 (file)
@@ -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 \
diff --git a/man/lvmconf.8_main b/man/lvmconf.8_main
deleted file mode 100644 (file)
index ca66ae6..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-.TH "LVMCONF" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
-
-.SH "NAME"
-lvmconf \(em LVM configuration modifier
-.SH "SYNOPSIS"
-.B lvmconf
-.RB [ --disable-cluster ]
-.RB [ --enable-cluster ]
-.RB [ --enable-halvm ]
-.RB [ --disable-halvm ]
-.RB [ --file
-.RI < configfile >]
-.RB [ --lockinglib
-.RI < lib >]
-.RB [ --lockinglibdir
-.RI < dir >]
-.RB [ --services ]
-.RB [ --mirrorservice ]
-.RB [ --startstopservices ]
-
-.SH "DESCRIPTION"
-lvmconf is a script that modifies the locking configuration in
-an lvm configuration file. See \fBlvm.conf\fP(5). In addition
-to that, it can also set Systemd or SysV services according to
-changes in the lvm configuration if needed.
-
-.SH "OPTIONS"
-.TP
-.BR --disable-cluster
-Set \fBlocking_type\fR to the default non-clustered type. Also reset
-lvmetad use to its default.
-.TP
-.BR --enable-cluster
-Set \fBlocking_type\fR to the default clustered type on this system.
-Also disable lvmetad use as it is not yet supported in clustered environment.
-.TP
-.BR --disable-halvm
-Set \fBlocking_type\fR to the default non-clustered type. Also reset
-lvmetad use to its default.
-.TP
-.BR --enable-halvm
-Set \fBlocking_type\fR suitable for HA LVM use.
-Also disable lvmetad use as it is not yet supported in HA LVM environment.
-.TP
-.BR --file " <" \fIconfigfile >
-Apply the changes to \fIconfigfile\fP instead of the default
-\fI#DEFAULT_SYS_DIR#/lvm.conf\fP.
-.TP
-.BR --lockinglib " <" \fIlib >
-Set external \fBlocking_library\fR locking library to load if an external locking type is used.
-.TP
-.BR --lockinglibdir " <" \fIdir >
-.TP
-.BR --services
-In addition to setting the lvm configuration, also enable or disable related Systemd or SysV
-clvmd and lvmetad services. This script does not configure services provided by cluster resource
-agents.
-.TP
-.BR --mirrorservice
-Also enable or disable optional cmirrord service when handling services (applicable only with --services).
-.TP
-.BR --startstopservices
-In addition to enabling or disabling related services, start or stop them immediately
-(applicable only with --services).
-.SH FILES
-.I #DEFAULT_SYS_DIR#/lvm.conf
-
-.SH "SEE ALSO"
-.BR lvm (8),
-.BR lvm.conf (5)
index cfb45b20d06ac3de8380d386ddb194c780c7dbb9..1a52fc58f306cb113d9bd2ae80775dcfe7502b87 100644 (file)
@@ -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
 
index 6d32b639108c1cbc85a7a9320f31baa58a692182..039cac2e719983e428a9a2f21386659804c2d89c 100644 (file)
@@ -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@.service \
index 79598db8fb60e7d605d87b9be0be1ff8fd150e35..f6a951f1989a319822548f2fa7b0785e73b72aec 100644 (file)
@@ -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
index 38f90ec6bc9195c2002cb10c2fdc0af6ff870f94..4049f278b1581b2bd7844c4b963093b97456f5c5 100644 (file)
@@ -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
 
 ##############################################################################
This page took 0.046975 seconds and 5 git commands to generate.