From nobody Tue Sep 3 13:50:53 2024 X-Original-To: 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 4Wyn8G1c41z5PYtj for ; Tue, 03 Sep 2024 13:50: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyn8G09Hbz4nCZ for ; Tue, 3 Sep 2024 13:50:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725371454; a=rsa-sha256; cv=none; b=n+i6BnVdySW+WJpgAntx6MKz+yP+CQG8nv6fKIL/O6XaCRAtvUJOmx01dLJeMnHto9PM5n 5IrRp3qcdnBfp0z3tXM1dxI/T/dguVaO1atW8DvgDhLAlo9E9uc2tvU06NDGrVqZqjD2+L KrMw7Qp2A1LYiXmWf3qTRIzktndm5zSKWeyiW23t1HJEVaO8ZjcjjPFO9LnztnGhyQPO4Y FlY6GBFcCWBPqEiyAbeHVzsx9fn0ConeT+AKAFr5tO4jwpLv4djBUvCI0KikcWvCgZvo/6 WMDSHFCD7GwKRppzB0HNtsC63tqkrgg7c5S9wYpWaf9c7++fi+nGawfX4fI6Aw== 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=1725371454; 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=ndyulJB6RWXE+65dx3ckQaUAXCXn3j/1fkBLkTdP+pA=; b=kYND9FRunMXESfiLoYBCDFDC6Oup+hAOWbb4IlUqBeIQTeowy4urSlDCDiUAykyDrYdTki O1xff15cA9/Y+xkgp4Ei6OF9BBqf/ALrYYRIluDmiOKBpzNwqgWe+ctjdxZztJj9SE+UXX IiJjTs1FJWIY4oDC3VDKOozGbf8nJXOp1wwuAUd+xLtsgqcsZRBCle1NfpspwQ+r8MspTv IzdnCcAcT7VSYLQZg1Nbo8twppYUWchXcH5ZlBdHtpl6+Zi+fWlb3YnaPt+3Yv8teprQTO uHgvzmWG+wT4HPhNLejyQzRVKDG8TcMdnLxfaSoMVIc22JhsOXHfr+EVftfuTA== 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 4Wyn8F6vLtzj5M for ; Tue, 3 Sep 2024 13:50: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 483DorWN000681 for ; Tue, 3 Sep 2024 13:50:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483DoruR000679 for bugs@FreeBSD.org; Tue, 3 Sep 2024 13:50: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: bugs@FreeBSD.org Subject: [Bug 281242] .include directive in ctl.conf doesn't workfile as supposed to per UCL file standard Date: Tue, 03 Sep 2024 13:50:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gnoma_86@gbg.bg X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281242 Bug ID: 281242 Summary: .include directive in ctl.conf doesn't workfile as supposed to per UCL file standard Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: gnoma_86@gbg.bg At the bottom of my /etc/ctl.conf got the following directive:=20 .include /etc/ctl.d/proxmoxtest.conf It's a valid configuration file, if I place it's content inside /etc/ctl.co= nf it works perfectly fine.=20 Expected result:=20 ctld starts OK=20 Actual result:=20 root@mysystem:/usr/src/lib/libucl # /etc/rc.d/ctld start Starting ctld. ctld: error in configuration file at line 28 near '.include': syntax error ctld: configuration error; exiting /etc/rc.d/ctld: WARNING: failed to start ctld root@mysystem:/usr/src/lib/libucl #=20 The behavior doesn't change if the included file is there or not, if includ= ed the file syntax is correct or not. This is the last part of "truss ctld -t" open("/etc/ctl.conf",O_RDONLY,0666) =3D 5 (0x5) ioctl(5,TIOCGETA,0xf380fced854) ERR#25 'Inappropriate ioctl for device' ioctl(5,TIOCGETA,0xf380fced854) ERR#25 'Inappropriate ioctl for device' fstat(5,{ mode=3D-rw-r----- ,inode=3D571054,size=3D464,blksize=3D4096 }) = =3D 0 (0x0) read(5,"portal-group pg0 {\n\tdiscovery-"...,4096) =3D 464 (0x1d0) read(5,0x33b37cc09000,4096) =3D 0 (0x0) ctld: error in configuration file at line 28 near '.include': syntax error write(2,"ctld: error in configuration fil"...,75) =3D 75 (0x4b) open("/etc/localtime",O_RDONLY,01717) =3D 6 (0x6) read(6,"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0"...,54968) =3D 2077 (0x81d) close(6) =3D 0 (0x0) __sysctl("kern.hostname",2,0xf380fced530,0xf380fce9418,0x0,0) =3D 0 (0x0) getpid() =3D 11333 (0x2c45) sendto(3,"<28>1 2024-09-03T16:48:47.586183"...,146,0,NULL,0) =3D 146 (0x92) close(5) =3D 0 (0x0) ctld: configuration error; exiting write(2,"ctld: configuration error; exiti"...,35) =3D 35 (0x23) __sysctl("kern.hostname",2,0xf380fced700,0xf380fce95e8,0x0,0) =3D 0 (0x0) getpid() =3D 11333 (0x2c45) sendto(3,"<26>1 2024-09-03T16:48:47.586764"...,106,0,NULL,0) =3D 106 (0x6a) exit(0x1)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 process exit, rval =3D 1 --=20 You are receiving this mail because: You are the assignee for the bug.=