-
Notifications
You must be signed in to change notification settings - Fork 76
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
kolibri/tasks/install.yml: Modern apt keyring approach [& apt upgrading Kolibri very risky!] #3356
Conversation
The apt configuration file auto-generated by Ansible...has a very long filename here: (but that's Ok!)
Just FYI this test install of Kolibri on IIAB was done on the latest daily build of Ubuntu 22.10 [pre-release] "Kinetic Kudu". |
FYI here are some of the ~3 pink/blue screens that arise if one (unfortunately these will lead to quite serious problems, as everyday IIAB operators will accidentally override pre-existing Kolibri systemd unit file & Linux username, something to think about!!)
If one overrides the above default
Finally this 3rd screen is generally pre-populated with an incorrect username: (IIAB mandates Linux username
I don't have answers; am simply posting the above (Linux Terminal) screenshots, so we can all think about it 🤔 |
Strangely the above Kolibri prompt neither disables nor clobbers 'Yes' was tested on Ubuntu 20.04, 'No' was tested on Mint 21. Again this is in response to "Do you wish to run Kolibri on start-up?" (So this definitely appears to be a Kolibri bug — a bug that ironically seems to prevent further problems for the moment — when apt upgrading Kolibri as part of IIAB !) In any case, if one goes ahead with the default
|
I guess I'll go ahead and merge this PR. So wider community testing validates this across "all" OS's. (The issues of apt upgrading Kolibri being very risky and extremely confusing to IIAB operators — are indeed a real issue but this is a separate question in the end — we should definitely assess pragmatic options there, but somewhere separately!) |
@jredrejo new ticket is opened here, just for discussion: (even if there are not easy answers!) |
Recap: Of course Ansible's command module is occasionally safer than Ansible shell module. Still, in this case I opted for to shorten the code (into 1 single stanza/paragraph instead of 2 stanzas/paragraphs) as follows: iiab/roles/kolibri/tasks/install.yml Lines 51 to 55 in fa17e5f
|
Based on @jredrejo recommendations here:
Test installed on a Ubuntu 22.10 pre-release.
Building on: