DataBackend has an undocumented dependency on the script binary in util-linux
- 主要言語
- Go
- スター
- 1.2k
- フォーク
- 357
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I've configured my execute command logging to cloudwatch only:
```
execute_command_configuration = {
logging = "OVERRIDE"
log_configuration = {
cloud_watch_log_group_name = "/aws/ecs/something"
cloud_watch_encryption_enabled = false
}
}
```
However, when my ubi8 container did not have the script binary installed (in package util-linux), I received this error:
```
2026-01-14 10:51:41 ERROR [ssm-session-worker] [ecs-execute-command-egv8enfq3l9zptzgnrlq6szeji] [DataBackend] [pluginName=InteractiveCommands] unable to generate log data: Failed to generate transcript with the following errors:
exec: "script": executable file not found in $PATH:
```
As a result the ssm agent tried to log to s3 instead in a fallback mechanism, but s3 was not configured.
Certain containers running in ECS it might not install util-linux by default, so maybe this dependency should be documented.
コントリビューションガイド
調査の方向性
まず、DataBackend のトランスクリプト生成動作と、ECS execute-command のロギングを扱うドキュメントを確認します。util-linux の script バイナリが必要であることを記載し、CloudWatch ロギングでトランスクリプトを生成できない場合の S3 フォールバックを説明します。コンテナユーザーが依存関係を特定してインストールできるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go, linux
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100