From nobody Mon Nov 20 03:25:53 2023 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 4SYXw20LmJz51nSC for ; Mon, 20 Nov 2023 03:25:54 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYXw16FBtz4PSg for ; Mon, 20 Nov 2023 03:25:53 +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=1700450753; 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=RFy7rVNM47tolntx0a/2Gc+25jfSbnMXd1wF9UOZkic=; b=dC0N87miKVRqq4jLSsUzBJ5HGs42bJ/2rZ0/zA/jt/nNw49//oOIQT4yiuqt/StFEu/Jo7 EJ8Lb9hEUT/x/DMqQEZUonxFXFZXfNRE3LA9y/ywfBtqLQNc8ou8HKFequKyy9IK0oXHtK d5bMSaJMJf+0jFhQTu5I2odHQ+bUWdTsWccMg6jfbSrnMySvYDb3Y7JjqaQfGXVJNurGfE 6RlLtXlD3sdNFEdIj+ygjL1dqo5KTKOgtynF0CYATUkxPgkC92VhEhG4y3AgBjbRNQt89F OM8ARZDSutLh5GPsqDRYw/T4FO2J8CDyVHC0nA+ekioAvrRdDFED4K6cnxpxHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700450753; a=rsa-sha256; cv=none; b=q74uFEVtVjBThs3jARBT7xPksUKSwVQlBmJr7iAmhE9KaBvnNv8sG0i0MLCmDHso7LvzXG O+MrZ5ae6OCH4gcZA7OyEivb4H1qIWsnv4mlvDZXpdcCl7aHTnINwISBUp4hqRr+M6/UJB lomSdv4sAuHz7FqnKSssbFKqAt9q1Z/l1kTUOxVTmuF4ePOXKshW4/Af18NRNvQMNwQTDK Yz/G68dbVC5ua4A9ld2SbZqrklDFNiGzrleyfgR25fvOfeq4KuIe/i2sEIFK6qTEni8JKd QSHnxQ0xeK0FQnGhS/P/GX6MbfrZdAWzQvc7ewOkGaagvP8B8WeCMmQrIC6GIw== 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 4SYXw15D5vzbQD for ; Mon, 20 Nov 2023 03:25:53 +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 3AK3PrfV016644 for ; Mon, 20 Nov 2023 03:25:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AK3Pr2k016643 for ports-bugs@FreeBSD.org; Mon, 20 Nov 2023 03:25:53 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 275205] dns/coredns: change working directory to load extra config files Date: Mon, 20 Nov 2023 03:25:53 +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 Some People X-Bugzilla-Who: jinking.this@gmail.com 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-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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275205 Bug ID: 275205 Summary: dns/coredns: change working directory to load extra config files Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jinking.this@gmail.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 246435 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246435&action= =3Dedit change working directory in precmd dns/coredns: fix hosts file can not be load from Corefile Change working directory to config directory before running service. The cwd of coredns daemon was /, need to be changed to config directory whe= re Corefile stays. eg. >example.com { > hosts example.hosts { > reload 300s > fallthrough > } >} example.hosts file now can be placed in config directory("/usr/local/etc/coredns", by default). --=20 You are receiving this mail because: You are the assignee for the bug.=