ログインしていないユーザーに対して rootless コンテナーを systemd サービスとして実行中にエラーが発生する: Failed to connect to bus: No such file or directory
Issue
-
コンテナーを systemd サービスとして実行するように設定するには、Podman RHEL 7 を使用してコンテナーを systemd サービスとして実行する および Podman RHEL 8 を使用してコンテナーを systemd に移植する を参照してください。
-
権限のない nologin ユーザーでコンテナーを systemd サービスとして実行しようとした場合、またはルートレス環境において nologin ユーザーでコンテナーを実行しようとした場合、ログインシェルがないため、以下のエラーが発生して失敗します。
Failed to connect to bus: No such file or directory
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.