I run a stateless system and thus /var starts out empty. Colord does not start up in such a setting. Could you please add a tmpfiles that creates the necessary directories in var, please? Thank you!
Do you mean the daemon should create the /var/lib/colord/ directory at startup? If so I guess that's okay, and if you'd like to have a go at a patch that would be great.
It is just that right after boot /var is empty and needs to be populated. So shipping a tmpfiles.d snippet that creates those directories is enough. I doubt any init but systemd even considers this use case, so I don't see the need to change the code.
Ohh, you can create it with a tmpfiles file? I'd happily carry (and install that) upstream if you can give me an example. Thanks!
Created attachment 118578 [details] colord.conf This tmpfiles.d snippet seems to work for me.
About the tmpfiles.d snippet: Of course the users and such might be different on other systems and I might have missed something. I do not really know the daemon -- in fact I am not even sure what it does, but I needed this to get it running so that gnome would stop to complain about it:-)
commit ce88ff07ebf1b6500c542f82fe07b36554be6ca3 Author: Tobias Hunger <tobias.hunger@gmail.com> Date: Thu Oct 1 21:21:54 2015 +0100 Add a tmpfiles.d snippet to fix stateless systems Signed-off-by: Richard Hughes <richard@hughsie.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.