Bug 805427

Summary: idnssoaserial does not honour the recommended syntax in rfc1912.
Product: Red Hat Enterprise Linux 6 Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: dpal, jgalipea, mkosek, pspacek, sgoveas
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-6.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:25:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gowrishankar Rajaiyan 2012-03-21 09:35:44 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-4.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
[root@primenova ~]# date
Wed Mar 21 04:21:29 EDT 2012
[root@primenova ~]# 

[root@primenova ~]# ipa dnszone-show lab.eng.pnq.redhat.com
  Zone name: lab.eng.pnq.redhat.com
  Authoritative nameserver: primenova.lab.eng.pnq.redhat.com.
  Administrator e-mail address: hostmaster.lab.eng.pnq.redhat.com.
  SOA serial: 2012210301        <<<<<<<<<
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  Active zone: TRUE
  Allow query: any;
  Allow transfer: none;
[root@primenova ~]#  


Actual results:
SOA serial: 2012210301 (YYYYDDMMnn)

Expected results:
SOA serial: 2012032101 (YYYYMMDDnn)

Additional info:
The recommended syntax is YYYYMMDDnn (YYYY=year, MM=month, DD=day, nn=revision number.) Ref: http://www.ietf.org/rfc/rfc1912.txt

Comment 2 Martin Kosek 2012-03-21 09:52:09 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2567

Comment 5 Steeve Goveas 2012-04-09 11:24:53 UTC
[root@wheeljack ~]# rpm -qa | grep ipa-server
ipa-server-2.2.0-8.el6.x86_64

[root@wheeljack ~]# ipa dnszone-show lab.phd.pnq.redhat.net
  Zone name: lab.phd.pnq.redhat.net
  Authoritative nameserver: wheeljack.lab.eng.pnq.redhat.com.
  Administrator e-mail address: hostmaster.lab.phd.pnq.redhat.net.
  SOA serial: 2012040901
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  Active zone: TRUE
  Allow query: any;
  Allow transfer: none;

[root@wheeljack ~]# date
Mon Apr  9 07:05:32 EDT 2012
[root@wheeljack ~]#

Expected results:
SOA serial: 2012040901 (YYYYMMDDnn)

Verified in package ipa-server-2.2.0-8.el6.x86_64

Comment 7 Martin Kosek 2012-04-25 09:31:11 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 9 errata-xmlrpc 2012-06-20 13:25:14 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-2012-0819.html

Comment 10 Petr Spacek 2012-11-09 09:49:13 UTC
IPA 3.0 with bind-dyndb-ldap version 2.0 will not follow RFC1912 syntax by design. Please do not reopen this bug.

New syntax is unix timestamp - number of seconds from midnight 1.1.1970.