Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 20:46:06 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Gavin Atkinson <gavin@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Syslog doesn't start at boot
Message-ID:  <200904292046.13280.doconnor@gsoft.com.au>
In-Reply-To: <1240995868.93326.11.camel@buffy.york.ac.uk>
References:  <200904291157.07441.doconnor@gsoft.com.au> <1240995868.93326.11.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1307014.3gW8lPz3F9
Content-Type: multipart/mixed;
  boundary="Boundary-01=_3bD+Jel2Y6EhrmU"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_3bD+Jel2Y6EhrmU
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wed, 29 Apr 2009, Gavin Atkinson wrote:
> On Wed, 2009-04-29 at 11:56 +0930, Daniel O'Connor wrote:
> > Hi,
> > I have an odd problem with my 3 week old -current install - syslogd
> > isn't started. Or rather, it is started before lo0 is up and it
> > fails to start, eg..
>
> Odd.  What does "rcorder /etc/rc.d/*" show?
>
> The rc.d REQUIRE lines should prevent this from happening: (this is
> on a RELENG_7 system, but it should be similar on HEAD)

I've attached the output.

> ga9@buffy% grep REQUIRE /etc/rc.d/syslogd
> # REQUIRE: mountcritremote cleanvar newsyslog
>
> ga9@buffy% grep REQUIRE /etc/rc.d/mountcritremote
> # REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec
>
> ga9@buffy% grep REQUIRE /etc/rc.d/NETWORKING
> # REQUIRE: netif netoptions routing network_ipv6 isdnd ppp
> # REQUIRE: routed mrouted route6d mroute6d resolv
>
> (I believe it's netif that configures the network interfaces)

Mine's the same..
[inchoate 19:53] ~ >grep REQUIRE /etc/rc.d/syslogd
# REQUIRE: mountcritremote cleanvar newsyslog
[inchoate 19:53] ~ >grep REQUIRE /etc/rc.d/mountcritremote
# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec
[inchoate 19:53] ~ >grep REQUIRE /etc/rc.d/NETWORKING
# REQUIRE: netif netoptions routing network_ipv6 ppp
# REQUIRE: defaultroute routed mrouted route6d mroute6d resolv

I can't find any reference to syslogd outside of the syslogd rc.d script=20
either..

Argh!
I've replaced syslogd with a script which logs where it's being run from=20
so hopefully that will be more illuminating.

 -- =20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--Boundary-01=_3bD+Jel2Y6EhrmU
Content-Type: text/plain;
  charset="utf-8";
  name="rcorder.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="rcorder.txt"

/etc/rc.d/dumpon
/etc/rc.d/ddb
/etc/rc.d/initrandom
/etc/rc.d/geli
/etc/rc.d/gbde
/etc/rc.d/encswap
/etc/rc.d/ccd
/etc/rc.d/swap1
/etc/rc.d/early.sh
/etc/rc.d/fsck
/etc/rc.d/root
/etc/rc.d/hostid
/etc/rc.d/mdconfig
/etc/rc.d/mountcritlocal
/etc/rc.d/zfs
/etc/rc.d/FILESYSTEMS
/etc/rc.d/var
/etc/rc.d/cleanvar
/etc/rc.d/random
/etc/rc.d/adjkerntz
/etc/rc.d/atm1
/etc/rc.d/hostname
/etc/rc.d/ipfilter
/etc/rc.d/ipnat
/etc/rc.d/ipfs
/etc/rc.d/kldxref
/etc/rc.d/sppp
/etc/rc.d/addswap
/etc/rc.d/auto_linklocal
/etc/rc.d/sysctl
/etc/rc.d/serial
/etc/rc.d/netif
/etc/rc.d/ip6addrctl
/etc/rc.d/atm2
/etc/rc.d/pfsync
/etc/rc.d/pflog
/etc/rc.d/pf
/etc/rc.d/ppp
/etc/rc.d/routing
/etc/rc.d/ip6fw
/etc/rc.d/network_ipv6
/etc/rc.d/devd
/etc/rc.d/ipsec
/etc/rc.d/ipfw
/etc/rc.d/nsswitch
/etc/rc.d/resolv
/etc/rc.d/mroute6d
/etc/rc.d/route6d
/etc/rc.d/mrouted
/etc/rc.d/routed
/etc/rc.d/defaultroute
/etc/rc.d/netoptions
/etc/rc.d/NETWORKING
/etc/rc.d/mountcritremote
/etc/rc.d/devfs
/etc/rc.d/ipmon
/etc/rc.d/mdconfig2
/etc/rc.d/newsyslog
/etc/rc.d/syslogd
/etc/rc.d/savecore
/etc/rc.d/ldconfig
/etc/rc.d/archdep
/etc/rc.d/abi
/etc/rc.d/SERVERS
/etc/rc.d/named
/etc/rc.d/ntpdate
/etc/rc.d/rpcbind
/etc/rc.d/nisdomain
/etc/rc.d/ypserv
/etc/rc.d/ypxfrd
/etc/rc.d/ypupdated
/etc/rc.d/ypbind
/etc/rc.d/ypset
/etc/rc.d/yppasswdd
/etc/rc.d/wpa_supplicant
/etc/rc.d/accounting
/etc/rc.d/nfsclient
/etc/rc.d/amd
/etc/rc.d/atm3
/etc/rc.d/auditd
/etc/rc.d/tmp
/etc/rc.d/cleartmp
/etc/rc.d/dmesg
/etc/rc.d/ipxrouted
/etc/rc.d/kerberos
/etc/rc.d/kadmind
/etc/rc.d/keyserv
/etc/rc.d/kpasswdd
/etc/rc.d/gssd
/etc/rc.d/quota
/etc/rc.d/nfsserver
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/statd
/etc/rc.d/lockd
/etc/rc.d/pppoed
/etc/rc.d/pwcheck
/etc/rc.d/virecover
/etc/rc.d/DAEMON
/etc/rc.d/watchdogd
/etc/rc.d/ugidfw
/etc/rc.d/timed
/etc/rc.d/apm
/etc/rc.d/apmd
/etc/rc.d/bootparams
/etc/rc.d/hcsecd
/etc/rc.d/bthidd
/etc/rc.d/local
/etc/rc.d/lpd
/etc/rc.d/motd
/etc/rc.d/mountlate
/etc/rc.d/nscd
/etc/rc.d/ntpd
/etc/rc.d/powerd
/etc/rc.d/rarpd
/etc/rc.d/sdpd
/etc/rc.d/rfcomm_pppd_server
/etc/rc.d/rtadvd
/etc/rc.d/rwho
/etc/rc.d/LOGIN
/etc/rc.d/syscons
/etc/rc.d/sshd
/etc/rc.d/sendmail
/etc/rc.d/cron
/etc/rc.d/jail
/etc/rc.d/localpkg
/etc/rc.d/securelevel
/etc/rc.d/power_profile
/etc/rc.d/othermta
/etc/rc.d/natd
/etc/rc.d/msgs
/etc/rc.d/moused
/etc/rc.d/mixer
/etc/rc.d/inetd
/etc/rc.d/idmapd
/etc/rc.d/hostapd
/etc/rc.d/geli2
/etc/rc.d/ftpd
/etc/rc.d/ftp-proxy
/etc/rc.d/dhclient
/etc/rc.d/bsnmpd
/etc/rc.d/bridge
/etc/rc.d/bluetooth
/etc/rc.d/bgfsck

--Boundary-01=_3bD+Jel2Y6EhrmU--

--nextPart1307014.3gW8lPz3F9
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iD8DBQBJ+Db95ZPcIHs/zowRAv8vAKCk11fIgTdPg57Sb5RXO8F/0YTrbACgmVrc
954a+8eYU8R5OSzou6230n4=
=vUGS
-----END PGP SIGNATURE-----

--nextPart1307014.3gW8lPz3F9--



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