Actions
Bug #10611
closedFRR applies file permissions to missing files
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