Bug #5977
closed
Machine crash when double-tabbing through directory
Added by Graham Stephens about 7 years ago.
Updated about 7 years ago.
Description
In a non-global zone (using zlogin) with zvol passed from global zone (add device), double-tabbing through the /dev directory structure to find device causes system crash.
Repeatable.
Files
I have found that using ls to list the device file causes a crash as well.
It may be that I have misconfigured zonecfg - this is new to me - but if that is the case, the system let me do it!
It was a misconfig after all - there are several issues with the OmniOS docs.
I'm still surprised it is so easy to crash the whole system though.
Please close this bug report.
Could you describe what exactly you did as this should be fixed, not closed?
The problems were with the device string in the add device section of zonecfg:
1) A "/*" at the end of the device string (in effect pointing past where the zvol is); this seems to be what is causing the crash.
2) The string referenced the rdsk, not the dsk. I don't think this caused the crash problem, but the Oracle docs say that using rdsk is a bad idea.
I've sent a separate message to the OmniOS discuss list regarding the change to the Wiki.
Thanks Yuri.
According to Dan at Omni (who looked at the crash dump for me), this is a repeat of bug 5421 which has been fixed in the latest release.
Thanks.
- Is duplicate of Bug #5421: devzvol_readdir() needs to be more careful with strchr added
- Status changed from New to Closed
Also available in: Atom
PDF