2017-01-29 1 views
2

쓸 수 없습니다. 그러나 그것은 그 문제를 해결하는 것처럼 보이지 않았습니다. GPG 목록 키 오류 trustdb는

볼륨

만 읽을 경우 : trustdb 쓸 수없는 이유를
[web1:~] bluethundr% touch test 
[web1:~] bluethundr% echo hi > test 
[web1:~] bluethundr% cat test 
hi 

그래서 내가 궁금하네요.

어떻게 해결할 수 있습니까? 볼륨이없는 읽기 전용, 어디 gpg --list-key (AN strace를 포함) 검사는 trustdb.gpg.lock 파일을 만들려고하더라도 보인다

답변

0

bug 771976

I found this when running the command apt-key list on a machine where the root filesystem is normally mounted read-only.
This results in running gpg with " --trustdb-name ", " /etc/apt//trustdb.gpg ", " --list-keys ".
gpg in turn attempts to create " /etc/apt//trustdb.gpg.lock " in order to lock the trustdb , which fails.

Seeing how --list-keys is an operation which shouldn't require writing to anything, having it fail in this situation is bad.

에보고되었다합니다.

strace gpg --list-key | grep trustdb.gpg.lock