Bug 1665739

Summary: Jmap incorrectly included in configuration
Product: [Fedora] Fedora Reporter: Tim Coote <tim+redhat.com>
Component: cyrus-imapdAssignee: Pavel Zhukov <pzhukov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: code, dan, j, pokorra.mailinglists, pzhukov, vanmeeuwen+fedora, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cyrus-imapd-3.0.8-3.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-24 04:30:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1663011, 1663331    
Bug Blocks:    

Description Tim Coote 2019-01-13 13:51:39 UTC
Description of problem:
The fc29 version of cyrus-imapd includes a reference to the jmap http module, so the service will not start.

Version-Release number of selected component (if applicable):
cyrus-imapd-3.0.8-1.fc29.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. Create f29 vagrant box, eg with Vagrantfile:
Vagrant.configure("2") do |config|
  config.vm.box = "fedora/29-cloud-base"
end
vagrant up, and vagrant ssh
2. `sudo dnf install cyrus-imapd`
3. `sudo dnf start cyrus-imapd`

Actual results:
Service fails, including this error:
```
 invalid value 'jmap' for httpmodules in line 55
```

Expected results:
cyrus-imapd.service should start

Additional info:
the rawhide version appears to have fixed this:
```
diff /etc/imapd.conf /vagrant/imapd.conf.30 
55c55
< httpmodules: caldav carddav domainkey freebusy ischedule jmap rss tzdist webdav
---
> httpmodules: caldav carddav domainkey freebusy ischedule rss tzdist webdav
```

As this is an issue with the configuration file, would it make sense to include a note in the upgrade process that `cyrus-imapd` has removed support for `jmap`, pending the protocol stabilising, as amended `/etc/imapd.conf`s would not overwrite existing ones from earlier releases?

Comment 1 Tim Coote 2019-01-13 13:54:20 UTC
nb there is a related bug (1643801), which is where googling the error takes you. However, that bug's blocked on a more complete test, I think.

Comment 2 Pavel Zhukov 2019-01-13 18:24:39 UTC
*** Bug 1665738 has been marked as a duplicate of this bug. ***

Comment 3 Pavel Zhukov 2019-01-13 18:26:16 UTC
Thank you for bug report.
Jmap has been removed from rawhide's configuration but still exists in F29.

Comment 4 Fedora Update System 2019-01-15 18:33:29 UTC
cyrus-imapd-3.0.8-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3e519f8d1d

Comment 5 Fedora Update System 2019-01-16 03:31:29 UTC
cyrus-imapd-3.0.8-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3e519f8d1d

Comment 6 Fedora Update System 2019-01-24 04:30:53 UTC
cyrus-imapd-3.0.8-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.