[Bug 291477] net/cloudflared: Packaged configuration files are broken; fixed versions attached

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Dec 2025 02:25:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291477

            Bug ID: 291477
           Summary: net/cloudflared: Packaged configuration files are
                    broken; fixed versions attached
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: egypcio@FreeBSD.org
          Reporter: cferrarini@gmail.com
          Assignee: egypcio@FreeBSD.org
             Flags: maintainer-feedback?(egypcio@FreeBSD.org)

Created attachment 265973
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265973&action=edit
3 fixed configuration files

Environment:
FreeBSD 14.3-RELEASE
cloudflared version 2025.8.0 (installed via pkg)

I found issues with the net/cloudflared package configuration. Below are the
problems and the corrected files.

1. rc.d script

The rc.d script installed by the package prevents the Cloudflare Tunnel from
connecting.
The attached file contains the corrected version, currently working properly.

Path: /usr/local/etc/rc.d/cloudflared

2. newsyslog configuration

The log rotation for cloudflared was not working because the daemon wrote log
lines in a format that did not match the expected column layout.
I added a working entry in a newsyslog configuration file. Attached.

Path: /etc/newsyslog.conf.d/cloudflared.conf

3. config.yml

I am also attaching my working config.yml.
It was likely created automatically when the tunnel ID was established.
I don’t know if it needs changes, but I’m including it in case it helps.

Path: /usr/local/etc/cloudflared/config.yml

-- 
You are receiving this mail because:
You are the assignee for the bug.