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

Photon OS support for WSL2 #1532

Closed
dcasota opened this issue Jan 7, 2024 · 2 comments
Closed

Photon OS support for WSL2 #1532

dcasota opened this issue Jan 7, 2024 · 2 comments

Comments

@dcasota
Copy link
Contributor

dcasota commented Jan 7, 2024

Is your feature request related to a problem? Please describe.

Industrial edge today embraced docker containers at factory level and are using their preferred edge connectors.

WSL2 on Windows 11 seems to become popular for developers. wsl --list --online shows up a list with Ubuntu, Debian, Kali, Oracle, openSUSE, SLES. WSL2 kernel, cbl-mariner, is even more similar to Photon OS because of its common history.

Please, consider support for Photon OS on WSL2 managed (install/remove/update/modify/reinstall) by VMware By Broadcom Workstation as well.

Describe the solution you'd like

seamless Photon OS management experience [VMwareByBroadcom-/AWS-/Azure-/GCE-Hypervisor optimized, WSL2, generic]

Describe alternatives you've considered

edited 02/17/2024: see Photon OS on WSL2

@dcasota
Copy link
Contributor Author

dcasota commented Feb 17, 2024

I have a question about tdnf.

Is tdnf supporting cbl-mariner? I haven't seen an official statement.

Booting Photon OS on WSL2 using --system param exposes the cbl-mariner repos.

PS C:\Users\myuser> wsl -d Ph5 --system -u root -e /bin/bash
root [ /mnt/c/Users/myuser ]# tdnf install -y ntp tzdata
ZONEINFO="Europe/Zurich"
set $ZONEINFO timezone
ln -sf /usr/share/zoneinfo/$ZONEINFO /etc/localtime
ntpdate -u pool.ntp.org
hwclock --systohc --localtime
Loaded plugin: tdnfrepogpgcheck
Refreshing metadata for: 'CBL-Mariner Official Extras 2.0 x86_64'
Refreshing metadata for: 'CBL-Mariner Official Microsoft 2.0 x86_64'
Refreshing metadata for: 'CBL-Mariner Official Base 2.0 x86_64'
Package tzdata is already installed.   1324196 100%

Installing:
ntp                               x86_64                   4.2.8p15-3.cm2                    mariner-official-base      6.43M                     3.52M
[...]

Technically nothing wrong, but the cbl-mariner architecture has too much garbage security, and efficiently github-action'ified updates doesn't make it better. Sorry for the wording. In any case, tdnf update and tdnf distro-sync breaks in the --system scenario.

tdnf runs under LGPL version 2.1.
In cbl-mariner github, the license argument for utilizing tdnf is wrong. Which Apache2 license??

Tue Sep 03 2019 Mateusz Malisz <[email protected]> - 2.0.0-11
- Initial CBL-Mariner import from Photon (license: Apache2).

@dcasota
Copy link
Contributor Author

dcasota commented Mar 4, 2024

unplanned, out of scope, #1542

@dcasota dcasota closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant