From nobody Mon Dec 11 14:19:14 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 4SpkQB4jx1z53f82 for ; Mon, 11 Dec 2023 14:19: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SpkQB3YzXz3bFv for ; Mon, 11 Dec 2023 14:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702304354; a=rsa-sha256; cv=none; b=oYzNzgNSOk/VxR7qP/3ZiMz6Imt5Y8y7/YyoqNZ3QG1aZtoVG9mA7Grmx4VzJkf9gTY+O4 fkoSfCAwCdTAaHXPCyeqB8LK6gns2A3a3L4ZHZfdOTRtoLacBsGiioFcXO4cGff8udGY1I GezXFHPbT+xd4TuWZpBbVUdY6gjupFKndLDCitF3YUOOXL2xghGbyEMA4M7RNNGukunErz 16xD1YYG1Ih1vaOT2NWlk6wGOHWqMM/2RUjGrfcmjWRmzTPVwP+kB1Zu8tI2r+D9HnHryM BBt3USAdPDCiIU3ebHZV6foW1WlbP97zItNLImXbr3oq2+KbZFM9kz2ScNqikg== 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=1702304354; 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=lBognUx8jW7eibYu6/NlA+57IPVWHaoDrAM/bQ+wbpo=; b=hiM7GVZK8XIpJAYcxHJNpvtrTJthQ9B/u0x5RF2nFPjiQX6EHkQQkDxkccT0Mgvz03ZfOt BaejCTE1NoPZ3n3uR3wkSElfiHwTv8enymgDCggSVWy7az3w7e5q90PTNb8HvpoimrCjhf 6cuxOSdUwkks/UHQTp9SzawHuLSuDC1WHfrmVOJgpbCewhKj6XXOaIxOAJ7SZ3P6gASZtV CjXdzH/cMUnqpQo35lrFvoVwoyKk7QXbx8LId5sHcLCpP99a2AZdnb26OE240G+8aN29bu e48wuDp2cWxiOdiTuUyMFClaUBB/kuWeMy5jMtU1sqJ8fdbG95j2OxRrMaRVbw== 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 4SpkQB2K9rzZhW for ; Mon, 11 Dec 2023 14:19: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 3BBEJEQS007868 for ; Mon, 11 Dec 2023 14:19:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BBEJEEe007867 for ports-bugs@FreeBSD.org; Mon, 11 Dec 2023 14:19:14 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 275698] net-mgmt/icinga2: Wrong file permissions Date: Mon, 11 Dec 2023 14:19: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: easy X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gyptazy@gyptazy.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name 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=3D275698 Bug ID: 275698 Summary: net-mgmt/icinga2: Wrong file permissions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: easy Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: gyptazy@gyptazy.ch Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Running the command `icinga2 node wizard` from the port/pkg 'icinga2' resul= ts in the following error message: critical/Application: Error: boost::filesystem::copy_file: Permission denie= d: "/usr/local/etc/icinga2/features-available/api.conf", "/usr/local/etc/icinga2/features-available/api.conf.orig" This is caused by wrong permissions in '/usr/local/etc/icinga2/' where the files should be owned by icinga:icinga (take care about the missing version here). You can be fixed this by running the following command: $> chown -R icinga:icinga /usr/local/etc/icinga2/* Afterwards, simply rerun the `icinga2 node wizard` command or just do it be= fore running this. This is only affected when the icinga user wants to (re)write/update the configuration files like it's done by the 'node wizard' command. Cheers, gyptazy --=20 You are receiving this mail because: You are the assignee for the bug.=