RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 867019 - ccs certificates are not generated if current diretory is read only NFS
Summary: ccs certificates are not generated if current diretory is read only NFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ricci
Version: 6.3
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 881827
TreeView+ depends on / blocked
 
Reported: 2012-10-16 14:47 UTC by Tomas Rusnak
Modified: 2013-02-21 10:47 UTC (History)
2 users (show)

Fixed In Version: ccs-0.16.2-57.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 10:47:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to fix bz (811 bytes, patch)
2012-11-13 00:16 UTC, Chris Feist
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0453 0 normal SHIPPED_LIVE ricci bug fix and enhancement update 2013-02-20 21:07:44 UTC

Description Tomas Rusnak 2012-10-16 14:47:41 UTC
Description of problem:
ccs will not generate cacert.pem and privkey.pem files in ~/.ccs, if it's running for a first time on read-only NFS filesystem

Version-Release number of selected component (if applicable):
ccs-0.16.2-55.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. RHEL6.3 fresh install or manually remove ~/.ccs directory
2. service start ricci
3. mount some NFS storage as readonly and change current directory into it
3. ccs --lsmisc -h localhost

sh: 1: Read-only file system
Error opening Private Key /root/.ccs/privkey.pem
139859086989128:error:02001002:system library:fopen:No such file or directory:bss_file.c:355:fopen('/root/.ccs/privkey.pem','r')
139859086989128:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:357:
unable to load Private Key
Unable to connect to localhost, make sure the ricci server is started.

4. no certificates were generated
# ls /root/.ccs
cacert.config

  
Actual results:
ccs will not work without automatically generated certificates


Expected results:
ccs will generate certificates in any case

Comment 4 Chris Feist 2012-11-13 00:16:25 UTC
Created attachment 643824 [details]
Patch to fix bz

Comment 5 Chris Feist 2012-11-15 22:15:49 UTC
Before Fix:

[root@ask-02 ~]# rpm -q ccs
ccs-0.16.2-55.el6.x86_64
[root@ask-02 ~]# adduser testuser
[root@ask-02 ~]# su - testuser
[testuser@ask-02 ~]$ cd /var/log
[testuser@ask-02 log]$ ccs --lsmisc -h localhost
sh: 1: Permission denied
Error opening Private Key /home/testuser/.ccs/privkey.pem
139912025880392:error:02001002:system library:fopen:No such file or directory:bss_file.c:355:fopen('/home/testuser/.ccs/privkey.pem','r')
139912025880392:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:357:
unable to load Private Key
Unable to connect to localhost, make sure the ricci server is started.

After Fix:

[testuser@ask-02 log]$ rpm -q ccs
ccs-0.16.2-57.el6.x86_64
[testuser@ask-02 log]$ ccs --lsmisc -h localhost
localhost password: 
Resource Manager: 
CMAN: 
[testuser@ask-02 log]$

Comment 9 errata-xmlrpc 2013-02-21 10:47:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0453.html


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