[Bug 1949060] Re: establish user swtpm, by the base package
Christian Ehrhardt
1949060 at bugs.launchpad.net
Thu Oct 28 12:32:03 UTC 2021
Very interesting, thanks Steve.
I was going by grep through code, but what I thought to be internal names are in fact an abstraction to tools names.
I want to change my assertion to:
"It will need swtpm, swtpm_setup and swtpm_ioctl, and thereby both packages pkg:swtpm and pkg:swtpm-tools.
We will need to adapt the MIR to reflect that, i'll do that and re-
review the src:swtpm part.
I now agree that it can stay with swtpm-helper, but for this bug it still remains to:
1. let the swtpm user/group creation happen
2. fix the adduser dependency
3. fix the debhelper token
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to swtpm in Ubuntu.
https://bugs.launchpad.net/bugs/1949060
Title:
establish user swtpm, by the base package
Status in swtpm package in Ubuntu:
Incomplete
Bug description:
As outlined in bug 1948880 the intention is to utilize the user
"swtpm" instead of "tss" to avoid too much permissions of "tss" which
is in use in other places.
But I realized that dependencies using swtpm would mostly be to package "swtpm" and not "swtpm-tools".
Therefore I'd ask to have package swtpm to establish that user instead of swtpm-tools.
Furthermore (I'll flag that in the MIR bug 1948748) the postinst uses adduser without a dependency which is Build-Essential but not Essential and therefore needs a dependency.
Lintian:
W: swtpm-tools: maintainer-script-needs-depends-on-adduser adduser [control/postinst:18] (does not satisfy adduser)
And while this will touch postinst, also as heads up:
W: swtpm source: maintainer-script-lacks-debhelper-token debian/swtpm-tools.postinst
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swtpm/+bug/1949060/+subscriptions
More information about the foundations-bugs
mailing list