Summary: | rpm --checksig (ОТСУТСТВУЮТ КЛЮЧИ: (SHA1) DSA#2adbeae5 GPG#2adbeae5) | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Vitaly Lipatov <lav> |
Component: | rpm | Assignee: | placeholder <placeholder> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | at, glebfm, imz, ldv, mike, placeholder, vt, week |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Vitaly Lipatov
2016-12-12 15:27:34 MSK
Пытается смотреть в /%_keyringpath : [user@prodesk0 repo_nct]$ strace -e trace=file -fF rpm --checksig /var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm execve("/bin/rpm", ["rpm", "--checksig", "/var/cache/apt/archives/syslinux"...], [/* 57 vars */]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7ffdd8826ee0) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpopt.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/liblua-5.1.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdb-4.7.so", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libbeecrypt.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 open("/usr/lib/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/rpm/rpmpopt-4.13.0", O_RDONLY) = 3 open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/popt.d", 0x7ffdd8827680) = -1 ENOENT (No such file or directory) open("/home/user/.popt", O_RDONLY) = -1 ENOENT (No such file or directory) execve("/usr/bin/rpmkeys", ["/usr/bin/rpmkeys", "--checksig", "/var/cache/apt/archives/syslinux"...], [/* 57 vars */]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7fff63b498f0) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpopt.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/liblua-5.1.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdb-4.7.so", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libbeecrypt.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 open("/usr/lib/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/rpm/rpmpopt-4.13.0", O_RDONLY) = 3 open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/popt.d", 0x7fff63b4a0b0) = -1 ENOENT (No such file or directory) open("/home/user/.popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=158, ...}) = 0 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3 open("/etc/rpm/platform", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/user/.rpmrc", 0x7fff63b49ce0) = -1 ENOENT (No such file or directory) access("/usr/lib/rpm/rpmrc", R_OK) = 0 open("/usr/lib/rpm/rpmrc", O_RDONLY) = 3 access("/usr/lib/rpm/alt/rpmrc", R_OK) = -1 ENOENT (No such file or directory) access("/etc/rpmrc", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/rpm/macros", O_RDONLY) = 3 open("/usr/lib/rpm/platform/x86_64-linux/macros", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/usr/lib/rpm/macros.d/alterator", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/alternatives", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/control", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/perl5", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/python", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/xdg", O_RDONLY) = 3 open("/usr/lib/rpm/alt/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/etc/rpm/macros.d", O_RDONLY) = 3 open("/etc/rpm/macros", O_RDONLY) = 3 open("/etc/rpm/x86_64-linux/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 stat("/home/user/.rpmmacros", {st_mode=S_IFREG|0600, st_size=121, ...}) = 0 open("/home/user/.rpmmacros", O_RDONLY) = 3 stat("/usr/lib/rpm/init.lua", 0x7fff63b4a020) = -1 ENOENT (No such file or directory) open("/%_keyringpath", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 open("/var/lib/rpm/.dbenv.lock", O_RDWR|O_CREAT, 0644) = -1 EACCES (Permission denied) open("/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 open("/var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm", O_RDONLY) = 5 open("/usr/share/locale/en_US.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) /var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm: sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#ae4ae412) +++ exited with 1 +++ но указание нашей директории не помогает (наверное, смотрит в списке файлов какой-то другой): $ strace -e trace=file -fF rpm --define '_keyringpath usr/lib/alt-gpgkeys' --checksig /var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm execve("/bin/rpm", ["rpm", "--define", "_keyringpath usr/lib/alt-gpgkeys", "--checksig", "/var/cache/apt/archives/syslinux"...], [/* 57 vars */]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7fff99cf4970) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpopt.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/liblua-5.1.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdb-4.7.so", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libbeecrypt.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 open("/usr/lib/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/rpm/rpmpopt-4.13.0", O_RDONLY) = 3 open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/popt.d", 0x7fff99cf5110) = -1 ENOENT (No such file or directory) open("/home/user/.popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=158, ...}) = 0 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3 open("/etc/rpm/platform", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/user/.rpmrc", 0x7fff99cf4c00) = -1 ENOENT (No such file or directory) access("/usr/lib/rpm/rpmrc", R_OK) = 0 open("/usr/lib/rpm/rpmrc", O_RDONLY) = 3 access("/usr/lib/rpm/alt/rpmrc", R_OK) = -1 ENOENT (No such file or directory) access("/etc/rpmrc", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/rpm/macros", O_RDONLY) = 3 open("/usr/lib/rpm/platform/x86_64-linux/macros", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/usr/lib/rpm/macros.d/alterator", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/alternatives", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/control", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/perl5", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/python", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/xdg", O_RDONLY) = 3 open("/usr/lib/rpm/alt/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/etc/rpm/macros.d", O_RDONLY) = 3 open("/etc/rpm/macros", O_RDONLY) = 3 open("/etc/rpm/x86_64-linux/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 stat("/home/user/.rpmmacros", {st_mode=S_IFREG|0600, st_size=121, ...}) = 0 open("/home/user/.rpmmacros", O_RDONLY) = 3 stat("/usr/lib/rpm/init.lua", 0x7fff99cf4f40) = -1 ENOENT (No such file or directory) execve("/usr/bin/rpmkeys", ["/usr/bin/rpmkeys", "--checksig", "--define", "_keyringpath usr/lib/alt-gpgkeys", "/var/cache/apt/archives/syslinux"...], [/* 57 vars */]) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/tls", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64/x86_64", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib64/tls/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/librpm.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7fffa9ad5b90) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpm.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib64/librpmio.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpopt.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/liblua-5.1.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdb-4.7.so", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libbeecrypt.so.7", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 open("/usr/lib/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3 open("/usr/lib/rpm/rpmpopt-4.13.0", O_RDONLY) = 3 open("/etc/popt", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/popt.d", 0x7fffa9ad6350) = -1 ENOENT (No such file or directory) open("/home/user/.popt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 open("/etc/group", O_RDONLY|O_CLOEXEC) = 3 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=158, ...}) = 0 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 3 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3 open("/etc/rpm/platform", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/user/.rpmrc", 0x7fffa9ad5e40) = -1 ENOENT (No such file or directory) access("/usr/lib/rpm/rpmrc", R_OK) = 0 open("/usr/lib/rpm/rpmrc", O_RDONLY) = 3 access("/usr/lib/rpm/alt/rpmrc", R_OK) = -1 ENOENT (No such file or directory) access("/etc/rpmrc", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/rpm/macros", O_RDONLY) = 3 open("/usr/lib/rpm/platform/x86_64-linux/macros", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/usr/lib/rpm/macros.d/alterator", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/alternatives", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/control", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/perl5", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/python", O_RDONLY) = 3 open("/usr/lib/rpm/macros.d/xdg", O_RDONLY) = 3 open("/usr/lib/rpm/alt/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/etc/rpm/macros.d", O_RDONLY) = 3 open("/etc/rpm/macros", O_RDONLY) = 3 open("/etc/rpm/x86_64-linux/macros", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/rpm/macros.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 stat("/home/user/.rpmmacros", {st_mode=S_IFREG|0600, st_size=121, ...}) = 0 open("/home/user/.rpmmacros", O_RDONLY) = 3 stat("/usr/lib/rpm/init.lua", 0x7fffa9ad6180) = -1 ENOENT (No such file or directory) open("/usr/lib/alt-gpgkeys", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 stat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 open("/var/lib/rpm/.dbenv.lock", O_RDWR|O_CREAT, 0644) = -1 EACCES (Permission denied) open("/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 open("/var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm", O_RDONLY) = 5 open("/usr/share/locale/en_US.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) /var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm: sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#ae4ae412) +++ exited with 1 +++ Вот конец: open("/usr/lib/alt-gpgkeys", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 stat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/rpm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3 open("/var/lib/rpm/.dbenv.lock", O_RDWR|O_CREAT, 0644) = -1 EACCES (Permission denied) open("/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=32153600, ...}) = 0 open("/var/lib/rpm/Packages", O_RDONLY) = 3 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 stat("/var/lib/rpm/Name", {st_mode=S_IFREG|0644, st_size=73728, ...}) = 0 open("/var/lib/rpm/Name", O_RDONLY) = 4 open("/var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm", O_RDONLY) = 5 open("/usr/share/locale/en_US.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/rpm.mo", O_RDONLY) = -1 ENOENT (No such file or directory) /var/cache/apt/archives/syslinux-extlinux_2%3a4.04-alt12_x86%5f64_1449091958.rpm: sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#ae4ae412) +++ exited with 1 +++ До сих пор не исправлена, может имеются мысли, что не так? (In reply to comment #2) > До сих пор не исправлена, может имеются мысли, что не так? rpm, который сейчас в Сизифе предполагает, что ключи лежат в базе rpm. Вы всегда можете их туда загрузить. Ещё можно сделать как-то так: $ cp ~/git/alt-gpgkeys/keys/incominger $tmpdir/incominger.key $ rpm -K --define "_keyringpath $tmpdir" apt-0.5.15lorg2-alt56.src.rpm apt-0.5.15lorg2-alt56.src.rpm: sha1 md5 gpg ОК Вообще, идея класть ключи в базу и реализовывать всю криптографию прямо в rpm как была чудовищна, так и осталась. Как ни странно, предложенный вариант не помог. rpm -K avr-binutils-2.26-alt1.src.rpm avr-binutils-2.26-alt1.src.rpm: (RSA) sha1 md5 (GPG) НЕ ОК (ОТСУТСТВУЮТ КЛЮЧИ: RSA#1b9b0273 GPG#1b9b0273) strace -e trace=file -fF rpm --checksig avr-binutils-2.26-alt1.src.rpm stat("/home/grigory/.rpmmacros", {st_mode=S_IFREG|0644, st_size=746, ...}) = 0 open("/home/grigory/.rpmmacros", O_RDONLY) = 3 stat("/usr/lib/rpm/init.lua", 0x7ffc712d7c10) = -1 ENOENT (No such file or directory) open("/home/grigory/packages/keys", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 open("/home/grigory/packages/keys/week.key", O_RDONLY) = 3 open("avr-binutils-2.26-alt1.src.rpm", O_RDONLY) = 3 (In reply to comment #4) > Как ни странно, предложенный вариант не помог. > rpm -K avr-binutils-2.26-alt1.src.rpm > avr-binutils-2.26-alt1.src.rpm: (RSA) sha1 md5 (GPG) НЕ ОК (ОТСУТСТВУЮТ КЛЮЧИ: > RSA#1b9b0273 GPG#1b9b0273) > open("/home/grigory/packages/keys/week.key", O_RDONLY) = 3 На всякий случай: вы уверены, что /home/grigory/packages/keys/week.key это ключ 1b9b0273? Посмотрите, что говорит rpm -vv -K avr-binutils-2.26-alt1.src.rpm о загрузке ключа. > $ cp ~/git/alt-gpgkeys/keys/incominger $tmpdir/incominger.key Используйте вместо этого команду: GNUPGHOME=/usr/lib/alt-gpgkeys gpg --export --armor incominger@altlinux.org > $tmpdir/incominger.key Ваша версия ~/git/alt-gpgkeys может не совпадать с моей, а в пакете alt-gpgkeys всё хорошо. Гм, припёрло и мне; alt-gpgkeys на хосте обновил, rpm-4.13.0.1-alt6.x86_64: $ GNUPGHOME=/usr/lib/alt-gpgkeys gpg --export --armor > ~/tmp/alt-gpgkeys $ rpm -K --define "_keyringpath $HOME/tmp" bash4-4.4.23-alt1.src.rpm bash4-4.4.23-alt1.src.rpm: sha1 md5 (GPG) НЕ ОК (ОТСУТСТВУЮТ КЛЮЧИ: GPG#ae4ae412) $ GNUPGHOME=/usr/lib/alt-gpgkeys gpg --list-keys | grep -i ae4ae412 pub 1024D/AE4AE412 2004-09-22 Может, соберём отдельную проверялку из 4_0_4?.. (Ответ для Michael Shigorin на комментарий #7) > $ GNUPGHOME=/usr/lib/alt-gpgkeys gpg --export --armor > ~/tmp/alt-gpgkeys Все говорят загадками. Я сделал так в сборочнице: # GNUPGHOME=/usr/lib/alt-gpgkeys gpg --export --armor > ~/tmp/alt-gpgkeys # rpm --import ~/tmp/alt-gpgkeys |