]> git.ozlabs.org Git - ppp.git/commit - pppd/pathnames.h
Revert lock path to /var/lock (#435)
authorDominique Martinet <asmadeus@codewreck.org>
Tue, 10 Oct 2023 01:05:50 +0000 (10:05 +0900)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 01:05:50 +0000 (12:05 +1100)
commit99cbf5e269994482edaf64624be8b1c806f9587c
tree0214054df7873d17b1207a17254f7e13a4e767af
parentedc1926d935237c301b69c8f793710dcbe3d8976
Revert lock path to /var/lock (#435)

lock dir changed on linux from /var/lock to /run/pppd/lock with
pppd-2.5.0, which makes pppd fail to start if the distribution does not
pre-create the directory.

This reverts it back to /var/lock.

The paths for other OS should be identical as LOCALSTATEDIR should be
/var, but also revert them back as well just in case.
Since the variable is no longer used remove it from makefiles.

Fixes: 66a8c74c3f73 ("Let ./configure control the paths for pppd")
Fixes: #419
Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Co-authored-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
pppd/Makefile.am
pppd/pathnames.h