| Summary: | BSDStats failed if OpenSSL is from ports, not from base | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | 000.fbsd <MiroslavLachman> |
| Component: | Individual Port(s) | Assignee: | scrappy |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->scrappy Over to maintainer State Changed From-To: open->closed fixed |
BSDStats script failed if system has OpenSSL installed from ports, and deinstalled base OpenSSL binary. Script has hardcoded path to openssl binary IDTOKEN=$( /usr/bin/openssl rand -base64 16 ) But I have OpenSSL from ports in /usr/local/bin/openssl /usr/local/etc/periodic/monthly/300.statistics: /usr/bin/openssl: not found : not found Fix: Do not use absolute path, or do some check, where openssl binary is. How-To-Repeat: Deinstall (delete) base OpenSSL, install it from ports and run /usr/local/etc/periodic/monthly/300.statistics