From: Mimi Zohar <zohar@linux.ibm.com>
To: linux-integrity@vger.kernel.org
Cc: Petr Vorel <pvorel@suse.cz>, Vitaly Chikunov <vt@altlinux.org>,
Bruno Meneguele <bmeneg@redhat.com>
Subject: Re: [ima-evm-utils][PATCH] Install the swtpm package, if available
Date: Sun, 16 Aug 2020 16:32:12 -0400 [thread overview]
Message-ID: <d631253ca491bcdfe48ebd68a5acf7f26d75fb22.camel@linux.ibm.com> (raw)
In-Reply-To: <20200816193627.73935-1-zohar@linux.ibm.com>
On Sun, 2020-08-16 at 15:36 -0400, Mimi Zohar wrote:
> # Only stop this test's software TPM. Preferred method: "tsstpmcmd -stop"
> @@ -48,22 +52,36 @@ cleanup() {
>
> # Try to start a software TPM if needed.
> swtpm_start() {
> - local swtpm
> + local swtpm swtpm1
>
> swtpm="$(which tpm_server)"
> - if [ -z "${swtpm}" ]; then
> - echo "${CYAN}SKIP: Softare TPM (tpm_server) not found${NORM}"
> + swtpm1="$(which swtpm)"
> + if [ -z "${swtpm}" ] && [ -z "${swptm1}" ]; then
Need to fix "swptm1" typo.
Mimi
> + echo "${CYAN}SKIP: Softare TPM (tpm_server and swtpm) not found${NORM}"
> return "$SKIP"
> fi
next prev parent reply other threads:[~2020-08-16 20:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 19:36 [ima-evm-utils][PATCH] Install the swtpm package, if available Mimi Zohar
2020-08-16 20:32 ` Mimi Zohar [this message]
2020-08-17 9:11 ` Petr Vorel
2020-08-17 14:31 ` Bruno Meneguele
2020-08-17 18:11 ` Stefan Berger
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=d631253ca491bcdfe48ebd68a5acf7f26d75fb22.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=bmeneg@redhat.com \
--cc=linux-integrity@vger.kernel.org \
--cc=pvorel@suse.cz \
--cc=vt@altlinux.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox