#3689 SYSTEMD: Allow to use "/run" in ListenStream
Closed by lslebodn. Opened by lslebodn.
SSSD/ lslebodn/sssd fdleak_test_secrets  into  master

Download 3689.patch

SYSTEMD: Allow to use "/run" in ListenStream

/var/run is only symbolic link to /run on some distributions
and /run is mounted on tmpfs

sh-4.4$ ls -l /var/run
lrwxrwxrwx. 1 root root 6 Dec 12  2015 /var/run -> ../run

Previously, we used $(localstatedir)/run in ListenStream
which does not allow to use "/run" because we still need to
store some files in under $(localstatedir) (/var).

Autoconf 2.70 will add new configure time option --runstatedir
for configuring runstatedir. ATM, we use just fallback implementation
where $(runstatedir) is set to $(localstatedir)/run

@lslebodn,

Thanks for the PR. However, the patches pushed do not seem related to the text description you provided, which makes me wonder whether you pushed the right branch.

Would you mind to double-check it and, if that's the case, update the branch with the one containing the systemd related code?

Hmm. Indeed that was what happened. Please, push your "sockets_rustatedir" branch for review.

Best Regards,

Sorry I used wrong branch

Pull-Request has been closed by lslebodn

Metadata