mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
systemd: use RemoveOnStop for dm-event.socket and lvm2-lvmetad.socket
Systemd version 214 introduced new "RemoveOnStop" option for socket units to remove the socket/FIFO when the particular unit is stopped. Also https://bugzilla.redhat.com/show_bug.cgi?id=802748.
This commit is contained in:
parent
4c9fbe048f
commit
fea8abe56a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.107 -
|
Version 2.02.107 -
|
||||||
==================================
|
==================================
|
||||||
|
Use RemoveOnStop for lvm2-lvmetad.socket systemd unit.
|
||||||
Add thin-generic configuration profile for generic thin settings.
|
Add thin-generic configuration profile for generic thin settings.
|
||||||
Fix crash when reporting of empty labels on pvs.
|
Fix crash when reporting of empty labels on pvs.
|
||||||
Use retry_deactivation also when cleaning orphan devices.
|
Use retry_deactivation also when cleaning orphan devices.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.88 -
|
Version 1.02.88 -
|
||||||
=================================
|
=================================
|
||||||
|
Use RemoveOnStop for dm-event.socket systemd unit.
|
||||||
Document env var 'DM_DEFAULT_NAME_MANGLING_MODE' in dmsetup man page.
|
Document env var 'DM_DEFAULT_NAME_MANGLING_MODE' in dmsetup man page.
|
||||||
Warn user about incorrect use of cookie with 'dmsetup remove --force'.
|
Warn user about incorrect use of cookie with 'dmsetup remove --force'.
|
||||||
Also recognize 'help'/'?' as reserved sort key name to show help.
|
Also recognize 'help'/'?' as reserved sort key name to show help.
|
||||||
|
@ -7,6 +7,7 @@ DefaultDependencies=no
|
|||||||
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-server
|
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-server
|
||||||
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-client
|
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-client
|
||||||
SocketMode=0600
|
SocketMode=0600
|
||||||
|
RemoveOnStop=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sockets.target
|
WantedBy=sockets.target
|
||||||
|
@ -6,6 +6,7 @@ DefaultDependencies=no
|
|||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
||||||
SocketMode=0600
|
SocketMode=0600
|
||||||
|
RemoveOnStop=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
Loading…
Reference in New Issue
Block a user