🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6320

Re: Something is trashing /dev/null

#6320
From: Daryl Gaumer
Date: Thu, 04 Apr 1996 00:00
37 lines
1756 bytes
Keith Middlekauff (keith@gvn.net) wrote:
: I have an HP 715/50 running hp-ux 9.05 and running INN1.4sec
: everything has been going well then in the last couple of days,
: /dev/null changes from a char. device file to an ordinary file and the
: permissions and ownerships change.

: -rw-rw----   1 root     sys           0 Apr  2 22:59 /dev/null

: It used to be something like.

: crw-rw-rw- 1 root   root       3 0x000002  /dev/null

: I notice it happens when cron sends mail to news that
: it can't open /dev/null

: Any help appreciated

: Keith

It sounds like process/script with uid of root and gid of sys (with
a umask of 022) is removing /dev/null, then creating it.

Looking at the modification timestamp of /dev/null.  What was running
at this time?

The /dev directory on my workstation running HP-UX 10.01 is (output
of 'll -d /dev'):

   dr-xr-xr-x  11 bin      bin         4096 Apr  1 12:02 /dev

The following is the 'll' output for the /dev/null file on my workstation:

   crw-rw-rw-   1 bin      bin        3 0x000002 Apr  3 20:54 /dev/null

-- darylg

Technical Details
Message-ID: <4jvl34$q2o@hpax.cup.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.hpux.mbox.zip!not-for-mail
References: <4jt9e4$q8n@gvns1.gvn.net>

Show Full Headers
Complete Article Headers
Message-ID: <4jvl34$q2o@hpax.cup.hp.com>
Subject: Re: Something is trashing /dev/null
Date: Thu, 04 Apr 1996 00:00:00 +0000
From: darylg@cup.hp.com (Daryl Gaumer)
References: <4jt9e4$q8n@gvns1.gvn.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.hpux.mbox.zip!not-for-mail
X-Deja-AN: 145841189
Distribution: inet
Followup-to: comp.sys.hp.hpux,news.software.nntp
Organization: Hewlett Packard Cupertino Site
Newsgroups: comp.sys.hp.hpux,news.software.nntp