sauberhorn
Cadet
- Joined
- Nov 10, 2011
- Messages
- 2
Hi all,
I replaced my old prefabricated NAS by a new, "hand-made" system and set up freeNAS 8.0.1 as operating system. Now, I started to play around with the system and try to understand its features. Thus, carefully phrased, I am far from being an freeNAS expert :). The basic functionality I need is working well, however, for my purposes, I have to activate the inetd server. What I did to reach this is:
After the restart, the changes are successfully taken over to the /etc/rc.conf config file. When I now request the status of inetd by using /etc/rc.d/inetd rcvar, I got the following output:
# inetd
#
inetd_enable="NO"
# (default: "")
This output is in line with my observation that the inetd server is not running. Furthermore, it cannot be started manually by /etc/rc.d/inetd start. This leads to the following output:
Will not 'start' inetd because inetd_enable is NO.
This leads to the following questions:
I would be happy if anyone could try to reproduce the behavior or give an explanation. Please tell me if you need further information. Thanks for the help!
---8<---
FreeNas Build: FreeNAS-8.0.1-RELEASE-amd64 (8081)
/etc/rc.conf / /conf/base/etc/defaults/rc.conf:
#!/bin/sh
# This file is explicitly in the public domain. You may do with it
# anything you like.
# Fallback settings for FreeNAS. This file is read in first and is
# then overidden by the values in the database.
# *** need to clean this up
hostname="freenas"
sshd_enable="YES"
inetd_enable="YES"
sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO).
dumpdev="NO" # Device to crashdump to (device name, AUTO, or NO).
background_fsck="NO"
harvest_interrupt="NO" # Entropy device harvests interrupt randomness
harvest_ethernet="NO" # Entropy device harvests ethernet randomness
harvest_p_to_p="NO" # Entropy device harvests point-to-point randomness
synchronous_dhclient="YES" # Start dhclient directly on configured
ntpd_enable="YES"
ntpd_sync_on_start="YES"
# open-vm-tools
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"
# Silence syslogd about missing files
syslogd_flags="-s -C"
collectd_enable="YES"
fusefs_enable="YES"
devfs_system_ruleset="usbrules"
lighttpd_enable=YES
I replaced my old prefabricated NAS by a new, "hand-made" system and set up freeNAS 8.0.1 as operating system. Now, I started to play around with the system and try to understand its features. Thus, carefully phrased, I am far from being an freeNAS expert :). The basic functionality I need is working well, however, for my purposes, I have to activate the inetd server. What I did to reach this is:
- made the system readable: mount -wu /
- extend /conf/base/etc/defaults/rc.conf by adding the line: inetd_enable="YES"
- set the file-system readonly again: mount -ro /
- rebooted by the system: shutdown -r now
After the restart, the changes are successfully taken over to the /etc/rc.conf config file. When I now request the status of inetd by using /etc/rc.d/inetd rcvar, I got the following output:
# inetd
#
inetd_enable="NO"
# (default: "")
This output is in line with my observation that the inetd server is not running. Furthermore, it cannot be started manually by /etc/rc.d/inetd start. This leads to the following output:
Will not 'start' inetd because inetd_enable is NO.
This leads to the following questions:
- Did I add the configuration to the wrong file?
- Did I oversee something?
- Is the observed behavior a feature I do not expect?
I would be happy if anyone could try to reproduce the behavior or give an explanation. Please tell me if you need further information. Thanks for the help!
---8<---
FreeNas Build: FreeNAS-8.0.1-RELEASE-amd64 (8081)
/etc/rc.conf / /conf/base/etc/defaults/rc.conf:
#!/bin/sh
# This file is explicitly in the public domain. You may do with it
# anything you like.
# Fallback settings for FreeNAS. This file is read in first and is
# then overidden by the values in the database.
# *** need to clean this up
hostname="freenas"
sshd_enable="YES"
inetd_enable="YES"
sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO).
dumpdev="NO" # Device to crashdump to (device name, AUTO, or NO).
background_fsck="NO"
harvest_interrupt="NO" # Entropy device harvests interrupt randomness
harvest_ethernet="NO" # Entropy device harvests ethernet randomness
harvest_p_to_p="NO" # Entropy device harvests point-to-point randomness
synchronous_dhclient="YES" # Start dhclient directly on configured
ntpd_enable="YES"
ntpd_sync_on_start="YES"
# open-vm-tools
vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"
# Silence syslogd about missing files
syslogd_flags="-s -C"
collectd_enable="YES"
fusefs_enable="YES"
devfs_system_ruleset="usbrules"
lighttpd_enable=YES