Bug 94550 - nntpcache depends on /etc/rc.subr
Summary: nntpcache depends on /etc/rc.subr
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Yen-Ming Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 15:09 UTC by Thomas Schweikle
Modified: 2006-03-17 00:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schweikle 2006-03-16 15:09:46 UTC
"/usr/local/etc/rc.d/nntpcached.sh" references "/etc/rc.subr". This is not installed by FreeBSD 4.11 checked out today. Trying to start nntpcache using "/usr/local/etc/rc.d/nntpcached.sh start" leads to error ".: Can't open /etc/rc.subr: No such file or directory".

nntpcached will not be started.

Fix: 

I copied rc.subr from a FreeBSD 5.5-PRERELEASE system. This seems to work.
How-To-Repeat: rebuild your system:
cd /usr/src
mergemaster -p
make buildworld
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC
reboot
make installworld
mergemaster -a
reboot

call
/usr/local/etc/rc.d/nntpcached.sh start
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-03-16 17:17:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->leeym

Assign to maintainer. There is a problem with rc script, you have to use 

. %%RC_SUBR%% 

instead of 

. /etc/rc.subr
Comment 2 Yen-Ming Lee freebsd_committer freebsd_triage 2006-03-17 00:08:34 UTC
State Changed
From-To: open->closed

Fixed, thanks