Bug 38463 - WARNING: Skipping duplicate certificate
Summary: WARNING: Skipping duplicate certificate
Status: CLOSED FIXED
Alias: None
Product: Branch p9
Classification: Distributions
Component: alterator-ca (show other bugs)
Version: не указана
Hardware: x86 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p9@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-10 16:00 MSK by Vladimir Karpinsky
Modified: 2020-05-10 19:02 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Karpinsky 2020-05-10 16:00:54 MSK
/etc/cron.d/alterator-ca ежедневно присылает сообщения с предупреждениями:

WARNING: Skipping duplicate certificate 1.pem
WARNING: Skipping duplicate certificate 2.pem
WARNING: Skipping duplicate certificate 3.pem
WARNING: Skipping duplicate certificate ...
WARNING: Skipping duplicate certificate ca.crt

И так полный список сертификатов, повторяющийся 2 раза. 

Предотвратить это позволяет правка /usr/sbin/ca-sko:

$ diff ca-sko.my ca-sko
140c140
<               c_rehash "$SSL_CERTDIR" &>/dev/null
---
>               c_rehash "$SSL_CERTDIR" >/dev/null
Comment 1 Repository Robot 2020-05-10 19:02:18 MSK
alterator-ca-0.5.8-alt1 -> sisyphus:

 Sun May 10 2020 Andrey Cherepanov <cas@altlinux> 0.5.8-alt1
 - Hide all messages from c_rehash (ALT #38463).