testcontainers / testcontainers/testcontainers-java
DB2 privileged mode is no longer required and should be removed
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 8.7k
- フォーク
- 1.9k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 9
説明
Currently our DB2Container class uses privileged mode; I think on the basis of this blog post: https://db2indocker.blogspot.com/2015/04/db2-do-not-start-in-un-privileged.html
Kernel 3.15 went EOL in 2014, so this seems like a workaround that shouldn’t be particularly necessary if it’s just for the reason cited in that blog post.
I would suggest that we remove the requirement for privileged mode for the DB2 container, which would mean that none of our modules use privileged mode at all any more. This is ~ better for everybody's security.
Users would still be able to turn on privileged mode for the DB2 container if their kernel made it essential, but I think this is unlikely.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
DB2Container クラスがエントリーポイントです。まず、privileged mode の設定を見つけてください。DB2 コンテナが privileged mode なしで起動し、必要な場合にはユーザーが引き続き有効化できることを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, java
- 領域
- database, security, testing
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100