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.
Updated by Jim Pingle 7 months ago
- Subject changed from Crontab proxy settings incorrectly added to Proxy variables in ``crontab`` contents are improperly formatted
- Status changed from New to Pull Request Review
- Assignee set to Steve Wheeler
Updated by Anonymous 7 months ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset 45419ed469e182e97b72f534ff4a79b6f531b06e.
Updated by Georgiy Tyutyunnik 7 months ago
tested on:
2.7.2-RELEASE (amd64)
built on Wed Dec 6 20:10:00 UTC 2023
FreeBSD 14.0-CURRENT
patch fixes the issue
Updated by Jim Pingle 6 months ago
- Plus Target Version changed from 24.07 to 24.08
Updated by Jim Pingle about 2 months ago
- Plus Target Version changed from 24.08 to 24.11
Actions