I have a jail, running in FreeBSD 6, which starts sshd and syslogd, but doesn't start any of the programs from /usr/local/etc/rc.d

All the appropriate variables are in /etc/rc.conf for the various programs (postfix, spamd, clamsmtp, freshclam). I am able to run the programs manually by going to /usr/local/rc.d and doing "./<script> start"

Any clues/suggestions?

** My rc.conf for the real machine is:
hostname="<hostname>"
defaultrouter="<valid router IP>"
ifconfig_em0="inet <IP> netmask 255.255.255.0"
ifconfig_fxp0="inet <Public IP> netmask 255.255.255.0"
sshd_enable="YES"
usbd_enable="YES"
sendmail_enable="NONE"

ntpdate_enable="YES"
ntpdate_flags="-b sundial.columbia.edu" #-b Option needed when calling ntpdate at bootup
openntpd_enable="YES"

syslogd_flags="-s -s -a <IP>"

jail_enable="YES"        # Set to NO to disable starting of any jails
jail_list="mx14" # list of jails. space separated name
jail_set_hostname_allow="NO" # Allow root user in jail to change hostname

#jail specific settings for jail "mx14" jail_mx14_rootdir="<jail path>" jail_mx14_hostname="mx14.<mydomain>" jail_mx14_ip="<valid external IP>" jail_mx14_exec_start="/bin/sh /etc/rc" jail_mx14_devfs_enable="YES"


** The rc.conf for the jail is:
defaultrouter="<valid router IP>"        # Set to default gateway (or NO).
clear_tmp_enable="YES"  # Clear /tmp at startup.
sshd_enable="YES"

sendmail_pidfile="/data/queue/pid/master.pid"
sendmail_procname="/usr/local/libexec/postfix/master"
sendmail_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"

clamsmtpd_enable="YES"
clamsmtpd_conf="/usr/local/etc/clamsmtpd.conf"
clamsmtpd_pid="/var/run/clamav/clamsmtpd.pid"

clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to