Re: Pesky message: cannot stat /var/run/utmp. Please "unset watch".
<[email protected]> Thu, 23 Jul 2026 18:41:49 +0200
| Newsgroups | gmane.linux.debian.user |
|---|---|
| Message-ID | <[email protected]> |
--70rW9zaYnZ6l5mJ2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 23, 2026 at 12:33:32PM -0400, Robert Heller wrote: > At Thu, 23 Jul 2026 10:12:31 -0400 Greg Wooledge <[email protected]> wrot= e: >=20 > > > > On Thu, Jul 23, 2026 at 09:15:05 -0400, Robert Heller wrote: > > > On a fresh install of trixie (Debian 13), I am getting this message. = Where is > > > it coming from? > > > > > > The message is: > > > > > > cannot stat /var/run/utmp. Please "unset watch". > > > > It would help enormously if you told us what command you ran to produce > > the message. >=20 > I'm not running any partitular command. This message occurs at every she= ll > prompt. I do have a set prompt in my .cshrc (I am using tcsh as my shell= ): >=20 > # > # set prompt > # > set me =3D `whoami` > if ("$me" !=3D "root") set prompt=3D"`hostname`% " > if ("$me" =3D=3D "root") set prompt=3D"`hostname`# " > # - Does it happen if you don't set your prompt? - does it happen if you invoke hostname directly? - does it happen (improbable) if you invoke whoami directly? This would help to bisect (trisect?) the problem. Cheers --=20 tom=C3=A1s --70rW9zaYnZ6l5mJ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCamJEOQAKCRAFyCz1etHa RucgAJ0d19IppW2VQXA61iJ78qniI4M/GwCfcSBVy3dSTR5joLQhPewv1PSSJdc= =FbuW -----END PGP SIGNATURE----- --70rW9zaYnZ6l5mJ2--