Rough work on protocol refactoring
by Stef Walter
So as we discussed elsewhere ... past proof-of-concept, our internal
protocol needs a bit better framing in order to handle the modularity
stuff and be extensible.
* Use only one Websocket for efficiency
* Connect out to multiple DBus services (not just cockpitd)
* Support multiple payload types in future (not only dbus-json)
* Alternate credentials (ie: initial setup)
Here's a first whack at documenting what it might look like:
https://github.com/stefwalter/cockpit/blob/protocol-refactor/doc/protocol.md
I'm working on some cleanup patches to dbus-server, and building some
testing around it before getting into implementing this.
Stef
9 years, 9 months
Patternfly pull request
by Marius Vollmer
Hi,
I made a pull request for the port to Patternfly:
https://github.com/cockpit-project/cockpit/pull/223
It's a big change, and frankly, my eyes glaze over when I try to review
it. I guess I need some distance. :-)
So, please everyone have a look. Please install the branch and play
around with it.
Let's try to get this in by the end of the week or so, so that we can
re-open src/web on master.
9 years, 9 months
More basic newbie questions
by Mark Constable
> Jeremy Eder writes:
> That's not a satisfactory answer, I guess, but every input helps, so
> thanks a lot!
Okay so I guess if I ramble on about my Archlinux attempts then it won't
be dismissed out of hand. A user called "irtimmer" has submitted a storaged
source package to the Archlinuxs AUR repository and I ended up maintaining
the cockpit-git package. Archlinux currently uses systemd v209 by default.
https://aur.archlinux.org/packages/storaged
https://aur.archlinux.org/packages/cockpit-git
FWIW cockpitd and cockpit-ws seem to run but when I browse to https://localhost:21064/
I can't login, most likely because of this...
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM unable to dlopen(/usr/lib/security/pam_sepermit.so): /usr/lib/security/pam_sepermit.so: cannot open shared object file: No such file or directory
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM adding faulty module: /usr/lib/security/pam_sepermit.so
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/password-auth
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/postlogin
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/password-auth
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/password-auth
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM unable to dlopen(/usr/lib/security/pam_selinux.so): /usr/lib/security/pam_selinux.so: cannot open shared object file: No such file or directory
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM adding faulty module: /usr/lib/security/pam_selinux.so
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/password-auth
Feb 25 17:49:21 tosh cockpit-ws[6824]: PAM _pam_load_conf_file: unable to open /etc/pam.d/postlogin
Feb 25 17:49:21 tosh cockpit-ws[6824]: Returning error-response 500 with reason `Module is unknown'
There are no standard selinux packages for Archlinux but there are a range
of selinux source packages in the AUR repo.
This message is mainly to let you know that cockpit is almost working on
Archlinux and if someone could give me a list of the most likely selinux
packages used on a Redhat system that applies to cockpit then I'll build
them locally and see if I can get to the next level of logging in.
https://aur.archlinux.org/packages/?K=selinux
9 years, 9 months
questions from new user
by Jeremy Eder
Hi, I saw Stef Walter's preso at devconf and thought it looked really slick. I just messed around briefly/looked at the mail archives and had a few questions:
1) On my f20 laptop that has 4 cores, I have a little cpu burner loop that spins on a single core. If I launch the spinner, I only see like 3% cpu util in the GUI. I would have expected somewhere near 25%. I'm using cockpit-0.2-0.4.20140204git5e1faad.fc20.x86_64.
2) I addition to throughput, rx/tx packets-per-second graph is also an interesting stat. The data is in /proc/net/dev
3) Any reason there is no Y-axis to the home screen live-graphs ?
9 years, 9 months
First bits of patternfly
by Marius Vollmer
Hi,
Andreas and I have started the port/rewrite for Patternfly, on the
wip/patternfly branch.
We have started from scratch: index.html is mostly empty, and the idea
is that we all scramble to reconstruct it.
My idea right now is that one of us sits down and brings back enough
infrastructure to allow us to work in parallel. This would mean making
login, dashboard, and server page work again (maybe only rudimentary).
9 years, 9 months
Archlinux build
by Mark Constable
Hi, I'm attempting to build cockpit on Archlinux and expect a bit of a rough
ride for a while but just in case there is anyone else interested in a source
package for AUR then any help appreciated. FWIW I get this far if someone
happens to have a suggestion for a non-redhat environment w/ systemd 208.
make: *** No rule to make target '/usr/share/dbus-1/interfaces/com.redhat.lvm2.xml', needed by 'com.redhat.lvm2.c'. Stop.
9 years, 9 months
Patched UDisks2 -> storaged, for real now
by Marius Vollmer
Hi,
Cockpit master now uses storaged instead of the patched UDisks2, and
cockpit-deps has been cleanup accordingly.
Yay!
There is also a new "cockpit" flavored image for the test suite. The
'testsuite-prepare' script should pick it up automatically.
It's probably necessary to run "./make-rpms --clean" once to flush the
old UDisks2 out of your build chroots, but it shouldn't do any harm
there.
This means that all (three! :-) pending pull requests are now broken
until they are rebased to master. That's not a problem, of course, and
I'll do that soonish (if nobody beats me to it).
9 years, 10 months