#8025 ipa-kdc-proxy.conf is not versioned so not updated on upgrades
Closed: invalid 4 years ago by rcritten. Opened 4 years ago by rcritten.

Issue

ipa-kdc-proxy.conf is not versioned so will not be updated on upgrades if a change is needed (like the move from directly calling init.py in 2cd6788

It needs a VERSION header added:

# VERSION 1 - DO NOT REMOVE THIS LINE

and a call to:

upgrade_file(
    sub_dict,
    paths.HTTPD_IPA_KDCPROXY_CONF,
    os.path.join(paths.USR_SHARE_IPA_DIR, "ipa-kdc-proxy.conf.template")
)

I'm pretty sure that an un-versioned file will be upgraded if a VERSION appears.


I believe version 2 is added now to ipa-kdc-proxy.conf

And find_version() will read that.
pattern = "^[\s#]VERSION\s+([0-9]+)\s+."

You're right, fixed in 0c0a392

This is in the 4.8.0 tag. I'm going to close this as invalid.

Metadata Update from @rcritten:
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata