Re: 4.8-STABLE /dev/null issue

2003-06-05 Thread Scott Kupferschmidt
Hello,

I've followed those instructions and still a no go.  Enabled my crontab
line of:

* * * * * echo blah >/dev/null

And this is what happened:

crw-r--r--  1 root  wheel2,   2 Jun  4 14:45 /dev/null

Subject: Cron <[EMAIL PROTECTED]> echo blah >/dev/null

cannot create /dev/null: permission denied

If anyone else has some suggestions, please let me know.  This is starting
to become a rather big issue on 4.8-STABLE for me.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

On Wed, 4 Jun 2003, Sunil Sunder Raj wrote:

> Hi,
> The permissions on /dev/null is changed by some one. Please try
> 
> cd /dev
> rm null
> mknod null c 2 2
> chmod 666 null
> 
> regards
> SSR
> 
> 
> 
> >From: Scott Kupferschmidt <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: 4.8-STABLE /dev/null issue
> >Date: Tue, 3 Jun 2003 00:34:58 -0400 (EDT)
> >
> >Hello,
> >
> >This may have been previously discussed, but I have yet to find a solution
> >yet so looking to find some guidance here.
> >
> >I have a customer who has 2 servers, one is 4.8-RC and the other is
> >4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
> >however the one running 4.8-STABLE seems to have some random /dev/null
> >permission changes and I'm stumped.
> >
> >He runs a cron script (on both servers) and redirects the output to
> >/dev/null, and everytime he does it on the 4.8-STABLE the permissions
> >change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
> >blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
> >cron.
> >
> >Errors reported in /var/log/maillog are something like this:
> >
> >Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
> >open("/dev/null") failed: Permission denied
> >
> >Also, cron reports similar:
> >
> >Subject: Cron <[EMAIL PROTECTED]> echo blah >/dev/null
> >X-Cron-Env: 
> >X-Cron-Env: 
> >X-Cron-Env: 
> >X-Cron-Env: 
> >X-Cron-Env: 
> >
> >cannot create /dev/null: permission denied
> >
> >I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
> >still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
> >that is causing this that I am just overlooking here?
> >
> >Any advice is greatly appreciated, as of right now I am banging my head.
> >
> >Sincerely,
> >
> >Scott Kupferschmidt
> >ISPrime, Inc.
> >866.502.4678 ext. 3
> >AIM: Scott ISPrime - ICQ: 174337249
> >
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> 
> _
> HCL Beanstalk PCs. You could win one. 
> http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Interested?
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.8-STABLE /dev/null issue

2003-06-04 Thread Sunil Sunder Raj
Hi,
The permissions on /dev/null is changed by some one. Please try
cd /dev
rm null
mknod null c 2 2
chmod 666 null
regards
SSR


From: Scott Kupferschmidt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: 4.8-STABLE /dev/null issue
Date: Tue, 3 Jun 2003 00:34:58 -0400 (EDT)
Hello,

This may have been previously discussed, but I have yet to find a solution
yet so looking to find some guidance here.
I have a customer who has 2 servers, one is 4.8-RC and the other is
4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
however the one running 4.8-STABLE seems to have some random /dev/null
permission changes and I'm stumped.
He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
cron.
Errors reported in /var/log/maillog are something like this:

Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
open("/dev/null") failed: Permission denied
Also, cron reports similar:

Subject: Cron <[EMAIL PROTECTED]> echo blah >/dev/null
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
cannot create /dev/null: permission denied

I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
that is causing this that I am just overlooking here?
Any advice is greatly appreciated, as of right now I am banging my head.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
HCL Beanstalk PCs. You could win one. 
http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Interested?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.8-STABLE /dev/null issue

2003-06-03 Thread Chuck Swiger
Scott Kupferschmidt wrote:
[ ... ]
He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
cron.
I'd seen that happen once or twice recently; I thought maybe mergemaster had 
done it.  It's absolutely worth filing a pr about this, as more than a few 
things break (like sendmail, as you saw) if they can't talk to /dev/null.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4.8-STABLE /dev/null issue

2003-06-03 Thread Scott Kupferschmidt
Hello,

This may have been previously discussed, but I have yet to find a solution
yet so looking to find some guidance here.

I have a customer who has 2 servers, one is 4.8-RC and the other is
4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
however the one running 4.8-STABLE seems to have some random /dev/null
permission changes and I'm stumped.

He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
cron.

Errors reported in /var/log/maillog are something like this:

Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
open("/dev/null") failed: Permission denied

Also, cron reports similar:

Subject: Cron <[EMAIL PROTECTED]> echo blah >/dev/null
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

cannot create /dev/null: permission denied

I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
that is causing this that I am just overlooking here?

Any advice is greatly appreciated, as of right now I am banging my head.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4.8-STABLE /dev/null issue

2003-06-03 Thread Scott Kupferschmidt
Hello,

This may have been previously discussed, but I have yet to find a solution
yet so looking to find some guidance here.

I have a customer who has 2 servers, one is 4.8-RC and the other is
4.8-STABLE.  No problems have been noted on his server with 4.8-RC,
however the one running 4.8-STABLE seems to have some random /dev/null
permission changes and I'm stumped.

He runs a cron script (on both servers) and redirects the output to
/dev/null, and everytime he does it on the 4.8-STABLE the permissions
change from crw-rw-rw- to crw-r--r-- which is rather odd.  Anytime I 'echo
blah >/dev/null' just in a regular shell, nothing goes wrong, only when in
cron.

Errors reported in /var/log/maillog are something like this:

Jun  2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect:
open("/dev/null") failed: Permission denied

Also, cron reports similar:

Subject: Cron <[EMAIL PROTECTED]> echo blah >/dev/null
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

cannot create /dev/null: permission denied

I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and
still experience issues.  Was there a change between 4.8-RC and 4.8-STABLE
that is causing this that I am just overlooking here?

Any advice is greatly appreciated, as of right now I am banging my head.

Sincerely,

Scott Kupferschmidt
ISPrime, Inc.
866.502.4678 ext. 3
AIM: Scott ISPrime - ICQ: 174337249

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"