Bug 1014974 - Augeas cyrus-imap lens do not produce valid config entries + FIX
Summary: Augeas cyrus-imap lens do not produce valid config entries + FIX
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: augeas
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: lutter@watzmann.net
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 09:00 UTC by Dietmar Kling
Modified: 2014-03-15 15:11 UTC (History)
4 users (show)

Fixed In Version: augeas-1.2.0-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-15 15:11:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
FIX for augeas lens for cyrus-imapd (482 bytes, patch)
2013-10-03 09:00 UTC, Dietmar Kling
no flags Details | Diff

Description Dietmar Kling 2013-10-03 09:00:28 UTC
Created attachment 806944 [details]
FIX for augeas lens for cyrus-imapd

Description of problem:


If you add add an new parameter via the augtool to cyrus-imapd.conf
then the entry is not in a valid syntax, and cyrus parser complains
"syntax error"

Tested with

* cyrus-imapd-2.4.17-6
* augeas-1.1.0-2.fc20.x86_64

Version-Release number of selected component (if applicable):
augeas-libs-1.1.0-2.fc20.x86_64

How reproducible:


Steps to Reproduce:
1. Install augtool
2. Install cyrus-imapd
3. Make sure that parameter in step 4 does not exist in imapd.conf
4. augtool set /files/etc/imapd.conf/munge8bit files
5. start cyrus-imapd --> FAILS


Actual results:
in imapd.conf:
munge8bit : false

in log from cyrus-imapd (line number may vary):
invalid option name on line 16 of configuration file /etc/imapd.conf


Expected results:
For cyrus-imapd in this version you must not use a space after parameter name

cyrus-imapd.conf should read 
munge8bit: false


Additional info:

PATCH ATTACHED

Comment 1 Dominic Cleal 2013-10-07 07:22:46 UTC
Thanks for the patch, merged upstream with an additional test.

commit 37a12d3b163fd424475e36bab79a8862a560a07b
Author: Dietmar Kling <baldur>
Date:   Mon Oct 7 08:15:01 2013 +0100

    Cyrus_Imapd: create new entries without space before separator
    
    Fixes RHBZ#1014974

Comment 2 Fedora Update System 2014-02-12 13:33:51 UTC
augeas-1.2.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/augeas-1.2.0-1.fc20

Comment 3 Fedora Update System 2014-02-14 07:54:34 UTC
Package augeas-1.2.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing augeas-1.2.0-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2452/augeas-1.2.0-1.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-03-15 15:11:02 UTC
augeas-1.2.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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