Actions
Bug #15502
closedProxy variables in ``crontab`` contents are improperly formatted
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
24.11
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