[ 
https://issues.apache.org/jira/browse/VCL-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron Peeler reopened VCL-871:
------------------------------

In OS.pm create_text_file for appending - I think the "echo -n" is causing 
issues with ext_sshd_config and sudoers on server reservations. The trailing 
newline is missing causes each AllowUsers directive to be on the same line, so 
users can't log in.  I'm not sure if removing it breaks something else.

> OS.pm::create_text_file fails if content is too long
> ----------------------------------------------------
>
>                 Key: VCL-871
>                 URL: https://issues.apache.org/jira/browse/VCL-871
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>    Affects Versions: 2.4.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.4.3
>
>
> {{OS.pm::create_text_file}} converts each character of the text content 
> argument to its hex value and creates a string passed to _echo -e_.  This 
> normally works correctly and allows single quote charcters to be added to the 
> file.  However, the command fails if the string becomes too long.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to