diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-04-17 00:04:10 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-04-17 00:25:38 -0700 |
commit | 04b17140f5801dc924927a418f43cfe765afc778 (patch) | |
tree | 81efae0cf311f6c624357f94edb7d778b838e4fc /sys-fs/lvm2/lvm2-2.02.184-r2.ebuild | |
parent | sys-fs/lvm2: don't get stuck with root-on-LVM (diff) | |
download | gentoo-04b17140f5801dc924927a418f43cfe765afc778.tar.gz gentoo-04b17140f5801dc924927a418f43cfe765afc778.tar.bz2 gentoo-04b17140f5801dc924927a418f43cfe765afc778.zip |
sys-fs/lvm2: improve dmeventd init
Upstream dmeventd has an exit-on-idle behavior that leads openrc to
decide that it has crashed, when it just exited "normally".
Provide multiple ways around this:
- supervisor support in the init script
- patch the daemon to make the idle timeout configurable (submitted upstream)
Co-authored-by: William Hubbs <williamh@gentoo.org>
Fixes: https://bugs.gentoo.org/682556
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-fs/lvm2/lvm2-2.02.184-r2.ebuild')
-rw-r--r-- | sys-fs/lvm2/lvm2-2.02.184-r2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-fs/lvm2/lvm2-2.02.184-r2.ebuild b/sys-fs/lvm2/lvm2-2.02.184-r2.ebuild index 64a1656d31b9..8ff1308f5846 100644 --- a/sys-fs/lvm2/lvm2-2.02.184-r2.ebuild +++ b/sys-fs/lvm2/lvm2-2.02.184-r2.ebuild @@ -65,6 +65,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.02.171-static-libm.patch #617756 "${FILESDIR}"/${PN}-2.02.166-HPPA-no-O_DIRECT.patch #657446 #"${FILESDIR}"/${PN}-2.02.145-mkdev.patch #580062 # Merged upstream + "${FILESDIR}"/${PN}-2.02.184-dmeventd-no-idle-exit.patch ) pkg_setup() { @@ -213,7 +214,7 @@ src_install() { newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper if use !device-mapper-only ; then - newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd + newinitd "${FILESDIR}"/dmeventd.initd-2.02.184-r2 dmeventd newinitd "${FILESDIR}"/lvm.rc-2.02.183 lvm newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm |