Red Hat Bugzilla – Bug 240900
Inappropriate ioctl for device when running CA.pl -newca
Last modified: 2007-11-30 17:12:05 EST
Description of problem:
Inappropriate ioctl for device when running CA.pl
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. strace /etc/pki/tls/misc/CA.pl -newca
without strace result is that you are returned to a prompt. With strace you can
see that it dies with Inappropriate ioctl for device.
Should be prompted to start CA creation
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.