From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 979271F427DA for ; Wed, 7 Aug 2024 16:04:17 -0400 (EDT) (envelope-from prvs=1949c043ef=illumos@fiddaman.net) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 91E7BF37E0F; Wed, 7 Aug 2024 16:04:17 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1723061057; b=aAculOZvpMFgvNCBv3NVYjZgEw7yrn9D1fSSrN0GjLJ1XGAV23 sqcL3A6Pp4apGu02Sw1GG3UaQ7lOcUo+CZ9jctTZ6a9wm4ybVyZfuk/N/xsyKiBb Xq0rAQpLOlWFSzrg0218qmVx6LmMOWyXfqs9STx60b+nziHQtJ4ZmNEn/QXl1kPi mbz7Uwz1iqvvuqwc3TxYn+maSnbtTjLRAYJ7MqFw1gKPC+6kWHVDD02VOaxZtKSI x/jyzljPs1YzscvgOWhKbJ3sRyTmohtqOzX5iec41E95VHEbsOUu9iLw6JNnXYW1 l53xZsBdgLN68+xIE41UFomKlpL2WiPZLF6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1723061057; bh=GaekYf8j46GBJoh9380to5p5FAxtcV6A70kl4KeFWeU=; b=vsYRyKkeujVY a0/9mFFSEvif/2yms50anfZSiyJmQ7CXgQfXYCSY2bWCXngo6ZHRQehUOCUPBCyM CYu8NBQLffx7PiOEkpVJD+0jXwl8iw46i+lZpOvhaIKbETH3YTJAIJ9ZpCzK6KO2 JV4jK1Npdm+JFNUMDU7BvW6HFEUWYQtBXfsHLNp+HV3+8THTvAB/8Z9mD+rMWLuf TpGMGFnEmoONExGeaGKgZm81SNBmbyPtTlY1spOzn2qh5PE8rebcUUenthfdVL6k mLcdcYGhWtsOkdU31jFsZoaejpH9Jqa9Miv6odcVoXuXBzFMclNsUwO3OuZHlbbx az4NTtN5IA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=fiddaman.net header.i=@fiddaman.net header.b=dRbVkkbp header.a=rsa-sha256 header.s=boomer x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fiddaman.net; iprev=pass smtp.remote-ip=89.248.55.103 (mail.citrus-it.net); spf=pass smtp.mailfrom="prvs=1949c043ef=illumos@fiddaman.net" smtp.helo=mail.citrus-it.net; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mail.citrus-it.net policy.ptr=mail.citrus-it.net; x-return-mx=pass header.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-return-mx=pass smtp.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=fiddaman.net header.i=@fiddaman.net header.b=dRbVkkbp header.a=rsa-sha256 header.s=boomer x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fiddaman.net; iprev=pass smtp.remote-ip=89.248.55.103 (mail.citrus-it.net); spf=pass smtp.mailfrom="prvs=1949c043ef=illumos@fiddaman.net" smtp.helo=mail.citrus-it.net; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mail.citrus-it.net policy.ptr=mail.citrus-it.net; x-return-mx=pass header.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-return-mx=pass smtp.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrledtgddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffujgfkfhggtgesthdtredttddtvdenucfh rhhomheptehnugihucfhihguuggrmhgrnhcuoehilhhluhhmohhssehfihguuggrmhgrnh drnhgvtheqnecuggftrfgrthhtvghrnhephedvhefhvdeuveethefftdehkeeifeehudef leefveekuedvgedtfeeuhfeugefhnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgne cukfhppeekledrvdegkedrheehrddutdefpdekledrvdegkedrheehrdejleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrvdegkedrheehrddutd efpdhhvghlohepmhgrihhlrdgtihhtrhhushdqihhtrdhnvghtpdhmrghilhhfrhhomhep oehprhhvshepudelgeeltgdtgeefvghfpehilhhluhhmohhssehfihguuggrmhgrnhdrnh gvtheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoeguvghvvghlohhpvghrsehl ihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (fiddaman.net: 89.248.55.103 is authorized to use 'prvs=1949c043ef=illumos@fiddaman.net' in 'mfrom' identity (mechanism 'ip4:89.248.55.64/26' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="prvs=1949c043ef=illumos@fiddaman.net"; helo=mail.citrus-it.net; client-ip=89.248.55.103 Received: from mail.citrus-it.net (mail.citrus-it.net [89.248.55.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Wed, 7 Aug 2024 16:04:15 -0400 (EDT) (envelope-from prvs=1949c043ef=illumos@fiddaman.net) Authentication-Results: citrusmail; dkim=pass header.i=@fiddaman.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiddaman.net; s=boomer; t=1723061053; bh=GaekYf8j46GBJoh9380to5p5FAxtcV6A70kl4KeFWeU=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=dRbVkkbpzl7wSeN93ggvkyMA8kkd2uMLpZdkWSqQ8PS2ylZPr+9J2GBtijUkI3Rxq EOQB/1Hvw5ugRAVuybmy+D7jpA4JUxIt2W4O5wxN2A3gogsEFvtNhc5lcfDntPvUEW mMCNNuQJAntaPqkwk+hAD2vwoJNMsp2inNsKYJeQ= Received: from reaper.citrus-it.net (reaper.citrus-it.net [89.248.55.79]) by mail.citrus-it.net with ESMTP id 477K4DLH028326 for ; Wed, 7 Aug 2024 20:04:13 GMT Date: Wed, 7 Aug 2024 20:04:12 +0000 (UTC) From: Andy Fiddaman To: illumos-developer Subject: Re: [developer] Review - 15665 svc:/network/loopback exits successfully even if it fails In-Reply-To: Message-ID: References: <20240726082032.GA10040@reaper.citrus-it.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Citrus-Version: 6.0.3ba253c X-Citrus-ID: 5477K4DLH028326 X-Citrus-Virus-Scanned: Clean X-Citrus-Spam: Whitelisted X-Citrus-Trust: Trusted Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 3d5479a2-54f8-11ef-8d4b-e2af90410187 On Fri, 26 Jul 2024, Peter Tribble wrote: > As I mentioned in my other reply, it seems that what we're after is some > way to mark > a service as having generated an error without bringing the system down by > going > into maintenance. Some sort of degraded mode. > > We have a couple of SMF exit codes that look interesting - > SMF_EXIT_MON_DEGRADE > and SMF_EXIT_MON_OFFLINE, but I'm sure they were never implemented. There's > even an issue in this area - https://www.illumos.org/issues/7711 (which > refers back to 8891 > which is another case of something dropping into maintenance breaking the > entire system). I have put up https://code.illumos.org/c/illumos-gate/+/3621 which is resurrecting work by Andy Stormont to add the missing pieces to support degraded services, and then re-worked https://code.illumos.org/c/illumos-gate/+/3610/ on top of that. This does seem like the best solution - the service does what it can and doesn't block others from coming up, yet it shows up as degraded in `svcs -x` and co. My testing's going well so I'll get that sent out for review in the next couple of days. Thanks for all the discussion and feedback on this change! Andy