I-S6-rc, umphathi wenkonzo ofana ne-sysv-rc kunye ne-OpenRC

Kwiintsuku ezimbalwa ezidlulileyo iindaba zakhululwa ukuba ukukhululwa okubalulekileyo kwe s6-rc 0.5.3.0 umphathi wenkonzo, eyenzelwe ukulawula ukuqaliswa kwezikripthi zokuqalisa kunye neenkonzo ezithathela ingqalelo ukuxhomekeka.

I-S6-rc ibonakaliswe ngu ingasetyenziswa zombini kwiinkqubo zokuqalisa njengokuququzelela ukuqaliswa kweenkonzo ezingafanelekanga kunye neziganeko ezibonisa utshintsho kwimeko yenkqubo, ukongeza inikeza umkhondo oxhomekeke ngokupheleleyo womthi kwaye iqala ngokuzenzekelayo okanye igqibe iinkonzo ukufikelela kwimeko echaziweyo.

Umphathi wenkonzo s6-rc, leyo inokuthathwa njengefanayo ne-sysv-rc okanye i-OpenRC, ibandakanya iseti yezinto eziluncedo ukuqalisa nokuyeka iinkqubo eziqhuba ixesha elide (ii-daemons) okanye zipheliswe ngoko nangoko izikripthi zokuqalisa. Ngethuba lomsebenzi, ukuxhomekeka phakathi kwamacandelo kuthathelwa ingqalelo, ukuqaliswa okufanayo kweencwadi zeempendulo kunye neenkonzo ezingahambelaniyo ziyaqinisekiswa, kwaye ulandelelwano lokwenziwa kwescript luqinisekisiwe ukuba luya kuphindwa kulo lonke ukuqaliswa okuhlukeneyo.

Zonke iinguqu zelizwe zicutshungulwa ngokuxhomekeke engqondweni, Ukuqinisekisa ukuba ukuxhomekeka akuphulwanga (umzekelo, xa inkonzo iqaliswa, ukuxhomekeka okufunekayo ekusebenzeni kwayo kuya kuqaliswa ngokuzenzekelayo, kwaye xa kumisiwe, iinkonzo ezixhomekeke kuzo ziya kwenziwa nazo. zimisiwe).

Iisuite zokubeka iliso ezifana ne-s6, i-runit, i-perp, okanye ii-daemontools zichaza inkonzo njengenkqubo eqhuba ixesha elide, eyaziwa ngokuba yidaemon. Babonelela ngezixhobo zokusebenzisa i-daemon ngokuphindaphindayo kwindawo elawulwayo kwaye bayigcine iphila ukuba iyafa; bakwabonelela ngezixhobo zolawulo lwedaemon, phakathi kwezinye, ukuthumela imiqondiso kwidaemon ngaphandle kokwazi iPID yayo. Bangakwazi ukubeka iliso kwiinkqubo ezithatha ixesha elide, kwaye i-s6 ikwabonelela ngezixhobo zokulawula umthi wokubeka iliso wonke. Kuyo nayiphi na i-sysadmin echaphazelekayo ngokuthembeka, iisuti zokubeka iliso ziyinto elungileyo.

Endaweni yokubaleka, I-s6-rc inikezela ngengqikelelo yephakheji yendalo iphela, que ivumela iinkonzo zamaqela ngokweempawu ezingafanelekanga kunye nemisebenzi ukuba isonjululwe. Ukuphucula ukusebenza kakuhle, isiseko sokuxhomekeka esihlanganisiweyo, esenziwe yi-s6-rc-compile i-utility esekelwe kwimixholo yoluhlu lweefayile, isetyenziselwa ukuqala / ukuyeka iinkonzo.

Ukuhlalutya kunye nokuxhaphaza i-database, izinto eziluncedo s6-rc-db kunye ne-s6-rc-update zibonelelwa. Inkqubo ixhasa i-sysv-init yezikripthi zokuqalisa ezithobelayo kwaye inokungenisa ulwazi lokuxhomekeka kwi-sysv-rc okanye i-OpenRC.

Omnye Izibonelelo ze-s6-rc kukuphunyezwa okuhlangeneyo okungenayo nantoni na engafanelekanga, Ngaphandle kwamacandelo ayimfuneko ekusombululeni iingxaki ezithe ngqo, apho oku kudla ubuncinci bemithombo yenkqubo.

Ngokungafaniyo nabanye abaphathi benkonzo, i-s6-rc ixhasa ulwakhiwo olusebenzayo (ngaphandle kwe-intanethi) lwegrafu yokuxhomekeka kwiseti ekhoyo yeenkonzo, ekuvumela ukuba ukwazi ukwenza uhlalutyo oluxhomekeke kwizibonelelo ngokwahlukeneyo, kwaye kungekhona ngexesha lokutshaja okanye utshintsho lwesimo.

Kwangelo xesha inkqubo ayikho monolithic kwaye yahlulwe kuthotho iimodyuli ezahlukeneyo kwaye replaceable, nganye apho, ngokwefilosofi ye-Unix, isombulula ingxaki enye kuphela.

Ukongeza, kukhankanyiwe ukuba ngokudibanisa ne-s6 eziluncedo ebeka iliso kumsebenzi weenkqubo (ezifana nedaemontools kunye ne-runit), isixhobo sezixhobo sikuvumela ivumela umsebenzisi ukuba abeke iliso ngaxeshanye ukusebenza kweenkonzo ezihlala ixesha elide ezikwisixokelelwano, umzekelo, ziqale ngokutsha xa kukho ukupheliswa okungaqhelekanga kwaye oko kunika isiqinisekiso sokuba iscript siqaliswe ngendlela ephindaphindwayo, ephindwayo kuphehlelelo olwahlukeneyo.

Kwakhona kukhankanyiwe ukuba ixhasa, phakathi kwezinye izinto, iimpawu ezifana nokuvula inkonzo xa ufikelela kwisokethi (ukuqala umlawuli xa ufikelela kwi-port yenethiwekhi), iziganeko zenkqubo yokungena (ukutshintsha i-syslogd), kunye nonikezelo olulawulwayo lwamalungelo awongezelelweyo (okufana no sudo).

Gqibela ukuba unomdla wokwazi okungakumbi ngayo, ungajonga iinkcukacha zalo mphathi wenkqubo Kule khonkco ilandelayo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo, shiya eyakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   enye yazo sitsho

    Kwi-Artix sele ikhona ixesha elide. I-OpenRC, i-Runit kunye ne-dit yakutshanje kunye ne-66 nazo ziyafumaneka. Ndiza kuphawula ngayo xa kukho umntu ofuna ukuyizama.