[Bug 1989598] [NEW] swtpm-create-user-config-files script contains unevaluated @DATAROOTDIR@ variable
Launchpad Bug Tracker
1989598 at bugs.launchpad.net
Thu Sep 15 19:41:35 UTC 2022
You have been subscribed to a public bug by Nick Rosbrook (enr0n):
Hi,
*Description*:
the swtpm setup tool located at `/usr/share/swtpm/swtpm-create-user-config-files` contains the unevaluated String `@DATAROOT@` at line 68. This causes the user's swtpm config to be corrupted and swtpm fails to initialize properly in a libvirt user session.
According to the author of the swtpm tool this error is probably
introduced in the build/packaging process (see linked github issue).
https://github.com/stefanberger/swtpm/issues/749#issuecomment-1246901959
Here is the actual content of the file:
```
grep -n DATAROOT /usr/share/swtpm/swtpm-create-user-config-files
68:create_certs_tool = @DATAROOTDIR@/swtpm/swtpm-localca
```
I would expect the line to be:
```
create_certs_tool = /usr/share/swtpm/swtpm-localca
```
*Version Info*:
OS: Ubuntu 22.04.1 LTS
swtpm: 0.6.3-0ubuntu3
Could you please fix the build/packaging process?
Thanks and Best Regards,
Josef
** Affects: swtpm (Ubuntu)
Importance: Low
Status: Triaged
** Tags: bitesize
--
swtpm-create-user-config-files script contains unevaluated @DATAROOTDIR@ variable
https://bugs.launchpad.net/bugs/1989598
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.
More information about the foundations-bugs
mailing list