Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone and restore apps with well-known ports #7157

Open
DavidePrincipi opened this issue Nov 20, 2024 · 0 comments
Open

Clone and restore apps with well-known ports #7157

DavidePrincipi opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
milestone goal 👑 This describes an announced milestone goal

Comments

@DavidePrincipi
Copy link
Member

DavidePrincipi commented Nov 20, 2024

Some applications (e.g., Mail, Dnsmasq, Ejabberd, Samba) are restricted to one instance per node because they bind to well-known TCP/UDP port numbers. While the Software Center enforces this limitation through the org.nethserver.max-per-node=1 label, the clone and restore procedures currently do not respect this label. As a result, these procedures may fail to start the services due to port conflicts.

Proposed Solution:
Ensure that the max-per-node label is honored during restore and clone operations. This would prevent conflicts for apps limited to specific ports. Note that this solution may not address conflicts between distinct modules (e.g., Samba and Dnsmasq), which could compete for the same port (DNS 53).

Alternative Solutions:

  • Use the max-per-node label to issue a warning during the restore and clone process.
  • Modify application behavior to avoid starting services if a port is already occupied. For example, Samba could skip startup if Dnsmasq is already running on port 53, or vice-versa.
  • Provide detailed conflict reports to the user, including which applications or services are affected.

Additional context

N/A

See also

N/A

@DavidePrincipi DavidePrincipi added the milestone goal 👑 This describes an announced milestone goal label Nov 20, 2024
@DavidePrincipi DavidePrincipi added this to the NethServer M8.3 milestone Nov 20, 2024
@DavidePrincipi DavidePrincipi moved this to ToDo in NethServer Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
milestone goal 👑 This describes an announced milestone goal
Projects
Status: ToDo
Development

No branches or pull requests

2 participants