From nobody Wed Jan 14 15:49:14 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 4drrBy2xfQz6NZjY for ; Wed, 14 Jan 2026 15:49:14 +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" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4drrBy0gLMz3Blc for ; Wed, 14 Jan 2026 15:49:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768405754; 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=FTv+8SMaLP6Woc4NJwyER4Jq94U0ZhX+dYnrgVNn2ic=; b=t9vItoV7zpSCgigTfdqoMHOo5FrI9fiBn3tEsXErnozkQcqULbbmTZXR6E8RDaiG7crcLi enEwZoza0NMm4pdXJZk5yPQrb52uM6yLI4fpXtrkUuEy5OM9QC6/lSeqknb2CQbGSyFekZ DNqbLTlgj36nH3DZesLEKl2pAKRwgCisTDenFeB3Ydbd+6myI7zIxqurusn8p1kc6tI+pn npe27JF5m0C1044DAYTktWW/mIouncnZmNZWQR38gzi/xeo693kYF4WHvAE5J+r5Ffs1W9 RShwc1rZYfO7Do6VeqJcMynF7qHerM7fRstd4tyg8EDLTqWw2nBCExu97DACMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768405754; 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=FTv+8SMaLP6Woc4NJwyER4Jq94U0ZhX+dYnrgVNn2ic=; b=vfpt09JHOhMMPCBfXRD8ZZQZIF9Tpv/RYyGZlwuzHR2movek6degg08908bLTI6RT1jugY zLDSgTAVDSy9Oyw+HWyA8hTGF78ldfEZu1suf9wN+Er0O+vqU5uYgOt5P6TLWP7K/inbTq iuThDWz41L/zAa6AP3NuGiFXUqXvsGy2mU9vrkiAOm1x7Xq1CY6Z1Ph3SDon1zcjhK519I yOM3qm0UZ3NPUQge70tm05GLM+cMkX/FPNDgR1K7hqWfFxlkmpQABT3cgv0m81sXt/qUlQ 871GqO/5xUZ8oI5xL8LlZ1F4MBK73V4l4U64E7iyZVotC/Aq+xVR2WGNHkFodA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768405754; a=rsa-sha256; cv=none; b=FtUqDiePVmQxS99rbZAAIG2oN5TzQa9AUs53Uolnyod6FU76032YNejF2BWJfQJhEyA8CD OmIqJgJ4gYaHwm4tvO/gG1i8Wf7ObtqXlpphG0BkSWL9eobUpm8BOdKA5aj6iINJa+f2Qq JJEB2wREwPaP3zbZ5jMfJb8am4OQ3sOTcZ5QSC3CTIlOF7Oce0IcIl3+UUGuCTAEqoMXpB 4YXstkOLeUOsLdWT+z8gk2udXKikHK3iI8p9/UR5frjnlPPkGcLsClwpCc9kglMUdvsGKd u+DMcBo7vbYHkauR6+V6FVFBH9NKpxVmxYErgCSqGC+NU9hGDWtYkvXs7fY6gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4drrBy0H0Pz14GM for ; Wed, 14 Jan 2026 15:49:14 +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 60EFnDS0031216 for ; Wed, 14 Jan 2026 15:49:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60EFnDx4031215 for ports-bugs@FreeBSD.org; Wed, 14 Jan 2026 15:49:13 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 292458] [PATCH] Ensure the librenms-service runs out of the librenms base directory Date: Wed, 14 Jan 2026 15:49:14 +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: marcus@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292458 Bug ID: 292458 Summary: [PATCH] Ensure the librenms-service runs out of the librenms base directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: marcus@FreeBSD.org Created attachment 267142 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D267142&action= =3Dedit chdir to the librenms installation directory Hey, Dan. First, thanks for all your work on this port. It is greatly appreciated. Have a look at the discussion in https://github.com/librenms/librenms/issues/18794. Seems we need to make s= ure the librenms-service runs from the correct directory. By default, the CWD = is / and this results in: [2026-01-14T14:09:08][CRITICAL] Exception: Error Failed opening required 'includes/discovery/sensors/cisco-entity-sensor.inc.php' (include_path=3D'.:/usr/local/share/pear') @ /usr/local/www/librenms/includes/discovery/sensors.inc.php:14 Since 26.1.1. Attached is a patch that sets the CWD correctly. That said, there may be a more elegant way to do this. --=20 You are receiving this mail because: You are the assignee for the bug.=