1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/dmeventd
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
..
plugins Commit ID 46a75dedb4 consolidated code from the 2012-04-10 23:34:41 +00:00
.exported_symbols Add rudimentary versioning to the dmevend protocol, allowing us to detect the 2011-04-04 16:11:09 +00:00
dmeventd.c cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
dmeventd.h configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
libdevmapper-event.c Fix check for passed in path for dmeventd startup 2012-03-20 17:38:47 +00:00
libdevmapper-event.h Add FIXME for misuse in case of dm_event_mask enum. 2012-02-27 11:46:25 +00:00
libdevmapper-event.pc.in Use Require.private: field for devmapper-event.pc 2010-05-11 08:47:02 +00:00
Makefile.in Make dmsetup.static and lvm.static build when dmeventd is disabled. 2011-11-14 21:30:35 +00:00