Adjustments for a separate Linbo installation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- shell
- Domain
- backend-api-design
Research direction
Start in share/helperfunctions.sh, reviewing the global LDBSEARCH definition and get_hostname(), get_mac(), get_ip(), get_hostgroup(), and get_hostname_dhcp_ip(). Trace how these functions depend on tools available on the Samba AD server and determine the required Linuxmuster server API calls. Done means Linbo can run on a separate server without those local dependencies, with the affected functions still providing their expected results.
Written by the indexing model from the issue text.
Description
To reduce the load on the Linuxmuster server and offload individual services, it would be great if Linbo could run on a separate server. Currently, this isn't possible due to tools that are only available on the Samba AD server. After an initial review, I noticed the following issues in the linuxmuster-common package:
Global $LDBSEARCH-definition:
get_hostname():
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L77
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L79
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L81
get_mac():
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L92
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L94
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L96
get_ip():
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L107
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L109
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L111
get_hostgroup():
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L133
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L135
- https://github.com/linuxmuster/linuxmuster-common/blob/78bc33774bd635076bef3507459090e284e39abd/share/helperfunctions.sh#L137
get_hostname_dhcp_ip():
As discussed, it would be ideal to replace these tools with API calls to the Linuxmuster server.
Best regards, Lukas
- Dominant language
- Shell
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
align on terminology Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CycloneDX/transparency-exchange-api#393 · 1 comment ·
-
module/agent platform/macos type/bug/regression
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
CachyOS/cachyos-aur-derived#754 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CrowdStrike/falcon-scripts#528 ·
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100