# Bcc: control
tags 201908 + upstream
thanks

On 03/07/18 18:05 +0200, Thomas Hood said ...
> This should probably go upstream if you think it has any merit.
> 
> FHS 2.2 section 5.13 recommends that a program use a subdirectory
> of /var/run/ if it has more than one run-time file.  It would 

Since FHS recommends this, I too feel that this should go upstream.

> indeed be a bit tidier if the several ifplugd instances that run
> when several interfaces are in use were in /var/run/ifplugd/ .

This would mean changing the following code in ifplugd.c

129 const char *pid_file_proc() {
130     static char fn[PATH_MAX];
131     snprintf(fn, sizeof(fn), "%s/ifplugd.%s.pid", VARRUN, interface);
132     return fn;
133 }

I'll test the details (upgrade etc.) and send a patch upstream.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/

Attachment: signature.asc
Description: Digital signature

Reply via email to