• [^] # Re: gros deb?

    Posté par . En réponse au journal Un nouveau format de paquets pour Ubuntu. Évalué à 4.

    Réponse dans la FAQ:

    Why not use LXC?

    LXC is an interesting technology that is useful for many things. It is great for Juju or providing a lightweight alternative to virtualization. It is not the right choice for application confinement because it doesn't provide significant benefits over AppArmor in its current form, but has several drawbacks: it is a new technology, it requires privileges to start/stop applications, it requires several different bind mounts for each application (which becomes messy when lots of applications are running), does not (easily) provide fine-grained access controls to files, and is generally too heavyweight for application confinement. While LXC could with effort possibly be made to provide a similar level of fine-grained confinement that AppArmor currently has, you would still have to deal with the challenging parts such as D-Bus and Ubuntu Online Accounts and would have difficulties allowing access to things such as the clipboard or individual keys within a keyring. AppArmor is mature and provides a jump start on application confinement (it was specifically designed for this purpose). It is lightweight, provides a simpler implementation that is easy to extend and allows us to unify the application confinement pieces in an elegant manner.

    Dans la langue des grenouilles, ça dit grosso-modo que LXC c'est bien mais pas vraiment adapté à ce cas d'utilisation. On pourrait toujours faire avec mais il se trouve qu'AppArmor répond apparemment à tous les besoins et qu'il est intégré à Ubuntu depuis plus de 5 ans (donc éprouvé).