Bug 30408 - listener in appliance setup when changing from DHCP to a fixed IP addresss
listener in appliance setup when changing from DHCP to a fixed IP addresss
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 3.1
Other Linux
: P4 normal (vote)
: UCS 3.1-0-errata
Assigned To: Arvid Requate
Felix Botner
:
Depends on:
Blocks: 30412
  Show dependency treegraph
 
Reported: 2013-02-13 09:25 CET by Alexander Kläser
Modified: 2013-12-11 16:04 CET (History)
5 users (show)

See Also:
What kind of report is it?: ---
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): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-02-13 09:25:02 CET
The same problem applies to the listener.


+++ This bug was initially created as a clone of Bug #30119 +++

The s4connector is not synchronizing new LDAP entries when booting in appliance
mode and configuring a master system with Samba4 + changing the DHCP IP address
to a fixed static address. strace shows that the s4connector hangs while
reading from a socket. The problem is reproducible with the current UCS VMware
image. This behaviour is possibly due to an open LDAP connection to the old
DHCP IP address that gets invalidated after system setups cleanup (which is
executed as soon as the user is confirming to continue booting). A restart of
the s4connector in the appliance hooks, as well as a "nscd -i hosts" does not
change this behaviour.
Comment 1 Alexander Kläser univentionstaff 2013-02-13 09:27:18 CET
Suggested solution: similar to the s4connector, a script to perform a restart of the listener in /etc/network/if-down.d .
Comment 2 Stefan Gohmann univentionstaff 2013-02-13 09:58:01 CET
For Bug #29885 we changed the Appliance manual:
 http://wiki.univention.de/index.php?title=UCS_Appliance#Configuration

With the update to this errata the file /etc/network/if-down.d/appliance-listener should be removed.
Comment 3 Stefan Gohmann univentionstaff 2013-02-13 11:01:38 CET
The file must be moved to /etc/network/if-post-down.d/

Otherwise the virtual interface is still up.
Comment 4 Arvid Requate univentionstaff 2013-02-13 14:35:18 CET
Fixed in errata3.1-0 and ucs3.1-1.
Advisory: 2013-02-13-univention-directory-listener.yaml
Changelog: changelog-3.1-1

How about adding it to /etc/network/if-up.d/ to?
Comment 5 Felix Botner univentionstaff 2013-02-20 15:18:20 CET
OK, after booting in appliance mode and setting up a master with univention-samba4 and univention-s4-connector (and changing the DHCP IP addressto a fixed static address) the connector now  synchronizes UDM Objects to samba4.

OK - errata3.1-0
OK - ucs3.1-1
OK - Advisory
OK - Changelog
Comment 6 Moritz Muehlenhoff univentionstaff 2013-02-27 12:13:12 CET
http://errata.univention.de/3.1-errata55.html