From nobody Mon Dec 30 01:37:56 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YLzJ60V2Sz5j8dm for ; Mon, 30 Dec 2024 01:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLzJ54SdFz4rgK for ; Mon, 30 Dec 2024 01:37:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735522677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZClJe5VoyFOjhyb8VnZg9kNFx9OhUXkyuI45GDd/CM4=; b=gVdzFE2PBo2ThpcurACkvqf/eLThwAydMAn1FMIj2PT9+E48R5pyqhGeu3Da8gflUcdORd VS8T+va4dfJmi2eLQJsAg7kqHXnELUbaWka61On1bS2oEob3SSByZ0fZX8O/rBLnUnbf/u 2ZZ2g9UFxS0DEsfeiZne/wDuq9N6pkBBRlNxsLJYP0BbaKzybFSNfDtArxP/c5oqOI/M4A pwe3RH9unUppzKqmdpEJBlxmCEH/+tPwB83uOiITk1Mdol8NAQnhqxsWj8mDpCbss9EtFx iVjnG79AyZLK0Unf10D3DW1gBuKVcMMwVrWuarv/ZOqEOjC1h4CqdUvzzpUt0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735522677; a=rsa-sha256; cv=none; b=FYeltCuo06KRcZZRUHxFRIUU8I7X8/sRDTfDWo0M8DJVuRsl4Qt0tuhtgYOubfkyqGBDa3 sg6RO2pWqJj03CJrzkBTQxuIQwZ4L4WCW04Xr1RUOeVophuHcEWX67UYK51Zu8nsXto4YC qPJu7zMRi3oawTrjXDJ3FPEGoDh/RUvuuWhQ9ZOe5Zx+QiruWK2vxmb18vwJphYn5TYcXV tWTSvgjITDuq6/TPAyrWzON0uqmLEmCn2+B4gu2to/l3DZs5rs3GVjCLd6StkmfNUDUFhk dta3N0bAj5kjS08+gPuw+JtNGppZKrrjMlKeIYnqm0F5UFxM/775tM6AHxmR/g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YLzJ540DkzZh7 for ; Mon, 30 Dec 2024 01:37:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BU1bv9o088420 for ; Mon, 30 Dec 2024 01:37:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BU1bv7H088419 for ports-bugs@FreeBSD.org; Mon, 30 Dec 2024 01:37:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283735] sysutils/swtpm: Start as daemon when using configs Date: Mon, 30 Dec 2024 01:37:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283735 Bug ID: 283735 Summary: sysutils/swtpm: Start as daemon when using configs 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: scf@FreeBSD.org CC: meka@tilda.center Flags: maintainer-feedback?(meka@tilda.center) CC: meka@tilda.center Created attachment 256285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256285&action= =3Dedit Fix swtpm rc script When using swtpm configs in /etc/rc.conf, the default options, which includ= es --daemon, are replaced with what is provided. This causes the swtpm rc scr= ipt to not return upon starting it. For example, having this in /etc/rc.conf and running service swtpm start wi= ll start swtpm, the service command will not return: swtpm_enable=3D"YES" swtpm_configs=3D"test" swtpm_test=3D"--tpm2 --tpmstate backend-uri=3Dfile:///var/db/swtpm/test.sta= te --server type=3Dunixio,path=3D/var/run/swtpm/test.socket --flags not-need-i= nit" Moving --daemon to start_instance() fixes it. --=20 You are receiving this mail because: You are the assignee for the bug.=