Closed ned64 closed 3 years ago
@ned64 The code should be handling when colord isn't running. What errors are you getting?
Thanks. I had the problem in Feb 2020 and only now migrated the issue here when you suggested it on the other site. Therefore it may be difficult to reproduce now but I will try. I somehow found a workaround back then.
Basically, printing did not work at all with no error messages in /var/log/cups/*log
that I could understand.
Has there been some development in this area, perhaps there now is graceful degradation when there is no colord
on the D-Bus? That would be great :-)
@ned64 The code (as has been unchanged for several years) should handle a missing/disabled colord...
@ned64 Any luck reproducing this?
Thanks for taking time to reply @michaelrsweet ! I have tried to reproduce the issue but was unsuccessful. I also looked at the source and there should really be no problem in current releases.
I was probably using an older version when I experienced that problem last year (or a fork by the distro maintainers?).
I suppose we can happily mark this one "invalid".
On my system there is no
colord
due to several reasons. Mainly, as part of a part of standard security hardening I have reduced attack surface by removing daemons I don't need.I do not need the colour management features provided by
colord
at all.Upon one of the past updates of
cups
printing was disabled completely becausecupsd
tries to contactcolord
and fails completely as it isn't running. The error was difficult to find, too.Please allow the running of
cupsd
and printing withoutcolord
, either by ignoring colour management ifcolord
cannot be found on D-Bus or doesn't reply (graceful degradation) or by adding acupsd
config option not to trycolord
in the first place (disable colour management bycolord
option).Perhaps graceful degradation is perhaps more elegant - a warning could be issued but printing would continue. The situation would be the same if
colord
ran but the printer device weren't managed by it.In practise this could also mean not linking
libprintbackend-cups.so
dynamically tolibcolord.so.2
anymore but usingdlopen
instead:Thereby (hard) dependencies can be reduced as a bonus.