Project

General

Profile

Actions

Bug #2695

closed

bandwidthd package writes to RO directory in embedded

Added by Criggie . almost 13 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
bandwidthd
Target version:
-
Start date:
11/27/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
Affected Architecture:
All

Description

As per
http://forum.pfsense.org/index.php/topic,49165.0.html

bandwidthd package on alix running nanoBSD tries to save files into /usr/pbi/bandwidthd-i386/bandwidthd/htdocs
but this path is on a device mounted as read-only.

My fix was to mkdir /tmp/bandwidth; mkdir /tmp/bandwidth; mv /usr/pbi/bandwidthd-i386/bandwidthd/htdocs /usr/pbi/bandwidthd-i386/bandwidthd/htdocs.original; ln -s /usr/pbi/bandwidthd-i386/bandwidthd/htdocs /tmp/bandwidthd; /etc/rc.conf_mount_ro ; /usr/local/etc/rc.d/bandwidthd.sh start

and all is well. However I expect /tmp will be purged at reboot, less than ideal.

Any questions please ask.

Actions

Also available in: Atom PDF