I-GNU Shepherd, imenenja yesevisi eyakhiwe nguGuix

Ngemva kweminyaka emibili yokwakhiwa kwenguqulo enkulu yokugcina, imenyezelwe ngesikhathi eshicilela ukwethulwa kwe inguqulo entsha yomphathi wesevisi I-GNU Shepherd 0.9 (ngaphambilini eyayaziwa ngokuthi i-dmd), okuyikhona ithuthukiswe abathuthukisi bokusabalalisa kwe-GNU Guix njengenye indlela yokuqalisa i-SysV-init ngokuxhomekeka kolwazi.

Shepherd inikeza ukusebenza kwesikhala somsebenzisi ngokulinganayo njengamasevisi, okuthi ku-Shepherd okuyimisebenzi ejwayelekile kanye nezinhlobo zedatha yento ethunyelwa ukuze isetshenziswe u-Shepherd ukuze kunwetshwe isistimu yokusebenza eyisisekelo ngendlela ethile echaziwe. Ngokungafani ne-systemd, inqubo yokuqapha isikhala somsebenzisi isebenza njengalowo msebenzisi.

Mayelana noMelusi

Emnyombweni wemodeli ye-Shepherd yokuqalisa isikhala somsebenzisi umqondo wokunwetshwa, uhlobo lokuvumelana lapho amasevisi eklanyelwe ukumboza amanye amasevisi, awakhulise ngokuziphatha okunemininingwane noma okukhethekile njengoba kudingekile. Lokhu kuveza ubudlelwano bokuncika obusekelwe ku-instantiation obutholakala kumasistimu amaningi e-boot esimanje, okuthi yenza isistimu ibe yimodyuli, kodwa futhi ivumela izinsiza ukuthi zihlanganyele ngokuguquguqukayo amasevisi ngokuzenzela.

Shepherd futhi inikeza lokho okubizwa ngamasevisi abonakalayo okuvumela ukuthunyelwa okuguquguqukayo kusigaba sezinto zesevisi ezihlobene, njengalezo eziqinisekisa umenzeli wokudlulisa imeyili (MTA) wohlelo.

Isistimu ebuswa i-daemon ye-Shepherd ingamela indawo yayo yomsebenzisi njengegrafu ye-acyclic eqondisiwe, "nesevisi yesistimu" (ebhekele ukuqalisa kwangaphambi kwesikhathi nezigaba zokuqalisa) njengempande kanye nawo wonke amasevisi aqalisiwe alandelayo njengezandiso zokusebenza kwesevisi yesistimu. , ngokuqondile noma ngokushintshashintshayo phezu kwamanye amasevisi.

Ibhalwa futhi icushwe ku-Guile Scheme, I-GNU Shepherd yakhelwe ukuthi ihleleke kakhulu ngomlawuli wesistimu, kodwa futhi ingasetshenziswa ukuphatha amaphrofayili womsebenzisi ngamunye wamadayimoni namasevisi angewona amalungelo.

Amasevisi nezilungiselelo zakho zigcinwa ngendlela efanayo njengekhodi Yesu okugxile entweni futhi nakuba isethi eyinhloko yezinsizakalo ihlinzekwa ngohlelo oluyisisekelo lwe-Guix, izinsizakalo ezintsha ezitholakalayo zingamenyezelwa kalula futhi ngohlelo lwento ye-Guile, i-GOOPS, izinsiza ezikhona zingachazwa kabusha ngokubona komsebenzisi ngokucela u-Shepherd ukuthi abhale kabusha izinsiza izindlela eziqondile zokufakelwa.

I-GNU Shepherd ekuqaleni yayiklanyelwe ukusebenza ne-GNU Hurd futhi kamuva yamukelwa i-Guix System.

Izici ezintsha eziyinhloko ze-GNU Shepherd 0.9

Kule nguqulo entsha eyethulwa, kugqanyiswe ukuthi umqondo wezinkonzo zesikhashana uyasetshenziswa (okwesikhashana), ezinqanyulwa ngokuzenzakalela ngemva kokunqanyulwa ngenxa yokunqanyulwa kwenqubo noma "yemisa" ikholi yendlela, engadingeka ezinsizeni ezihlanganisiwe ezingakwazi ukuqaliswa kabusha ngemva kokunqanyulwa.

Olunye ushintsho olugqamile yi ngezinkonzo ezingenayo ipharamitha ""#:log-file"., okukhiphayo ku-syslog kunikezwa kanye nezinkonzo ezinepharamitha ethi "#:log-file", ilogu ibhalwa efayeleni elihlukile elibonisa isikhathi samalogi kunqubo ye-Melusi engalungile egcinwe kuhla lwemibhalo lwe-$XDG_DATA_DIR.

Ngaphezu kwalokho, kuyaphawuleka ukuthi inqubo "ye-make-inetd-constructor" yengezwe ukuze kudalwe izinsiza ezifana ne-inetd nokuthi inqubo ye-"make-systemd-constructor" yengezwe ukuze kwakhiwe amasevisi acushwe kumsebenzi wenethiwekhi (i-style systemd socket. ukwenza kusebenze).

Kwezinye izinguquko okuvelele kule nguqulo entsha:

  • Kwengezwe inqubo yokuqala isevisi yangemuva:
  • Kwengezwe amapharamitha athi “:amaqembu-ezengezo”, “#:dala-seshini” kanye nemingcele ethi “#:resource-limits” kunqubo ye-“make-forkexec-constructor”.
  • Ukusebenza okuqinisekisiwe okungakhiyiwe ngenkathi ilinde amafayela e-PID.
  • Kususwe ukwesekwa kokuhlanganiswa ne-Guile 2.0. Izinkinga ezilungisiwe uma usebenzisa izinguqulo ze-Guile 3.0.5-3.0.7.
  • Umtapo wezincwadi we-Fibers 1.1.0 noma owakamuva manje uyadingeka ukuze usebenze.
  • Amadokhumenti athuthukisiwe nezibonelo
  • I-Malusi ngeke isakhiwa nge-Guile 2.0
  • Lungisa ku-Guile 3.0 compiler bug.[5-7]
  • Ukuhumusha okubuyekeziwe

Okokugcina uma unesifiso sokwazi okwengeziwe ngakho noma ufuna ukuthola le nguqulo entsha, ungabheka imininingwane, imibhalo bese ulanda kuyo isixhumanisi esilandelayo.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Yiba ngowokuqala ukuphawula

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe.

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.