Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

SELinux トランジションが hostname_t と initrc_tmp_t で異なる

Solution Verified - Updated -

Issue

バイナリでファイルコンテキストが定義されていないサービスを開始すると、initrc_t ドメインでプロセスが実行します。

  • このプロセスが、bash を使用してシェルスクリプトを実行すると、"hostname" コマンドが問題なく実行されます。

  • ただし、このプロセスが ksh スクリプトを実行すると、このシェルスクリプトで SELinux によって "hostname" コマンドがブロックされます。

Environment

  • Red Hat Enterprise Linux 6

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.