martinpitt / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

848f5c8 Ticket 47513 - tmpfiles.d references /var/lock when they should reference /run/lock

Authored and Committed by nkinder 10 years ago
    Ticket 47513 - tmpfiles.d references /var/lock when they should reference /run/lock
    
    The previous patch was using numeric comparison instead of string
    comparison to check if localrundir was empty.  This was causing our
    tmpfiles.d configuration to use the settings from the inf file,
    which evaluates to /var/run when using --with-fhs.
    
    This patch uses a proper string comparison which results in using
    /run in the tmpfiles.d config as desired.
    (cherry picked from commit 0394b2bb9cae3016eeb975ed194e8c7258ed868b)
    (cherry picked from commit 0bd980dcc8068c5922ad7ec750622685ed612e48)