Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Sep 1999 01:00:29 -0700 (PDT)
From:      goran.lowkrantz@infologigruppen.se
To:        freebsd-gnats-submit@freebsd.org
Subject:   conf/13609: Some deamons not replacable at boot time via /etc/rc.conf
Message-ID:  <19990907080029.98D4515B18@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         13609
>Category:       conf
>Synopsis:       Some deamons not replacable at boot time via /etc/rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep  7 01:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Goran Lowkrantz
>Release:        3.3-RC
>Organization:
Infologigruppen Alfa AB
>Environment:
FreeBSD tandgrisner.ign.se 3.3-RC FreeBSD 3.3-RC #5: Sun Sep  5 13:11:28 CEST 1999     root@:/usr/src/sys/compile/TANDGRISNER  i386
>Description:
Some of the commonly replaces deamons don't have variables for the program path. Most of the deamons started in rc.network heve this but most other deamons stared from other scrips don't.

In the attched patch sendmail, syslogd and inetd are added to the replacable deamons.
>How-To-Repeat:

>Fix:
*** rc.orig	Mon Sep  6 00:43:12 1999
--- rc	Mon Sep  6 00:44:17 1999
***************
*** 226,232 ****
  	fi
  
  	rm -f /var/run/log
! 	echo -n ' syslogd';		syslogd ${syslogd_flags}
  fi
  echo '.'
  
--- 226,232 ----
  	fi
  
  	rm -f /var/run/log
! 	echo -n ' syslogd';		${syslogd_program} ${syslogd_flags}
  fi
  echo '.'
  
***************
*** 315,321 ****
  #
  echo -n starting standard daemons:
  if [ "X${inetd_enable}" != X"NO" ]; then
! 	echo -n ' inetd';	inetd ${inetd_flags}
  fi
  
  if [ "X${cron_enable}" != X"NO" ]; then
--- 315,321 ----
  #
  echo -n starting standard daemons:
  if [ "X${inetd_enable}" != X"NO" ]; then
! 	echo -n ' inetd';	${inetd_program} ${inetd_flags}
  fi
  
  if [ "X${cron_enable}" != X"NO" ]; then
***************
*** 327,333 ****
  fi
  
  if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
! 	echo -n ' sendmail';	/usr/sbin/sendmail ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then
--- 327,333 ----
  fi
  
  if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
! 	echo -n ' sendmail';	${sendmail_program} ${sendmail_flags}
  fi
  
  if [ "X${usbd_enable}" = X"YES" ]; then

*** defaults/rc.conf.orig	Mon Sep  6 00:40:54 1999
--- defaults/rc.conf	Mon Sep  6 00:42:59 1999
***************
*** 66,73 ****
--- 66,75 ----
  
  ### Network daemon (miscellaneous) & NFS options: ###
  syslogd_enable="YES"		# Run syslog daemon (or NO).
+ syslogd_program="syslogd"	# path to syslogd, if you want a different one.
  syslogd_flags=""		# Flags to syslogd (if enabled).
  inetd_enable="YES"		# Run the network daemon dispatcher (or NO).
+ inetd_program="inetd"		# path to inetd, if you want a different one.
  inetd_flags="-wW"		# Optional flags to inetd.
  #
  # named.  It may be possible to run named in a sandbox, man security for
***************
*** 200,205 ****
--- 202,208 ----
  usbd_enable="NO"	# Run the usbd daemon.
  usbd_flags=""		# Flags to usbd (if enabled).
  sendmail_enable="YES"	# Run the sendmail daemon (or NO).
+ sendmail_program="/usr/sbin/sendmail"	# path to sendmail, if you want a different one.
  sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled)
  dumpdev="NO"		# Device name to crashdump to (if enabled).
  enable_quotas="NO"      # turn on quotas on startup (or NO).


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990907080029.98D4515B18>