RHEL 7.2 で systemd-219-19.el7 にアップグレードしたあと、/etc/init.d の SysVinit サービススクリプトへのシンボリックリンクを systemctl が読み込めない

Solution Verified - Updated -

Issue

  • RHEL 7.2 における systemd のリベースが、SysVinit と互換性がある何かを破損します。
    サービススクリプトが /etc/init.d/ にある場合は問題はありませんが、/etc/init.d/<SERVICE> がシンボリックリンクの場合は systemctl コマンドと service コマンドがすべて失敗し、以下のようなエラーが発生します。

    Unit <SERVICE>.service failed to load:No such file or directory.
    

Environment

  • Red Hat Enterprise Linux 7
    • systemd-219-19.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.