Project

General

Profile

Task #5039

Move socket file to /run on Linux

Added by Davide Pesavento 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Faces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

/var/run [1] is considered legacy on Linux, the replacement is /run [2]. systemd v239+ started complaining about services and other unit files using /var/run. We should migrate to the new path, and ndn-cxx should look for the socket file in /run first (on Linux only).

On most, if not all, modern Linux distros /var/run is a symbolic link to /run, so I don't expect any disruption.

[1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html
[2] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html

History

#1

Updated by Alex Afanasyev 3 months ago

This is not an issue for the NFD... this is packaging system. If you talking about default config, then we cannot really change it (or need to make system-dependent), as there is no such thing on mac.

#2

Updated by Davide Pesavento 3 months ago

Yes, I'm talking about the configuration file and whatever other default we have in the code. And yes, this is for Linux only.

Also available in: Atom PDF