#8025 ipa-kdc-proxy.conf is not versioned so not updated on upgrades
Closed: invalid by rcritten. Opened 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 2cd6788c3f52a9b87f24b9b3e57d66a864397966

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 0c0a392dd0c8a7d77a1e9f571cf44c6af446c07f

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)

Metadata