From: Tony Asleson <tasleson@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - lvmdbusd: Correct env. variable
Date: Fri, 30 Sep 2022 16:52:56 +0000 (GMT) [thread overview]
Message-ID: <20220930165256.3550E385802D@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=599cbd7dd37ba50b44579f64207cc1e47e004899
Commit: 599cbd7dd37ba50b44579f64207cc1e47e004899
Parent: b09de683c72b62167fbbd64491708ede652c32a1
Author: Tony Asleson <tasleson@redhat.com>
AuthorDate: Fri Sep 30 11:49:49 2022 -0500
Committer: Tony Asleson <tasleson@redhat.com>
CommitterDate: Fri Sep 30 11:51:23 2022 -0500
lvmdbusd: Correct env. variable
Make this match the unit test expectation and the form we use for
other env. variables.
---
daemons/lvmdbusd/main.py | 2 +-
test/dbus/validatestate.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py
index e4531526c..662d7569f 100644
--- a/daemons/lvmdbusd/main.py
+++ b/daemons/lvmdbusd/main.py
@@ -146,7 +146,7 @@ def running_under_systemd():
def main():
start = time.time()
- use_session = os.getenv('LVMDBUSD_USE_SESSION', False)
+ use_session = os.getenv('LVM_DBUSD_USE_SESSION', False)
# Ensure that we get consistent output for parsing stdout/stderr and that we
# are using the lvmdbusd profile.
diff --git a/test/dbus/validatestate.py b/test/dbus/validatestate.py
index ae999ad17..1af303f15 100755
--- a/test/dbus/validatestate.py
+++ b/test/dbus/validatestate.py
@@ -21,7 +21,7 @@ import os
if __name__ == "__main__":
- use_session = os.getenv('LVMDBUSD_USE_SESSION', False)
+ use_session = os.getenv('LVMD_BUSD_USE_SESSION', False)
if use_session:
bus = dbus.SessionBus(mainloop=DBusGMainLoop())
reply other threads:[~2022-09-30 16:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220930165256.3550E385802D@sourceware.org \
--to=tasleson@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.