Project

General

Profile

Bug #10611

FRR applies file permissions to missing files

Added by Steve Wheeler about 1 month ago. Updated 19 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
05/29/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:
All

Description

When FRR starts it tries to apply file permissions to all the conf files for it's daemons. Including those that are not in use and therefore don't exist.

This results in, for exmaple when only OSPF is enabled:

May 29 16:33:36     php-fpm     26658     /pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/ospf6d.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/ospf6d.conf: No such file or directory'
May 29 16:33:36     php-fpm     26658     /pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/staticd.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/staticd.conf: No such file or directory'
May 29 16:33:36     php-fpm     26658     /pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/bgpd.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/bgpd.conf: No such file or directory' 

While this is harmless it looks like a more serious problem.

History

#1 Updated by Jim Pingle about 1 month ago

  • Subject changed from FRR applyies file permissions to missing files to FRR applies file permissions to missing files

#3 Updated by Jim Pingle about 1 month ago

  • Status changed from New to Pull Request Review

#4 Updated by Renato Botelho 19 days ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#5 Updated by Viktor Gurov 19 days ago

  • Status changed from Feedback to Resolved

resolved in frr 0.6.6

Also available in: Atom PDF