Home >Documents >Systemd Evolution Revolution Regression

Systemd Evolution Revolution Regression

Date post:02-Jun-2018
Category:
View:220 times
Download:0 times
Share this document with a friend
Transcript:
  • 8/11/2019 Systemd Evolution Revolution Regression

    1/18

    Normation CC-BY-SAnormation.com

    systemd: Evolution,systemd: Evolution,Revolution or Decline ?Revolution or Decline ?

    ______________________________________________________

    Huh? What's this systemd thingie doingHuh? What's this systemd thingie doing

    as PID ?!as PID ?!

    Matthieu CERDA

  • 8/11/2019 Systemd Evolution Revolution Regression

    2/18

    Normation CC-BY-SAnormation.com "

    Who are you ?

    Name Matthieu CERDA

    Email : [email protected]

    Web site : http://www.normation.com

    Twitter : @Kegeruneku

    Job System engineer at NormationCFEngine Enthusiast, power user and trainer

    R!!er Integrator, packager

    "n#rastrctre Team member

  • 8/11/2019 Systemd Evolution Revolution Regression

    3/18

    Normation CC-BY-SAnormation.com #

    What are $e going to tal% a&out

    Systemd$bt not onl%&

  • 8/11/2019 Systemd Evolution Revolution Regression

    4/18

    Normation CC-BY-SAnormation.com

    What are $e going to tal% a&out

    T'e crrent sitation o# o(en init s%stems

    W'at is s%stem!)

    W'at can we !o wit' it)

    W'% all t'is contro*ers% abot it)

  • 8/11/2019 Systemd Evolution Revolution Regression

    5/18

    Normation CC-BY-SAnormation.com (

    )oday's ma*or o+en init systems -".

    SysVinit+ BSDinit: ,istorical s'ell scri(t base! sim(leinit s%stems sing SB e/tensions on 0N1+in/ an!!e(en!enc% tags on BS2 to a!! !e(en!encies.

    Upstart: 1bnt3s init #la*or ses s(eci#iccon#igration #iles $45obs6& to manage ser*ices.

    OpenRC: 0entoo3s init #la*or en'ance! S%s7init

    *ersion wit' more (ower#l ser*ice con#igration +!e(en!enc% 'an!ling.

  • 8/11/2019 Systemd Evolution Revolution Regression

    6/18

  • 8/11/2019 Systemd Evolution Revolution Regression

    7/18

    Normation CC-BY-SAnormation.com 0

    Why so many reim+lementations ?

    Performance: init se! to wor< in a seriali=e!#as'ion one scri(t a#ter t'e ot'er. ong + 'ngscri(ts > slow + 'ng boot.

    Definition: No !e(en!enc% !e#inition restartbe'a*ior ...&

    Security: E*er% (rocess is awar!e! #ll root

    (ri*ileges b% !e#alt an! 'a*e to 'an!le (ri*ilege!ro((ing b% itsel#.

    Eo: 49ine is bigger.6

  • 8/11/2019 Systemd Evolution Revolution Regression

    8/18

    Normation CC-BY-SAnormation.com 1

    systemd ID card

    Create! + 9aintaine! b% ennart ?oettering an! @a% Sie*ers

    2ro(-in re(lacement #or S%s7init 4nit6 base!.

    0N1+in/ s(eci#ic

    'tt(:++www.#ree!es

  • 8/11/2019 Systemd Evolution Revolution Regression

    9/18

    Normation CC-BY-SAnormation.com 2

    systemd goals

    Re(lace S%s7init 2-Bs an! !e* wit'en'ance! #eatres

    Com(letel% se(arate t'e s%stem an! t'ea((lications

    ?ro*i!e ni#ie! s%stem com(onents

    Enable t'e se o# an 4a((liance6 t%(e o#o(erating s%stem

  • 8/11/2019 Systemd Evolution Revolution Regression

    10/18

    Normation CC-BY-SAnormation.com 3

    4ervice management ca+a&ilities

    1ses s%stem! 4nits6

    ?ro*i!es:

    A (ossibilit% to ma

  • 8/11/2019 Systemd Evolution Revolution Regression

    11/18

    Normation CC-BY-SAnormation.com

    4ervice management ca+a&ilities

    E/am(le: (enSS, nit $2ebian&

    1nit2escri(tion>(enBS2 Secre S'ell ser*erA#ter>networ+sr+sbin+ss'! -2 SS,2?TSE/ecReloa!>+bin+(rocess

    Restart>on-#ailre

    "nstallWante!B%>mlti-ser.targetAlias>ss'!.ser*ice

  • 8/11/2019 Systemd Evolution Revolution Regression

    12/18

    Normation CC-BY-SAnormation.com "

    4oc%et activation ca+a&ilities

    E/am(le: C1?S socC1?S ?rinting Ser*ice Socsoc

  • 8/11/2019 Systemd Evolution Revolution Regression

    13/18

    Normation CC-BY-SAnormation.com #

    Process isolation

    ne ma% want a (rocess to be starte! wit' an isolate!

    en*ironment #or secrit% reasons

    s%stem! (ro*i!es se*eral wa%s to rn a (rocess in arestricte! en*ironment:

    Tra!itionnal c'roots sing t'e 4Root2irector%6 nits(eci#ication

    Names(ace restrictions to #orbi! some o(erations to t'eser*ice $E/am(le: "naccessible2irectories to #orbi!

    access to a !irector%&

    Containeri=ation: 1sing a lig'tweig't containeri=ationa((roac'

  • 8/11/2019 Systemd Evolution Revolution Regression

    14/18

    Normation CC-BY-SAnormation.com

    systemd containers

    "t3s liam!G testing K+!ebian+I s%stem!-ns(awn -2 K+!ebian+

    I (acstra( -c -! K+arc'+ baseI s%stem!-ns(awn -b2 K+arc'+

    I btr#s sb*olme sna(s'ot + +.tm(I s%stem!-ns(awn --(ri*ate-networ< -2 +.tm( -b

  • 8/11/2019 Systemd Evolution Revolution Regression

    15/18

    Normation CC-BY-SAnormation.com (

    systemd in a 5loud - 6irtuali7ed environment

    S%stem! ten!s to become a stan!ar! in t'ose

  • 8/11/2019 Systemd Evolution Revolution Regression

    16/18

    Normation CC-BY-SAnormation.com /

    5ontroversy -".

    9ono(ol%

    0N1+in/ centrism

    Co!e com(licate! an! bloate!

    Too man% ser*ices n!er t'e same management

    0N9E relations'i(

  • 8/11/2019 Systemd Evolution Revolution Regression

    17/18

    Normation CC-BY-SAnormation.com 0

    5ontroversy "-".

    ?blic commnication is... rog'.

    Bro

  • 8/11/2019 Systemd Evolution Revolution Regression

    18/18

    Normation CC-BY-SAnormation.com 1

    Lestions ) :&Lestions ) :&

Embed Size (px)
Recommended