Request to enable CONFIG_PERSISTENT_KEYRINGS in the kernel

オープン 初心者向け
#7,822 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, linux, raspberry-pi

調査の方向性

まず、カーネル設定で CONFIG_PERSISTENT_KEYRINGS のエントリを探し、CONFIG_KEYS が引き続き有効になっていることを確認します。Raspberry Pi では keyctl get_persistent @s を実行し、/boot/config-$(uname -r) を調べて現在の動作を確認します。生成された設定に CONFIG_PERSISTENT_KEYRINGS=y が表示され、keyctl コマンドが永続的な keyring ID を返Bou symbolism? no. when it returns a persistent keyring ID.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

This is a configuration request, there is no bug per-se. I didn't see another option.

Currently CONFIG_PERSISTENT_KEYRINGS is disabled. CONFIG_KEYS is enabled but without PERSISTENT it does not persist beyond the specific execution. This causes unnecessary repeated calls to password manager tools for each execution which can have issues with API call limits and the such. Allowing a fetch to persist would avoid this complexity and noise.

Most other linux hosts I am aware of already support this option and have it enabled.

Steps to reproduce the behaviour
  1. On a Pi running the current kernel, run ( keyutils)
keyctl get_persistent @s

RESULT:

keyctl_get_persistent: Operation not supported

DESIRED:

##########  

Where ########## is a keyring id like 1035441336

  1. check config
grep PERSISTENT_KEYRINGS /boot/config-$(uname -r)

RESULT:

# CONFIG_PERSISTENT_KEYRINGS is not set

DESIRED:

CONFIG_PERSISTENT_KEYRINGS=y
Device (s)

Raspberry Pi 3 Mod. B, Raspberry Pi 4 Mod. B, Raspberry Pi 5

System

Tested on 3b, 4b, and 5 pi's

Logs

No response

Additional context

No response

主要言語
C
スター
13.4k
フォーク
5.5k
平均マージ
1日 8時間
マージ済み PR(30日)
37

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

raspberrypi/linux のほかの issue

raspberrypi/linux の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。