1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/scripts
Peter Rajnoha 9a96f930a7 configure: run directory configuration cleanup
There were several hard-coded values for run directory around the code.
Also, some tools are DM specific only, others are LVM specific and there
was no distinction made here before. With this patch applied, we have
this cleaned up a bit (subsystem in brackets, defaults in parentheses):

          [common] configurable PID_DIR     (/var/run)

 lvm      [lvm]    configurable RUN_DIR     (/var/run/lvm)
                   configurable locking dir (/var/lock/lvm)

 clvmd    [lvm]    configurable pid file    (PID_DIR/clvmd.pid)
                   socket                   (RUN_DIR/clvmd.sock)

 lvmetad  [lvm]    configurable pid file    (PID_DIR/lvmetad.pid)
                   socket                   (RUN_DIR/lvmetad.socket)

 dm       [dm]     configurable DM_RUN_DIR  (/var/run)

 cmirrord [dm]     configurable pid file    (PID_DIR/cmirrord.pid)

 dmeventd [dm]     configurable pid file    (PID_DIR/dmeventd.pid)
                   server fifo              (DM_RUN_DIR/dmeventd-server)
                   client fifo              (DM_RUN_DIR/dmeventd-client)

The changes briefly:
  - added configure --with-default-pid-dir
  - added configure --with-default-dm-run-dir
  - added configure --with-lvmetad-pidfile
  - by default, using one common pid directory for everything
    (only lvmetad was not following this before)
2012-06-27 12:11:47 +02:00
..
lvm2create_initrd Add .gitignore files for an in-source-tree build. 2012-06-08 16:26:21 +01:00
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
clvmd_fix_conf.sh Use /bin/bash for scripts with bashisms 2010-05-14 11:33:20 +00:00
clvmd_init_red_hat.in Based on auto-detection or user requested cluster managers for clvmd, 2010-08-23 11:37:02 +00:00
cmirrord_init_red_hat.in Fix bug 632681: cmirrord shouldn't fail 'start' if already started 2011-01-04 21:16:54 +00:00
dm_event_systemd_red_hat.service.in systemd: Add Documentation references 2012-06-20 14:23:50 +02:00
dm_event_systemd_red_hat.socket.in configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
fsadm.sh Fix string parsing 2012-03-16 12:53:05 +00:00
gdbinit Add a couple new functions to gdbinit file and decode a couple lv->status flags 2012-04-10 23:24:00 +00:00
lvm2_lvmetad_init_red_hat.in configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
lvm2_lvmetad_systemd_red_hat.service.in configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
lvm2_lvmetad_systemd_red_hat.socket.in systemd: Add Documentation references 2012-06-20 14:23:50 +02:00
lvm2_monitoring_init_red_hat.in Use also normalized output for vgchange command in lvm2-monitor init script. 2011-12-16 11:42:56 +00:00
lvm2_monitoring_init_rhel4 Use also normalized output for vgchange command in lvm2-monitor init script. 2011-12-16 11:42:56 +00:00
lvm2_monitoring_systemd_red_hat.service.in systemd: Add Documentation references 2012-06-20 14:23:50 +02:00
lvm2_tmpfiles_red_hat.conf.in Use 'd' instead of 'D' in tmpfiles configuration to not overwrite any existing directory. 2012-02-23 14:24:30 +00:00
lvmconf_lockingtype2.sh Use /bin/bash for scripts with bashisms 2010-05-14 11:33:20 +00:00
lvmconf.sh Install lvmconf script by default. 2010-05-20 11:20:35 +00:00
lvmdump.sh Add udev info and context to lvmdump. 2012-04-18 15:26:02 +00:00
Makefile.in configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
relpath.awk Fix scripts/relpath.awk to work with mawk 2010-05-21 15:28:16 +00:00
vg_convert change two files in different directories 2006-06-06 17:44:11 +00:00
vgimportclone.sh The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in 2012-02-23 13:11:07 +00:00
VolumeGroup.ocf Add OCF support 2010-11-05 16:18:38 +00:00