質問: ファイル記述子の漏洩 ファイル記述子がリークしている場合の意味 file descriptor 6 (socket:[901758]) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 9 (/dev/pts/1) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 11 (/dev/pts/1) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 12 (/dev/pts/1) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 15 (/dev/pts/7) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 17 (/dev/pts/7) leaked on lvextend invocation. parent pid 10035: /bin/zsh file descriptor 18 (/dev/pts/7) leaked on lvextend invocation. parent pid 10035: /bin/zsh extending logical volume usr to 30.00 gib logical volume usr successfully resized どういう意味ですか?
回答: これらは、デバイス上で開いたままのファイル記述子です(サイズ変更していました)。lvm(8)は言う:on invocation, lvm requires that only the standard file descriptors stdin, stdout and stderr are available. if others are found, they get closed and messages are issued warning about the leak.