Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

test/command failure with filtered `listxattr` syscall

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

@Kiskae がすでに取り組んでいます。

2026年10月14日 から。

  • #450 @Kiskae による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
linux, shell
領域
testing

調査の方向性

障害は shell スクリプト tests/dumpdir の 56 行目付近にあり、listxattr が返す ENOTSUP エラーが処理されていません。コミット b23247f87cd6ad818ba381917236c6d0d58de135 で tests/gendir が同じ障害をどう扱っているかと比較してください。完了の条件は、dumpdir が gendir と同様に ENOTSUP のケースを許容すること、そして listxattr をフィルタした場合にテストスイートが通ることです。

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

説明

As reported by https://github.com/NixOS/nixpkgs/issues/567933, the test suite does not handle a disabled listxattr syscall.

Specifically the gendir script does handle failures: https://github.com/composefs/composefs/commit/b23247f87cd6ad818ba381917236c6d0d58de135

But the dumpdir script does not:
https://github.com/composefs/composefs/blob/main/tests/dumpdir#L56

This kept working because the gendir never generated extended attributes due to the fallback mentioned above, so listxattr was always empty and so getxattr was never called. But now the listxattr call also throws an ENOTSUP and this failure mode gets triggered.

主要言語
C
スター
694
フォーク
55
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

composefs/composefs のほかの issue

composefs/composefs の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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