-
Notifications
You must be signed in to change notification settings - Fork 18
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
Double reserve disk to 2%; act on admin_console_install and _enabled #151
Conversation
Sync from iiab/iiab-factory:master
systemd's enabling/disabling and starting/stopping of iiab-cmdsrv.service can be enhanced and/or supplemented with NGINX logic later, as necessary. |
This PR doesn't affect whether or not Admin Console gets updates. I suspect @tim-moody is talking about Which is indeed an interesting question. My opinion is that 'sudo iiab' wasn't intended to be run after initial install of IIAB, so the behavior that @jvonau proposed and was implemented then ( i.e. around early 2020, the various install flags placed in
I haven't seen any enabling/disabling contention during my many tests. But will help fixing them if they exist, if others can help shed light? (Just as an aside, I don't expect many will want to disable Admin Console. A number even far fewer than those who won't want to install Admin Console.)
Best of intentions yes: thanks to David Farning's dedication and others who've put their lives into trying to eke the most out of Ansible, for sure. But after 7 years Ansible remains a "pig" and as such there are a number of cases like firmware, openvpn (and possibly network?) where avoiding Ansible became increasingly necessary — as judiciously as possible and while respecting the implementer's wishes in
Good to know. Where is that comment? (Are you talking about the following comment from a couple years ago?) https://github.com/iiab/iiab/blob/master/vars/default_vars.yml#L75-L77 |
Nor iiab by design, it's an installer script, you have to have some sort of finish line to cross and an auto reboot at the end is not enough info on if it was successful or not.
Sorry iiab-install and thus iiab (the repo) doesn't contain any cmdsrv logic, if you are suggesting 'iiab' (the script) has that behavior I would agree. Think the main aim is(no clue this caught me by off guard also):
The flaw I see is there no user input validation once iiab-install completes, think that can be addressed with check-vars from iiab/iiab#2539 called from
I was assuming that admin-console was always installed, but there were on and off issues with ka-lite portion of the install later on, the flags help to recover the install faster without repeating all the steps. What is the alternative with the split git repos then? Have admin_console exit if local_vars.yml has install false?
The lineage of PRs start Jul 25, 2018 #33,with #73 #77 #78 #79 being updates revisions |
Another useless argument. nolo contendere |
Just so I fully understand,the issues |
don't think we're converging on anything useful. |
Doubles the reserve disk space from 1% to 2% [*] to extend the life of microSD cards, particularly now that large capacity cards are so much cheaper since ~2019.
[*] tune2fs default is 5%. IIAB has defaulted to 1% since Aug 2017 for field communities tying to eke out every last gigabyte for content.
admin_console_install
andadmin_console_enabled
variables (that were set up about a year ago) are now finally acted upon.Tested on Debian 10.6
Ref: PR #104 "tune2fs: lower reserve disk space to 1% if microSD /dev/mmcblk0p2 detected"