Project

General

Profile

Bug #3959

sshdcond edit /etc/sshd and gets it wrong

Added by Phillip Davis about 5 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Affected 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.

Associated revisions

Revision 708aa0ef (diff)
Added by Renato Botelho almost 5 years ago

Remove variable use here since it's confusing sshdcond package, ticket #3959

History

#1 Updated by Renato Botelho almost 5 years ago

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

Applied in changeset commit:a2103cc238bc568016d4ed931bd5ec52ca103fc8.

#2 Updated by Phillip Davis over 4 years ago

This issue is resolved.

#3 Updated by Renato Botelho over 4 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF