Translated message

A translation of this page exists in English.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content