[Bug 1949060] Re: Please create swtpm user/group

Launchpad Bug Tracker 1949060 at bugs.launchpad.net
Thu Oct 28 23:37:18 UTC 2021


This bug was fixed in the package swtpm - 0.6.1-0ubuntu3

---------------
swtpm (0.6.1-0ubuntu3) jammy; urgency=medium

  * Don't use the tss user for swtpm, this overloads a user already used for
    physical tpm ACLs.  LP: #1949060.
  * Add missing adduser dependency to swtpm-tools.
  * Add missing debhelper token to swtpm-tools.postinst.

 -- Steve Langasek <steve.langasek at ubuntu.com>  Thu, 28 Oct 2021
05:47:30 -0700

** Changed in: swtpm (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Please create swtpm user/group

Status in swtpm package in Ubuntu:
  Fix Released

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