Le 02/06/2015 13:01, Ludovic Marcotte a écrit :
> On 01/06/2015 22:56, Zhang Huangbin wrote:
>> issue #3224) Packaging issues on CentOS 7, both will cause service cannot 
>> start: http://www.sogo.nu/bugs/view.php?id=3224
>>
>> *) Systemd script doesn't create /var/run/sogo/ directory everything
>> *) sogo RPM package doesn't create /var/log/sogo/
> Strange, both were created here and they belong to the sogo package.

Don't know for /var/log, but /var/run on EL7 is a tmpfs, so if you need
a directory here, it mustn't be provided by the rpm. Instead, the rpm
should provide a /etc/tmpfiles.d/sogo.conf snippet which will contains
something like:

d /var/run/sogo 0755 sogo  sogo

This will ensure /var/run/sogo is re-created after each boot by the
systemd-tmpfiles-setup service

Cheers,
Daniel

-- 

Logo FWS

        *Daniel Berteaud*

FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32
Visio : http://vroom.im/dani
/www.firewall-services.com/

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to