[lvm-devel] master - lvmdbusd: Bug fix for activate/deactivate
Tony Asleson
tasleson at sourceware.org
Wed Oct 30 15:45:43 UTC 2019
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f56b21ae2c7667d69c050653d527f9071ef83ad5
Commit: f56b21ae2c7667d69c050653d527f9071ef83ad5
Parent: 9e15c83673436342a60b8f982e521eb32d972a0c
Author: Tony Asleson <tasleson at redhat.com>
AuthorDate: Thu Oct 10 16:49:09 2019 -0500
Committer: Tony Asleson <tasleson at redhat.com>
CommitterDate: Wed Oct 30 10:38:40 2019 -0500
lvmdbusd: Bug fix for activate/deactivate
Prevent the daemon from stalling when it gets stuck on a y/n prompt.
---
daemons/lvmdbusd/cmdhandler.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py
index 67d4321..e0bb105 100644
--- a/daemons/lvmdbusd/cmdhandler.py
+++ b/daemons/lvmdbusd/cmdhandler.py
@@ -738,6 +738,7 @@ def activate_deactivate(op, name, activate, control_flags, options):
op += 'n'
cmd.append(op)
+ cmd.append("-y")
cmd.append(name)
return call(cmd)
More information about the lvm-devel
mailing list