distribution icon indicating copy to clipboard operation
distribution copied to clipboard

colord.service fails to start

Open chrysophylax opened this issue 10 months ago • 3 comments

Distribution: Clear Linux OS Installed version: 43160

The colord.service fails to start on version 43160

Mar 30 16:32:15 finarfin colord[1152]: CdMain: failed to load mapping database: Can't open database: unable to open database file
Mar 30 16:32:15 finarfin systemd[1]: colord.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 16:32:15 finarfin systemd[1]: colord.service: Failed with result 'exit-code'.
Mar 30 16:32:15 finarfin systemd[1]: Failed to start colord.service.

Adding ReadWritePaths=/var/lib/colord to a systemd unit file in a drop-in fixes this. Fixed upstream in https://github.com/hughsie/colord/commit/08a32b2379fb5582f4312e59bf51a2823df56276

chrysophylax avatar Mar 30 '25 15:03 chrysophylax

Hi, I have already reported this issue to the developer. The fix is ready but it hasn't been distributed yet.

MarcusPro7 avatar Apr 02 '25 07:04 MarcusPro7

It looks like there are a few issues at play, but I've backported https://github.com/hughsie/colord/commit/08a32b2379fb5582f4312e59bf51a2823df56276 as a start.

bwarden avatar Apr 04 '25 22:04 bwarden

I've also backported these to deal with the sqlite3 error logging issues: https://github.com/hughsie/colord/commit/7435d9c23a1d3bc138dcae0e05ea06fb244568fe https://github.com/hughsie/colord/commit/d8076a16ea1f4437cca3799d414faf40cddae955 https://github.com/hughsie/colord/commit/f4fdb66d0399e3223c068c663e7621ea19b71a7b https://github.com/hughsie/colord/commit/125677111dfbbfc714cd99c0e6984a650a1f95a2

bwarden avatar Apr 04 '25 23:04 bwarden