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 -
|
||||
==================================
|
||||
Use RemoveOnStop for lvm2-lvmetad.socket systemd unit.
|
||||
Add thin-generic configuration profile for generic thin settings.
|
||||
Fix crash when reporting of empty labels on pvs.
|
||||
Use retry_deactivation also when cleaning orphan devices.
|
||||
|
@ -1,5 +1,6 @@
|
||||
Version 1.02.88 -
|
||||
=================================
|
||||
Use RemoveOnStop for dm-event.socket systemd unit.
|
||||
Document env var 'DM_DEFAULT_NAME_MANGLING_MODE' in dmsetup man page.
|
||||
Warn user about incorrect use of cookie with 'dmsetup remove --force'.
|
||||
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-client
|
||||
SocketMode=0600
|
||||
RemoveOnStop=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
@ -6,6 +6,7 @@ DefaultDependencies=no
|
||||
[Socket]
|
||||
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
||||
SocketMode=0600
|
||||
RemoveOnStop=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
Loading…
Reference in New Issue
Block a user