[Bug 298067] sysutils/swtpm
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298067] sysutils/swtpm: swtpm fail to restart more often than not"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298067] sysutils/swtpm: swtpm fail to restart more often than not"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298067] sysutils/swtpm: swtpm fail to restart more often than not"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298067] sysutils/swtpm: swtpm fail to restart more often than not"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298067] sysutils/swtpm: swtpm fail to restart more often than not"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Aug 2026 02:40:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298067
Bug ID: 298067
Summary: sysutils/swtpm
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: quentin.thebault@defenso.fr
A race condition in the rc.d script makes swtpm fail to restart more often than
not.
In `stop_instance()`:
```
kill $pid
rm -f ${pidpath}/${config}.pid
echo "done"
```
This should wait for the PIDs to exit before reporting "done" and exiting.
Otherwise the sockets are still opened and the new instances fail to start.
--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail
--
You are receiving this mail because:
You are the assignee for the bug.