Bug 53773 - Add warning if trying to remove DHCP-server object
Add warning if trying to remove DHCP-server object
Status: NEW
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-13 09:22 CEST by Daniel Duchon
Modified: 2021-09-13 10:56 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021090621000153
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 Daniel Duchon univentionstaff 2021-09-13 09:22:29 CEST
If you try to remove a DHCP-Server-Object under cn=dhcp,$(ucr get ldap/base), there should be a warning, that the DHCP-Server afterwards may not be working anymore.
Comment 1 Florian Best univentionstaff 2021-09-13 10:26:44 CEST
Can you give more details?
Which object did you delete and which error message is the DHCP server then throwing when trying to start it again?
Comment 2 Philipp Hahn univentionstaff 2021-09-13 10:52:22 CEST
Under `dhcp/service` there is one `dhcp/server` entry, which ist used by `isc-dhcpd-ldap` to find its configuration. If you delete this, `dhcpd` will no longer start and throw errors.

There are other objects to, which you should not delete. Deleting is always dangerous if you do not understand the underlying concepts.