After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791650 - Do not warn about missing colord systemd service unit
Do not warn about missing colord systemd service unit
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-12-15 11:18 UTC by Paul Menzel
Modified: 2017-12-17 22:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2017-12-15 11:18:47 UTC
It’s totally fine building colord without a systemd service unit by passing `--with-systemdsystemunitdir=no` to configure [1].

When doing that though, applications using the GTK+ printing dialog output a lot of warnings like below to the terminal.

```
** (evince:4561): WARNING **: failed to contact colord: Error calling StartServiceByName for org.freedesktop.ColorManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit colord.service failed to load: No such file or directory. See system logs and 'systemctl status' for details.
```

These warnings should not be shown or downgraded to info, and then only shown once.

[1] http://www.linuxfromscratch.org/blfs/view/8.1/general/colord.html
Comment 1 Matthias Clasen 2017-12-15 21:36:01 UTC
just start colord, and they will go away.
Comment 2 Matthias Clasen 2017-12-16 01:11:50 UTC
A patch for restricting this to a one-time warning would be welcome as well