commit:     dcc59f13b7722791d6e53211afa546312245be43
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 21:11:09 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 25 21:32:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc59f13

www-servers/apache: add ewarn message for user unlock

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 www-servers/apache/apache-2.4.48-r3.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www-servers/apache/apache-2.4.48-r3.ebuild 
b/www-servers/apache/apache-2.4.48-r3.ebuild
index 8012fad06ea..be666634be7 100644
--- a/www-servers/apache/apache-2.4.48-r3.ebuild
+++ b/www-servers/apache/apache-2.4.48-r3.ebuild
@@ -211,6 +211,14 @@ src_install() {
 }
 
 pkg_postinst() {
+       echo
+       ewarn "Downgrading to pre-GLEP 81 user for now."
+       ewarn "See bug #802495 and bug #803500 for more information."
+       ewarn ""
+       ewarn "You will need to run the following command to unlock the user:"
+       ewarn "usermod -e '' -U apache 2>/dev/null"
+       echo
+
        apache-2_pkg_postinst || die "apache-2_pkg_postinst failed"
 
        tmpfiles_process apache.conf #662544

Reply via email to