Bug 243060 - news/nzbget Startup Not Getting full PATH info
Summary: news/nzbget Startup Not Getting full PATH info
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 14:55 UTC by sgerlach+bugz
Modified: 2021-06-25 05:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sgerlach+bugz 2020-01-03 14:55:55 UTC
When installing the news/nzbget port, the rc.d script (sh script) does not include the bin directories for /usr/local/{s}bin. This causes some alternatively loaded tools to fail (git for instance) when called from nzbget or scripts called by nzbget. I have solved locally by adding the following into the rc script.

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

Just making sure this is, 1) The correct way. 2) Indeed viewed as a bug.

Thanks!
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2021-06-25 05:52:27 UTC
Fixed in https://cgit.freebsd.org/ports/commit/?id=059791e8b18030ccbe94b6e26f736d0b30930ad4 as part of the resolution of bug #256733