Project

General

Profile

Actions

Bug #15502

closed

Proxy variables in ``crontab`` contents are improperly formatted

Added by Steve Wheeler about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.08
Release Notes:
Default
Affected Version:
2.7.2
Affected Architecture:

Description

On systems with an upstream proxy configured lines are added to the crontab so commands run there see the appropriate environment variables.

Currently the proxy auth values are added on the same line:

[24.03-RELEASE][admin@plusdev-6.stevew.lan]/root: cat /etc/crontab 
#
# pfSense specific crontab entries
# Created: May 16, 2024, 9:39 pm
#
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
HTTP_PROXY=172.21.16.185:3128HTTP_PROXY_AUTH=basic:*:test:12345
*/1    *    *    *    *    root    /usr/sbin/newsyslog

Those variables should be on separate lines.

In addition there should be variables for CURL: HTTPS_PROXY at least.

Actions

Also available in: Atom PDF