Bug 47762 - Heimdal KDC and Samba not restartet when changing IP (e.g. via DHCP)
Heimdal KDC and Samba not restartet when changing IP (e.g. via DHCP)
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Kerberos
UCS 4.3
Other Linux
: P4 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-06 12:53 CEST by Arvid Requate
Modified: 2021-05-14 16:33 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2018-09-06 12:53:32 CEST
When changing the IP address, e.g. via

ucr set interfaces/eth0/address=10.200.8.50

or via DHCP, the Heimdal KDC doesn't bind to the new IP address. The same applies to the Samba/AD builtin KDC. I guess we will have to add a restart script like we have for univention-directory-listener and univention-s4-connector in

/etc/network/if-post-down.d/
Comment 1 Arvid Requate univentionstaff 2018-09-06 20:17:06 CEST
The if-post-down.d script alone did not help: After reboot and receiving the address via DHCP, kinit still failed. Looks like something is out of order there.
Comment 2 Stefan Gohmann univentionstaff 2018-09-07 07:33:08 CEST
I've added a workaround for this in our test config files. Please remove it once the issue is fixed: 45f29d83
Comment 3 Stefan Gohmann univentionstaff 2018-09-07 08:04:41 CEST
(In reply to Stefan Gohmann from comment #2)
> I've added a workaround for this in our test config files. Please remove it
> once the issue is fixed: 45f29d83

And da4df577a in ucsschool.
Comment 4 Ingo Steuwer univentionstaff 2021-05-14 15:40:58 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.