Description of problem: Inappropriate ioctl for device when running CA.pl Version-Release number of selected component (if applicable): openssl-devel-0.9.8b-8.3.fc6 openssl-perl-0.9.8b-8.3.fc6 openssl-0.9.8b-8.3.fc6 How reproducible: Constant Steps to Reproduce: 1. strace /etc/pki/tls/misc/CA.pl -newca 2. 3. Actual results: without strace result is that you are returned to a prompt. With strace you can see that it dies with Inappropriate ioctl for device. Expected results: Should be prompted to start CA creation Additional info:
Can you please attach the strace?
I see that this (immediate return to prompt after running the command) happens when the CA directory hierarchy is already filled with something. Also note, that the CA.pl script should be run with cd to the directory /etc/pki/tls/misc as it is writing the hierarchy to ../../CA.
Tomas, You are correct. This only happens when the CA directory is full. Sorry, I was sure I had tested this on another system but apparently there was an error in my testing.
The CA and CA.pl scripts would really appreciate some patch love but this should be done upstream.