🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Keith Middlekauff Wed, 03 Apr 1996 00:00
Something is trashing /dev/null
#6256
Author: Keith Middlekauff
Date: Wed, 03 Apr 1996 00:00
22 lines
1069 bytes
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




Re: Something is trashing /dev/null
#6296
Author: Ulrich Windl
Date: Thu, 04 Apr 1996 00:00
6 lines
804 bytes
I guess some application accesses /dev/null as a file and tries to
remove and recreate it (like emacs /dev/null might possibly do).

Ulrich

Re: Something is trashing /dev/null
#6320
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads