Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
lvm2.1626
lvm2-lvmetad.service-add-Also-lvm2-lvmetad.sock...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lvm2-lvmetad.service-add-Also-lvm2-lvmetad.socket.patch of Package lvm2.1626
From 4b846bba24f8458130fa951f9248a7540084f641 Mon Sep 17 00:00:00 2001 From: Liuhua Wang <lwang@suse.com> Date: Tue, 29 Dec 2015 15:15:27 +0800 Subject: [PATCH] lvm2-lvmetad.service add Also=lvm2-lvmetad.socket In order to avoid lvm2-lvmetad.service being activated when package updating due to `systemctl restart/try-restart .socket` results in corresponding service being activeted, we removed lvm2-lvmetad.socket from %preun and %postun(bsc#914415), which causes brokent lvm2-lvmetad .socket symbolic link left when package being uninstalled. Add 'Also=lvm2-lvmetad.socket' in '[Install]' section of lvm2-lvmetad. service to remove lvm2-lvmetad.socket when disable lvm2-lvmetad.service. References: bsc#960044 Signed-off-by: lwang@suse.com --- scripts/lvm2_lvmetad_systemd_red_hat.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in index 8f4c60d..1deca87 100644 --- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in +++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in @@ -15,4 +15,5 @@ Restart=on-abort PIDFile=@LVMETAD_PIDFILE@ [Install] +Also=lvm2-lvmetad.socket WantedBy=sysinit.target -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor