Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2001 18:45:46 -0500
From:      Chris Johnson <cjohnson@palomine.net>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        stable@FreeBSD.ORG
Subject:   Re: syslogd blocking => can't su to root
Message-ID:  <20011230184545.A6319@palomine.net>
In-Reply-To: <20011230215027.A62327@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Dec 30, 2001 at 09:50:27PM %2B0000
References:  <20011230081106.A98698@palomine.net> <20011230111949.G2732-100000@nivomede.internal.lustygrapes.net> <20011230173548.A58662@walton.maths.tcd.ie> <20011230215027.A62327@walton.maths.tcd.ie>

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

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 30, 2001 at 09:50:27PM +0000, David Malone wrote:
> Actually, I've looked at the syslog(3) code and I think I understand
> what is going on. Syslog(3) won't block while sending a message to
> syslogd, but if it fails to do this then it tries to write the
> message to /dev/console. I guess it is getting stuck here, in the
> same way as syslogd is stuck.
>=20
> If someone has a machine in this state then if they hit control-t
> when su is stuck, then it should show up as stuck in state ttywai.
> I guess a fix for this would be to make syslog(3) write to /dev/console
> in a non-blocking way.
>=20
> There is actually a comment saying "don't worry about blocking; if
> the console blocks everything will". This doesn't seem to be true
> if network services could keep running.

That's the case in my situation. The box is running just fine, providing al=
l of
the services it always does. I just can't su to root, because syslogd can't
write "su to root," or whatever it says, on the console.

Chris

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8L6coyeUEMvtGLWERAqU8AJ41e5sOJoh9SS9TchBwt0J/9rk1ggCgsf8G
W6T9GWLJXDRW448wlqv0olY=
=Ulp9
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--

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




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