Tsigiro yeSystemd yave kuwanikwa muWSL

wsl mahwindo

Windows Subsystem yeLinux ndeye inoenderana layer yakagadziriswa neMicrosoft kumhanya Linux executables natively pa Windows 10.

Munguva pfupi yapfuura nhau dzakaputika kuti WSL yave kuenderana neSystemd, iyi itsva WSL yekuvandudza inovhura akawanda emhando yehupenyu maficha ekuita uye manejimendi sevhisi. Izvi zvinosanganisira tsigiro yesnapd, iyo inobvumira vashandisi kutora mukana kune ese maturusi uye maapplication aripo pasnapcraft.io.

Rutsigiro rutsva rwakawedzerwa kuWSL kubva kuSystemd inonzi inonyanya kubatsira kune vanogadzira webhu vanoda kugadzirisa nekuvandudza masevhisi ekushandisa mukati meWSL vasati vaaendesa kune gore.

Izvi zvinoreva kuti zvikumbiro zvinotsamira paSystemd kuti ishandiswe kana kungozvitonga zviri nyore zvino zvinogona kumhanya zvisina mutsetse mune ino WSL nharaunda Windows 10 uye Windows 11.

Zvakakodzera kutaura izvozvo iyi update yakanangana neWSL2, chizvarwa chechipiri cheWSL. WSL2 mhanyisa yakazara linux kernel pamushini wakatsaurirwa chaiwo, uchishandisa subset yekushanda kweHyper-V hypervisor yakavakirwa muWindows. Iyo yekutanga vhezheni yeWSL yaive chishandiso chakasiyana kwazvo, icho chaive chisina yakazara Linux kernel.

Mune blog post, Canonical yakapa humwe hunyanzvi ruzivo. uye akatsanangura nzira yekugonesa Systemd paUbuntu muWSL. Chiziviso chinoenderana neMicrosoft hachina tekinoroji, asi chinotsanangura dzimwe shanduko dzakakosha dzakaitwa kuita ichi chinhu, kusanganisira kuchinja mashandisiro anoita WSL2.

Tsigiro yeSystem yaida shanduko kune WSL architecture. Nekuti Systemd inoda PID 1, iyo WSL yekutanga maitiro yakatanga pakugovera Linux inova maitiro emwana eSystemd. Zvakare, sezvo iyo WSL yekutanga maitiro ine basa rekupa iyo yekutaurirana masisitimu pakati peLinux neWindows zvikamu, kushandura iyi hierarchy kwaida kufunga patsva mamwe efungidziro akaitwa neWSL yekutanga maitiro. Dzimwe shanduko dzaifanirawo kuitwa kuti ive nechokwadi chekuvharika kwakachena uye kuve nechokwadi chekuenderana neWSLg.

Izvo zvakakoshawo kuziva kuti nekuchinja uku, masevhisi eSystem haachengetedze yako WSL muenzaniso kumusoro. Yako WSL muenzaniso icharamba ichirarama sepakutanga. Microsoft yakawedzera kuti chimiro ichi hachizogadzirise otomatiki kuti chisakonzerese matambudziko kune varipo vashandisi. "Sezvo izvi zvachinja maitiro eWSL pakutanga, isu taida kungwarira pakushandisa shanduko iyi kune vashandisi 'kugoverwa kweWSL kuripo. Parizvino, iwe unofanirwa kusarudza kugonesa Systemd yekugovera chaiyo WSL, "akadaro.

Shanduko iyi inoreva kuti kushandisa WSL kuchanyanya kufanana nekushandisa yako yaunofarira Linux kugovera pamushini wekutanga uye ichakubvumidza iwe kushandisa software zvinoenderana neSystemd rutsigiro. Heano mimwe mienzaniso yeLinux application inoenderana neSystemd:

snap : bhinari inobatsira iyo inokutendera iwe kuisa uye kubata software paUbuntu;
microk8s - Tora Kubernetes inomhanya munharaunda pane yako system nekukurumidza;
systemctl: Chishandiso icho chiri chikamu cheSystemd uye chinopindirana nemasevhisi pamushini wako weLinux.

Sezvineiwo, rutsigiro rweSystemd neWindows Subsystem yeLinux akabatsirwa nekusvika kwaLennart Pottering, mugadziri weSystemd, kune hofori yeRedmond mwedzi mishoma yapfuura (unogona kubvunza chinyorwa nezvazvo Mune inotevera chinongedzo).

Zvakakodzera kutaura kuti Microsoft yakahaya akati wandei Linux Vagadziri uye vamwe vane mukurumbira vakavhura sosi vanogadzira mumakore achangopfuura. Microsoft parizvino inoshandisa Python muvambi Guido van Rossum, GNOME muvambi Miguel de Icaza akashandirwa neMicrosoft muna 2016 payakawana Xamarin, Nat Friedman akashanda seCEO weGitHub, Daniel Robbins, muvambi weGentoo Linux, akashandirwa neMicrosoft Steve French anoshandira Microsoft. seLinux CIFS/SMB2/SMB3 muchengeti uye nhengo yechikwata cheSamba. Pamusoro pezvo, Linux inoshandiswa zvakanyanya paAzure, Microsoft's cloud computing service.

Finalmente kana iwe uchifarira kuziva zvakawanda nezvazvo, unogona kutarisa ruzivo rwechinyorwa mu inotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako