Project

General

Profile

Actions

action #104172

closed

osd service ca-certificates failed with "p11-kit: couldn't complete writing of file: /var/lib/ca-certificates/ca-bundle.pem.tmp: File exists"

Added by okurz over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
2021-12-20
Due date:
% Done:

0%

Estimated time:

Description

Observation

systemctl status ca-certificates on OSD states

● ca-certificates.service - Update system wide CA certificates
     Loaded: loaded (/usr/lib/systemd/system/ca-certificates.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2021-12-20 06:16:57 CET; 1h 33min ago
TriggeredBy: ● ca-certificates.path
   Main PID: 25310 (code=exited, status=1/FAILURE)

Dec 20 06:16:56 openqa systemd[1]: Starting Update system wide CA certificates...
Dec 20 06:16:57 openqa update-ca-certificates[25339]: p11-kit: couldn't complete writing of file: /var/lib/ca-certificates/ca-bundle.pem.tmp: File exists
Dec 20 06:16:57 openqa systemd[1]: ca-certificates.service: Main process exited, code=exited, status=1/FAILURE
Dec 20 06:16:57 openqa systemd[1]: ca-certificates.service: Failed with result 'exit-code'.
Dec 20 06:16:57 openqa systemd[1]: Failed to start Update system wide CA certificates.

Suggestions

Maybe retrying within the service helps

Workaround

Manual retry helps: systemctl restart ca-certificates


Related issues 2 (0 open2 closed)

Related to openQA Infrastructure - action #117262: [alert] failed systemd service: ca-certificates on openqa.suse.de, "p11-kit: couldn't complete writing of file: /var/lib/ca-certificates/ca-bundle.pem.tmp: Unknown error 17" size:MResolvedmkittler2022-09-27

Actions
Related to openQA Infrastructure - action #131096: [alert] Service `ca-certificates` can fail size:MRejectedokurz2023-06-19

Actions
Actions

Also available in: Atom PDF