Date: Tue, 13 May 2008 15:26:01 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: rc.d startup script problem Message-ID: <08D373863E038BE97764AA76@utd65257.utdallas.edu> In-Reply-To: <4829F26D.3000708@delphij.net> References: <14848575EFE82AE05B2027F2@utd65257.utdallas.edu> <4829F26D.3000708@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Tuesday, May 13, 2008 12:56:29 -0700 Xin LI <delphij@delphij.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Paul Schmehl wrote: >| This script will not start if you change the name or location of the >| conf file in /etc/rc.conf. For some reason it's not parsing >| /etc/rc.conf. Anyone know why? > > One suggestion, could you please try to execute the script with 'sh -x' > to see what it is actually executing? > I should mention, I'm running 7.0 STABLE # uname -imprsv FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #6: Wed Apr 16 17:14:28 CDT 2008 root@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386 i386 GENERIC This is odd. It finds the conf setting in /etc/rc.conf: + dbus_enable=YES + hald_enable=YES + sancp_agent_enable=YES + sancp_agent_conf=/usr/local/etc/sguil-sensor/sancp_agent-ANYSERVER.conf + sourced_files=:/etc/rc.conf::/etc/rc.conf.local: + [ -r /etc/rc.conf.local ] + _rc_conf_loaded=true + [ -f /etc/rc.conf.d/sancp_agent ] + run_rc_command start + _return=0 But then it never uses it. ??? + eval rc_flags=$sancp_agent_flags + rc_flags=-D -c /usr/local/etc/sguil-sensor/sancp_agent.conf -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08D373863E038BE97764AA76>