clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

Colord.service does not start #3126

Open sincorchetes opened 4 months ago

sincorchetes commented 4 months ago

You have to apply this to solve:

Alright, check your service:

systemctl status colors

× colord.service - Manage, Install and Generate Color Profiles
     Loaded: loaded (/usr/lib/systemd/system/colord.service; static)
     Active: failed (Result: exit-code) since Tue 2024-06-04 16:37:04 UTC; 4min 43s ago
    Process: 3285 ExecStart=/usr/libexec/colord (code=exited, status=1/FAILURE)
   Main PID: 3285 (code=exited, status=1/FAILURE)

Jun 04 16:37:04 leafpad systemd[1]: Starting colord.service...
Jun 04 16:37:04 leafpad colord[3285]: CdMain: failed to load mapping database: Can't open database: unable to open database file
Jun 04 16:37:04 leafpad systemd[1]: colord.service: Main process exited, code=exited, status=1/FAILURE
Jun 04 16:37:04 leafpad systemd[1]: colord.service: Failed with result 'exit-code'.
Jun 04 16:37:04 leafpad systemd[1]: Failed to start colord.service.

You have to apply for these permissions:

sudo chown -R colord:colord /var/lib/colord

Restart the service:

sudo systemctl restart colord.service
sudo systemctl status colord.service

colord.service - Manage, Install and Generate Color Profiles
     Loaded: loaded (/usr/lib/systemd/system/colord.service; static)
     Active: active (running) since Tue 2024-06-04 16:48:53 UTC; 2s ago
   Main PID: 4983 (colord)
      Tasks: 5 (limit: 18703)
     Memory: 4.1M ()
     CGroup: /system.slice/colord.service
             └─4983 /usr/libexec/colord

Jun 04 16:48:53 leafpad systemd[1]: Starting colord.service...
Jun 04 16:48:53 leafpad systemd[1]: Started colord.service.

This needs to be fixed, you can check the original perm files to this directory here: colord/data/colord.conf.in at main · hughsie/colord · GitHub

fenrus75 commented 4 months ago

this is odd since we do have that tmpfiles.d fragment installed.... so these should have been created correctly

On Tue, Jun 4, 2024 at 9:52 AM Álvaro Castillo @.***> wrote:

You have to apply this to solve:

Alright, check your service:

systemctl status colors

× colord.service - Manage, Install and Generate Color Profiles Loaded: loaded (/usr/lib/systemd/system/colord.service; static) Active: failed (Result: exit-code) since Tue 2024-06-04 16:37:04 UTC; 4min 43s ago Process: 3285 ExecStart=/usr/libexec/colord (code=exited, status=1/FAILURE) Main PID: 3285 (code=exited, status=1/FAILURE)

Jun 04 16:37:04 leafpad systemd[1]: Starting colord.service... Jun 04 16:37:04 leafpad colord[3285]: CdMain: failed to load mapping database: Can't open database: unable to open database file Jun 04 16:37:04 leafpad systemd[1]: colord.service: Main process exited, code=exited, status=1/FAILURE Jun 04 16:37:04 leafpad systemd[1]: colord.service: Failed with result 'exit-code'. Jun 04 16:37:04 leafpad systemd[1]: Failed to start colord.service.

You have to apply for these permissions:

sudo chown -R colord:colord /var/lib/colord

Restart the service:

sudo systemctl restart colord.service sudo systemctl status colord.service

colord.service - Manage, Install and Generate Color Profiles Loaded: loaded (/usr/lib/systemd/system/colord.service; static) Active: active (running) since Tue 2024-06-04 16:48:53 UTC; 2s ago Main PID: 4983 (colord) Tasks: 5 (limit: 18703) Memory: 4.1M () CGroup: /system.slice/colord.service └─4983 /usr/libexec/colord

Jun 04 16:48:53 leafpad systemd[1]: Starting colord.service... Jun 04 16:48:53 leafpad systemd[1]: Started colord.service.

This needs to be fixed, you can check the original perm files to this directory here: colord/data/colord.conf.in at main · hughsie/colord · GitHub https://github.com/hughsie/colord/blob/main/data/colord.conf.in

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3126, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FOLNCOI272YIHTTBQ3ZFXWGVAVCNFSM6AAAAABIY42EUKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTGOJXGMZDKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>