Project

General

Profile

Actions

Bug #10611

closed

FRR applies file permissions to missing files

Added by Steve Wheeler almost 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
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.

Actions #1

Updated by Jim Pingle almost 4 years ago

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

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Pull Request Review
Actions #4

Updated by Renato Botelho almost 4 years ago

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

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov almost 4 years ago

  • Status changed from Feedback to Resolved

resolved in frr 0.6.6

Actions

Also available in: Atom PDF