Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 240900 - Inappropriate ioctl for device when running CA.pl -newca
Inappropriate ioctl for device when running CA.pl -newca
Product: Fedora
Classification: Fedora
Component: openssl (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-05-22 14:41 EDT by Peter DeVries
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-23 08:52:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter DeVries 2007-05-22 14:41:41 EDT
Description of problem:

Inappropriate ioctl for device when running CA.pl

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. strace /etc/pki/tls/misc/CA.pl -newca
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:
Comment 1 Tomas Mraz 2007-05-23 07:23:59 EDT
Can you please attach the strace?
Comment 2 Tomas Mraz 2007-05-23 07:39:48 EDT
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.
Comment 3 Peter DeVries 2007-05-23 08:34:26 EDT
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.
Comment 4 Tomas Mraz 2007-05-23 08:52:33 EDT
The CA and CA.pl scripts would really appreciate some patch love but this should
be done upstream.

Note You need to log in before you can comment on or make changes to this bug.