View previous topic :: View next topic |
Author |
Message |
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 2:43 am Post subject: -bash: /dev/null: Permission denied woes |
|
|
I updated my system today via "emerge -u world" and since I rebooted, everytime I try to login I get:
"-bash: /dev/null: Permission denied."
Changing the permissions to "o+rw /dev/null" fixes the problem, until I reboot. Then it is back to the above error.
Does anyone know what package is broken that is causing this strange error, and how I might permanently resolve this issue rather than having to change the permissions of /dev/null everytime I reboot?
Thanks in advance. |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 3:01 am Post subject: |
|
|
Thank you Gherald for the link. I did search teh forum, but didn't find anything that worked on a permanent basis. Apparently I have yet to master the art of forum searching.
That link *mostly* fixes the problem. I don't get the /dev/null error anymore, but now my aterm/xterm terminals won't open from the fluxbox menu.
Any ideas? |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Thu May 12, 2005 3:03 am Post subject: |
|
|
did xterm, aterm work using the manual chmod command? |
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 3:04 am Post subject: |
|
|
No, unfortunately they didn't. |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Thu May 12, 2005 3:06 am Post subject: |
|
|
Seperate problem then (although might still be udev related).
Is it just the fluxbox menu that can't start terms? i.e. can you open terms some other way? |
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 3:08 am Post subject: |
|
|
I tried using "fbrun" to execute the terminals, still to no avail. |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Thu May 12, 2005 3:12 am Post subject: |
|
|
Does the console from which you started X show anything? How about /var/log/Xorg.0.log ? |
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 3:19 am Post subject: |
|
|
The console from which I started x shows nothing revealing, but the Xorg.0.log does.
Pardon the gigantic size of this next snip, but its the best way to explain:
Code: |
(WW) fglrx(0): Cannot read colourmap from VGA. Will restore with default
(II) fglrx(0): UMM area: 0xe8501000 (size=0x03aff000)
(II) fglrx(0): driver needs X.org 6.8.x
(II) fglrx(0): detected X.org 6.8.2
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xe8000000 FBMappedSize: 0x04000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 768)
(II) fglrx(0): Largest offscreen area available: 1024 x 7419
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(**) fglrx(0): Video overlay enabled on CRTC1
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "ImPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Mouse1: SmartScroll: 1
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) Keyboard1: XkbRules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) Keyboard1: XkbModel: "pc101"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!
|
I'm not sure what to do about these honestly. |
|
Back to top |
|
|
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Thu May 12, 2005 3:26 am Post subject: |
|
|
i too am getting this error. I believe it is a udev problem but i have no idea on how to fix this. I am really confused right bow because nothing except what i put in fluxbox-auto start is working. I cannot seem to get even xmms up and running. So play anybody with any idea on how to fix this please respond asap... thanks.....
do you think downgading to the old udev will fix this prob? _________________ Don't ever tell anybody anything. If you do, you start missing everybody. |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu May 12, 2005 8:32 am Post subject: |
|
|
Hell-Razor wrote: | I believe it is a udev problem but i have no idea on how to fix this. |
Same problem here. Solved running etc-update for upgrade the /etc/udev/ruled.d/50-udev.rules file
EDIT: Same solution on bugzilla _________________ Ciao da me! |
|
Back to top |
|
|
Hell-Razor Guru
Joined: 10 Jun 2004 Posts: 458
|
Posted: Thu May 12, 2005 2:48 pm Post subject: |
|
|
randomaze ---
thanks dont know what i would do without you =). I just got the message and i am in school, but i will try it as soon asa i get home. I downgraded a udev version and it fixed the problem for me. _________________ Don't ever tell anybody anything. If you do, you start missing everybody. |
|
Back to top |
|
|
grassushi n00b
Joined: 11 Feb 2005 Posts: 54
|
Posted: Thu May 12, 2005 5:26 pm Post subject: |
|
|
Downgrading also fixed this problem for me. |
|
Back to top |
|
|
robbz n00b
Joined: 27 Mar 2005 Posts: 33
|
Posted: Thu May 12, 2005 11:13 pm Post subject: |
|
|
I had it, but got it solved with the commands below:
emerge --unmerge udev
rm -r /etc/udev
emerge udev _________________ RD |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Fri May 13, 2005 10:30 pm Post subject: |
|
|
this is definitely a udev problem -- i've just finished applying udev "upgrades" to my box, and now i'm getting hit with this error too.
udev in the x86 stable branch is now broken. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Fri May 13, 2005 10:41 pm Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=92333
now this is wierd. i just "upgraded" my stable branch box to udev-056 and as soon as i ran dispatch-conf, i started having the permission errors at logon, such as the infamous "-bash: /dev/null: Permission denied."
interestingly, the problem appears to have disappeared after a reboot. (!) _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
LogicalGambit n00b
Joined: 02 Oct 2004 Posts: 12
|
Posted: Sat May 14, 2005 11:05 pm Post subject: |
|
|
I had the same problem as stated above with the permission denied with /dev/null
Rebooted, and unfortunatly still had the same problem...
When trying to run fluxbox... It boots fine, however none of the terminals show up when I try to run them...
Mozilla on the other hand works...
Currently I am downgrading from udev-056 to udev-045 to see if it will fix my problems... |
|
Back to top |
|
|
LogicalGambit n00b
Joined: 02 Oct 2004 Posts: 12
|
Posted: Sat May 14, 2005 11:09 pm Post subject: |
|
|
Yup... that fixed my problem...
Anyone know what udev is used for?
We might want to say that udev is unstable in x86 |
|
Back to top |
|
|
ZippyJay n00b
Joined: 30 Nov 2004 Posts: 73 Location: Ix
|
Posted: Mon May 23, 2005 2:39 pm Post subject: |
|
|
I had the same issue when logging in. I had updated my system and forgot to run etc-update and update the config files that changed. Once I updated them, the problems was gone.
I don't get the error anymore. Seems to have fixed it. _________________ ZippyJay |
|
Back to top |
|
|
|