Hacker News new | ask | show | jobs
by antoncohen 4511 days ago
Mind blown. I thought this was some ordinary Python or Ruby app. It reminded me of Ajenti (http://ajenti.org/), which is nice admin panel.

But Cockpit is insane (not in a bad way).

    [starting cockpit] will cause systemd to listen on port 21064
    and start cockpit-ws when someone connects to it.
    Cockpit-ws will in turn activate cockpitd via D-Bus when
    someone logs in successfully.
Cockpit is written in C, by Red Hat. The web frontend has dbus.js that does D-Bus over WebSockets to communicate to the backend. I expect this project will evolve into something much bigger.

https://github.com/cockpit-project/cockpit

1 comments

And I have to be honest: even as someone who likes systemd, the maintenance and security implications of this concern me.

I was looking at the code and was surprised to find only Javascript and C, but your quick summary on the implementation makes me want to watch from the sidelines, cautiously.

That said, very interesting project AFAICT.