commit:     00b7def5a8a7581858059ef4710d26542f3eee47
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 22:34:28 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 22:35:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b7def5

sys-libs/glibc: drop telinit call from pkg_*(), bug #642784

Rely on sysvinit re-execution on shutdown (bug #642858)
instead of relying on glibc's pkg_*() phases.

Reported-by: Mike Gilbert
Bug: https://bugs.gentoo.org/642784
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/glibc/glibc-2.30.ebuild | 4 ----
 sys-libs/glibc/glibc-9999.ebuild | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.30.ebuild b/sys-libs/glibc/glibc-2.30.ebuild
index eafa9c84edb..743f14c253d 100644
--- a/sys-libs/glibc/glibc-2.30.ebuild
+++ b/sys-libs/glibc/glibc-2.30.ebuild
@@ -1462,10 +1462,6 @@ pkg_postinst() {
        fi
 
        if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then
-               # Reload init ... if in a chroot or a diff init package, ignore
-               # errors from this step #253697
-               /sbin/telinit U 2>/dev/null
-
                use compile-locales || run_locale_gen "${EROOT}"
        fi
 

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index e1955052ee3..1075f02be79 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1449,10 +1449,6 @@ pkg_postinst() {
        fi
 
        if ! is_crosscompile && [[ -z ${ROOT} ]] ; then
-               # Reload init ... if in a chroot or a diff init package, ignore
-               # errors from this step #253697
-               /sbin/telinit U 2>/dev/null
-
                use compile-locales || run_locale_gen "${EROOT}/"
        fi
 

Reply via email to