You are not logged in.

#1 2005-07-29 17:58:16

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

[SOLVED] 'NO more term hang' /dev/null changing permissions

Any ideas what could be initiating this?

I reviewed all the logs and noticed in the syslog that it started on the 26th:

syslog.log:Jul 26 06:56:07 bigdog syslog-ng[2813]: Changing permissions on special file /dev/null
syslog.log:Jul 26 09:12:43 bigdog syslog-ng[2813]: Changing permissions on special file /dev/null
syslog.log:Jul 26 12:05:48 bigdog syslog-ng[2813]: Changing permissions on special file /dev/null
syslog.log:Jul 26 13:49:45 bigdog syslog-ng[2813]: Changing permissions on special file /dev/null
syslog.log:Jul 27 10:35:47 bigdog syslog-ng[2807]: Changing permissions on special file /dev/null
syslog.log:Jul 27 19:25:17 bigdog syslog-ng[2811]: Changing permissions on special file /dev/null
syslog.log:Jul 28 05:21:25 bigdog syslog-ng[2795]: Changing permissions on special file /dev/null
syslog.log:Jul 28 14:06:12 bigdog syslog-ng[2803]: Changing permissions on special file /dev/null
syslog.log:Jul 28 16:42:27 bigdog syslog-ng[2860]: Changing permissions on special file /dev/null
syslog.log:Jul 28 19:16:26 bigdog syslog-ng[3493]: Changing permissions on special file /dev/null

So far, I haven't been able to track down what's causing it.  I'm poking through my pacman log to see what was loaded shortly before it started, so maybe that will help track it down.  But this is darn strange.


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#2 2005-07-29 20:55:14

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: [SOLVED] 'NO more term hang' /dev/null changing permissions

havent met this specifically but ;

whats its current permissions ? - maybe somethings just making sure its always writeable.

maybe try a cronjob and log what its permissions are on a every-so-many-minutes basis and see what procs are running in conjunction with it.

i hate these probs too, not much pain but its an itch u just cant  scratch! smile

Offline

#3 2005-07-29 22:22:27

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: [SOLVED] 'NO more term hang' /dev/null changing permissions

Yep, it's not a show-stopper; but having an issue like that drives me nuts until I solve it.  ;-)     Although.....It does cause my shell/terminal to hang if it's not writeable...(That's how I figured out there was an issue)..

I'll change it back to 666 permissions and everythings fine for a while and then at some point later I'll notice a term hang when I try to open it, go look and the darn thing is back to 600.  I haven't had time today to look farther, but I definitely will over the weekend. 

If there were any timing consistencies on when it happens, it would make it a LOT easier to track down.   lol  Like today, it happened at 08:01 this morning; I changed it back to 666 and so far it hasn't happened again today and it's now 18:17..  Yesterday it happened 4 times during the day.

I installed the following the day before it started happening, so I'll dig around in them to see if one may have started the issue (though it seems unlikely) - most of them were loaded for testing purposes anyway, and I don't need them:

bmp (0.9.7-3)
xmms-skins (0.3-1)
divx4linux (5.10-3)
mplayer (1.0pre7-1)
rpmextract (0-1)
rpmunpack (0-1)
ion (20040729-1)
screen (4.0.2-1)
ratpoison (1.3.0-2)

A cron job is a good idea, but I would have to run it about every 1 second to catch it.   I guess that wouldn't be too bad though, since it should only take a day or so.. ;-)


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#4 2005-07-29 22:30:25

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: [SOLVED] 'NO more term hang' /dev/null changing permissions

i think cron minimum is a minute, but theres options to do stuff by the second ! smile

maybe look here http://www.ussg.iu.edu/hypermail/linux/ … /0809.html

its old, but may indicate a kernel issue

Offline

#5 2005-07-29 22:42:29

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: [SOLVED] 'NO more term hang' /dev/null changing permissions

I cracked up when I saw that!  It's the same one I was just looking at, at a different link:
http://lists.debian.org/debian-user/200 … 05292.html
lol

I saw some other users mentioning that their term was hanging also, so I suppose it's possible that the kernel issue is back somehow..  I'm running all the latest from [current] and just a few devel packages (like fvwm)..  I'll take a peek at what else I'm running as devel that could be breaking it...   Hmmmmmm


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#6 2005-07-30 13:12:51

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: [SOLVED] 'NO more term hang' /dev/null changing permissions

Well, I finally solved the issue of my terminal hanging on startup.. 

<mumbles something about syslog, iptables, dev/null>


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

Board footer

Powered by FluxBB