I have a VM running TC 4.7.7
I removed tce/optional and tce/onboot.lst and rebooted
As part of my start-up script I have a function which reinstalls any missing packages:
apps="e2fsprogs squashfs-tools-4.x dropbear dnsmasq nfs-utils mc"
for app in $apps
do
if [ ! -d /tmp/tcloop/$app ]; then
echo -n "${WHITE}Installing ${CYAN}$app${NORMAL}: "
su -c "tce-load -wi $app >/dev/null 2>/dev/null" tc
echo "${GREEN}Done.${NORMAL}"
fi
done
This process went through perfectly fine as it has dozens of times previously. The machine is set up as a development dns/dhcp/tftp server using dnsmasq. This functionality is working as expected. I went to fire up nfs-server (which I've done previously quite a few times) and have a new situation I haven't seen before:
sudo /usr/local/etc/init.d/dropbear start
echo "ALL: ALL" > /etc/hosts.allow
sudo /usr/local/etc/init.d/nfs-server start
exportfs -ra
touch /opt/.hosts
touch /opt/.leases
sudo dnsmasq
nfs-server start:
modprobe: module nfsd not found in modules.dep
nfs-server utilities are started.
rpc.statd and rpc.mountd are running in the background
exportfs -ra gives no complants
# exportfs
/tftp <world>
/etc/exports
/tftp *(rw,insecure,no_root_squash,fsid=0,anonuid=0,anongid=0,no_subtree_check,nohide)
/etc/hosts.allow
ALL: ALL
/tftp permissions
drwxrwsr-x 4 tc staff 120 Nov 14 16:51 tftp
# lsmod
Module Size Used by Tainted: P
mperf 12288 0
cpufreq_userspace 12288 0
cpufreq_powersave 12288 0
cpufreq_stats 12288 0
cpufreq_conservative 12288 0
squashfs 24576 15
scsi_wait_scan 12288 0
zcache 12288 0
zram 12288 1
loop 16384 30
ppdev 12288 0
parport_pc 24576 0
parport 24576 2 ppdev,parport_pc
pcnet32 24576 0
pcspkr 12288 0
ac 12288 0
I'm at a loss as to why nfsd is not supported?
EDIT: While writing this entry, I had a sneaky suspicion. In the list of apps noted above, I had removed a few (cifs and dos support along with a couple others since they weren't being used) and after looking at tcloop, I noticed "file systems" was no longerinstalled. I installed filesystems-3.0.21-tinycore.tcz (and its mtd dependency) and voila'... the error went away regarding the missing module, but now it's more a point of "How would I have known otherwise to install this as the forums don't seem to mention such a dependency and nfs itself doesn't look for it?" It may be worthwhile adding filesystems-KERNEL to the nfs-server script to prevent future confusion and headaches like it does for nfs-utils.