Re: FreeBSD services startup problems

From: Xin Li <delphij_at_delphij.net>
Date: Wed, 26 Dec 2012 12:50:55 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12/26/12 15:33, Derrick Dantavious Edwards wrote:
> Hi, I am having problems with startup services in FreeBSD current.
> I am at a loss on where the problem lies. Even though I have
> services explicitly defined in rc.conf for startup they do not
> start. Startup scripts both in /etc/rc.d (powerd/moused) and
> /usr/local/etc/rc.d (dbus,hald, and gdm ) are experiencing this.
> Initially, I checked out my rc.conf file as well as the
> /etc/defaults/rc.conf because I continue to get this message.
> 
> /etc/rc: WARNING: $auditdistd_enable is not set properly - see 
> rc.conf(5).
> 
> This is weird because I don’t have this service defined in my
> rc.conf. I even went so far as commenting out all entries in
> /etc/defaults/rc.conf that related to auditdistd to verify that it
> was not the problem. This was done because I disabled the service
> in my /etc/rc.conf with no joy. I also checked the /etc/rc file
> against what is in /usr/src and they match up.

Quick fix:

rm /etc/defaults/rc.conf
mergemaster -Ui

The problem is that your /etc/defaults/rc.conf is inconsistent with
/etc/rc.d.  If you make any changes to /etc/defaults/rc.conf (which
you shouldn't), please migrate the change to /etc/rc.conf{.local} and
discard these changes.

Cheers,
- -- 
Xin LI <delphij_at_delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJQ22MvAAoJEG80Jeu8UPuzNK0H/1pKulntacEr0HJqLIYiv/be
XGTeYixSnRJFSD7PjmYLizRc6ayF+UWXKD7NQzH/pp4mY31Sq+mghO7f1gyDzmY/
nGZnmO9z3SxCyI5MDJcvyrKMc8YU3abrfczJZ8CqDojnz3mLZ2ykhaZfDoOm0Wd5
8kl+nun6RHEdnahoW4FqZ/U3IIeEu5k1130urJxMO/H2C+4yOqS/Eq7ELKc0tU7Q
B2egmi6Wfbm005h9oMxEPuPD7zvwoCna7GZJugdr7uezsIq3LUirkyqSqcyc9v2g
kFLCcnPYGxPdzopPxP44bz0TocJZhuvEaxuiPWyIP8M2c5NzmlcTTvUMepwN8pw=
=O3jx
-----END PGP SIGNATURE-----
Received on Wed Dec 26 2012 - 19:51:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC