Project

General

Profile

Actions

Bug #3959

closed

sshdcond edit /etc/sshd and gets it wrong

Added by Phillip Davis over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/25/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

sshdcond.inc function restart_sshd() does edits to /etc/sshd and /etc/sshd ends up with invalid PHP syntax.
Forum: https://forum.pfsense.org/index.php?topic=83333.msg456457#msg456457

Does not seem a good idea for packages to be doing editing of base system files like this. As the base system master version changes, the edit becomes invalid and in this case actually breaks the code.

Actions #1

Updated by Renato Botelho over 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:a2103cc238bc568016d4ed931bd5ec52ca103fc8.

Actions #2

Updated by Phillip Davis about 9 years ago

This issue is resolved.

Actions #3

Updated by Renato Botelho about 9 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF