From nobody Wed Jun 03 14:28:44 2026 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 4gVqnS4Yvfz6fxTm for ; Wed, 03 Jun 2026 14:28:44 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gVqnS0w5zz3YV9 for ; Wed, 03 Jun 2026 14:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780496924; 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=fsiWphtOZeFrQ56Dgwjv2V3lA0X29u8MCBlRQDNEsnI=; b=dvtRxwyoUUZlXfnge690s4ZBGFS53oY1Vbb/3s+766jUNFCTWsxYCR/6ivtWZlJhPjUW89 4ZkRauiJoCQLOM5lh+chgHx771lyFxUwRxNN/0HKBCF6oYx2ehnTpIh0QwVoNM5DPGTeFO 1k919uZ5tARRwVQWO/XmILP0rNQthb+ZIM2KMaDKh0ouLXHbBRB6pnUsVZI44kbUSXp/p7 JEiZL4u3b6qpU4aD8nJ2RAAfmuRb6F0bDU/ltx12UZ8vFzXPXXcvkH2OJGUfeLp9kMsAkW XJbuFwKannuyJ4nTFFwkw9CXyLgkSqaawhKaQHyR83gIs4LWfS5bpk63hwpQ4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780496924; a=rsa-sha256; cv=none; b=liXZuQ/jeaLghZYROZigensXMVlkDh/igAguzt6KyJet90MlxAHGSKCJcDxYVHMLaPIC2r jgrWaLuzkWiI6pOsrTvpGFPnb05Is5IUa4hkyNf5ty90ssnSkjFIiFfYZrOsFWma7FXF5p iSjfuH/BkPtT04HzJJNrwjgrkBQFeH1omNSux1hsk7IXbO9QUMXg9bHfnyn+/t9WpkvrJa FxSK0S5RL/aORIftvmpD5vo6eHY9pNfq2nnodomscJXLckat1W5BvEDUL3hij9qVPtpidY YemLEFwEe8SnLci91NyTi/rXbj39zDrD89cVh6j+9R9KbDChm3UZhnqvpVgdBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780496924; 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=fsiWphtOZeFrQ56Dgwjv2V3lA0X29u8MCBlRQDNEsnI=; b=xXt7RiVWj8uAJ6Hn3QM1OD+ZDqjsXGd50chlyk4Hr7lkHqaa2898CHkT13m3Bs6YSyDir4 YDUNx4ShoGMc/fQl9O7kNcrvzxEdn4gi6EGgqHipTJpUKt8Yvv3epBU1LamRRISxAvHLy+ ztfVqsuaf9DStegUV9azyi9tINhnZ/rP6rTcgrsaVNYg3GAI1tQ4ZxjLvMe03QzzGU23VN DvXAq5QMkeTOn3o6pBdDBAVwuFta4sgxqeb8ago8Q7HZvPoCnmHHR/h5n0cMx+M0aM1/Tj hy/dU3lGcmYOEv7ekS+CEfc0H6LSdcFpE3Du///WJTDBxTKeChpJrvEtd8Q/5g== 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 4gVqnS0Wk9ztm for ; Wed, 03 Jun 2026 14:28:44 +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 653EShoX062170 for ; Wed, 3 Jun 2026 14:28:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 653EShkk062169 for ports-bugs@FreeBSD.org; Wed, 3 Jun 2026 14:28:43 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 295819] www/adguardhome: update rc.d script, optimize permissions and add features. Date: Wed, 03 Jun 2026 14:28:44 +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 Many People X-Bugzilla-Who: jordan@ostreff.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@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 flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295819 Bug ID: 295819 Summary: www/adguardhome: update rc.d script, optimize permissions and add features. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jordan@ostreff.info Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 271446 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D271446&action= =3Dedit www/adguardhome improvements - Move robust rc.d script improvements to main port - Implement native privilege dropping (runs as root, drops to user) - Optimize disk I/O in prestart by avoiding recursive chown unless owner changes - Relocate logs to a dedicated directory /var/log/adguardhome/ - Dynamic newsyslog configuration handling Technical note on privileges: By default, the service user is switched back to root:wheel. This change is crucial for jail environments and standard installations alike, ensuring th= at AdGuardHome can out-of-the-box bind to privileged DNS ports (53, 853) witho= ut extra host-level configuration (such as mac_portacl or portacl-rc).=20 However, for production environments, it is STRONGLY recommended to drop privileges. Users are encouraged to utilize AdGuardHome's built-in (native) privilege dropping mechanism by setting the desired 'user' and 'group' insi= de the 'os:' section of AdGuardHome.yaml. Alternatively, for traditional setup= s, the rc.d mechanism can still be used by overriding 'adguardhome_user' and 'adguardhome_group' via rc.conf. --=20 You are receiving this mail because: You are the assignee for the bug.=