From nobody Fri Sep 20 09:11:53 2024 X-Original-To: ports@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 4X968d5R4yz5XPgG for ; Fri, 20 Sep 2024 09:12:01 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X968c4NpVz4FQF; Fri, 20 Sep 2024 09:12:00 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202407 header.b=HV7805Dk; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.18.1/8.17.2) with ESMTPSA id 48K9BrYI098909 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 20 Sep 2024 11:11:53 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202407; t=1726823513; bh=2HLrtm7QaSrfOATNhRbbm6X5QOLcRphpMmkr6uP9duI=; h=Date:To:Cc:From:Subject; b=HV7805DkbBjTw4g+tkXUH6vN1AVIZUSQpDOX1dE0LesSzoDR8QYzZrLViFSNHEq5m p+7QL+EhHwqyvqIdf89UtDWmpLtKqQiMtBN41bj10K6vv1buFscRlfjW7fSGuBorAe cVa7Z8R1xhtYMXWTEr6fd4KccepSI/xrRJtUyNl0= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: <68c5efba-addb-4d25-9650-498b52e39b1b@netfence.it> Date: Fri, 20 Sep 2024 11:11:53 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: zi@FreeBSD.org Content-Language: en-US Cc: ports@FreeBSD.org From: Andrea Venturoli Subject: rbldnsd does not start in a jail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202407]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[ports@FreeBSD.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[netfence.it:+] X-Rspamd-Queue-Id: 4X968c4NpVz4FQF X-Spamd-Bar: --- Hello. I'm running rbldnsd in a jail since a long time. Lately it fails to start: > service rbldnsd start > Starting rbldnsd. > rbldnsd: listening on 127.0.2.1/10053 > rbldnsd: unable to chroot to /usr/local/etc/rbldnsd: Operation not permitted > /usr/local/etc/rc.d/rbldnsd: WARNING: failed to start rbldnsd I had to change "-r" to "-w" in rc.conf's rbldnsd_flags in order to disable chrooting. I'm not sure if this started since I upgraded from 14.0 to 14.1; looks like rbldnsd itself didn't change recently... Any comment? Was chroot in a jail disabled recently? Is some additional setting needed for 14.1? I didn't find anything in the release notes. Perhaps it does not make much sense to chroot in a jail? Is this a bug worth reporting? bye & Thanks av.