From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F5CD138359 for ; Sun, 4 Oct 2020 20:15:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCBB0E0845; Sun, 4 Oct 2020 20:15:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6F21E0845 for ; Sun, 4 Oct 2020 20:15:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4590335D78 for ; Sun, 4 Oct 2020 20:15:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CFCF373 for ; Sun, 4 Oct 2020 20:15:54 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1601842505.89bc0ef126407bbc0e28f3f453d7882b97a71700.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/opal-utils/opal-utils-6.5.2.ebuild sys-apps/opal-utils/opal-utils-6.6.2.ebuild sys-apps/opal-utils/opal-utils-6.6.3.ebuild X-VCS-Directories: sys-apps/opal-utils/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 89bc0ef126407bbc0e28f3f453d7882b97a71700 X-VCS-Branch: master Date: Sun, 4 Oct 2020 20:15:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 827a919f-2af2-42a6-959c-105c28b44e19 X-Archives-Hash: fee53d3535e5109da9cdbf9278ca0676 commit: 89bc0ef126407bbc0e28f3f453d7882b97a71700 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Oct 4 20:14:05 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Oct 4 20:15:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89bc0ef1 sys-apps/opal-utils: add postinst message about /dev and opal-prd Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> sys-apps/opal-utils/opal-utils-6.5.2.ebuild | 11 +++++++++++ sys-apps/opal-utils/opal-utils-6.6.2.ebuild | 11 +++++++++++ sys-apps/opal-utils/opal-utils-6.6.3.ebuild | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/sys-apps/opal-utils/opal-utils-6.5.2.ebuild b/sys-apps/opal-utils/opal-utils-6.5.2.ebuild index 9479de387f7..805fc46be85 100644 --- a/sys-apps/opal-utils/opal-utils-6.5.2.ebuild +++ b/sys-apps/opal-utils/opal-utils-6.5.2.ebuild @@ -78,3 +78,14 @@ src_install() { fi einstalldocs } + +pkg_postinst() { + if systemd_is_booted || has_version sys-apps/systemd; then + echo + ewarn "With systemd opal-prd.service will fail to start" + ewarn "with 'mmap failed: Operation not permitted' error" + ewarn "if /dev filesystem is mounted with 'noexec' option" + ewarn "see https://github.com/open-power/skiboot/issues/258" + echo + fi +} diff --git a/sys-apps/opal-utils/opal-utils-6.6.2.ebuild b/sys-apps/opal-utils/opal-utils-6.6.2.ebuild index 22d57ef7a34..c683ec843d8 100644 --- a/sys-apps/opal-utils/opal-utils-6.6.2.ebuild +++ b/sys-apps/opal-utils/opal-utils-6.6.2.ebuild @@ -90,3 +90,14 @@ src_test() { emake V=1 -C external/pflash check emake V=1 -C external/ffspart check } + +pkg_postinst() { + if systemd_is_booted || has_version sys-apps/systemd; then + echo + ewarn "With systemd opal-prd.service will fail to start" + ewarn "with 'mmap failed: Operation not permitted' error" + ewarn "if /dev filesystem is mounted with 'noexec' option" + ewarn "see https://github.com/open-power/skiboot/issues/258" + echo + fi +} diff --git a/sys-apps/opal-utils/opal-utils-6.6.3.ebuild b/sys-apps/opal-utils/opal-utils-6.6.3.ebuild index 823783f6fa3..b7976592cb2 100644 --- a/sys-apps/opal-utils/opal-utils-6.6.3.ebuild +++ b/sys-apps/opal-utils/opal-utils-6.6.3.ebuild @@ -90,3 +90,14 @@ src_test() { emake V=1 -C external/pflash check emake V=1 -C external/ffspart check } + +pkg_postinst() { + if systemd_is_booted || has_version sys-apps/systemd; then + echo + ewarn "With systemd opal-prd.service will fail to start" + ewarn "with 'mmap failed: Operation not permitted' error" + ewarn "if /dev filesystem is mounted with 'noexec' option" + ewarn "see https://github.com/open-power/skiboot/issues/258" + echo + fi +}