Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cockpit on gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kwispy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 82

PostPosted: Thu Jan 09, 2020 6:18 am    Post subject: Cockpit on gentoo Reply with quote

Anyone have info on or experience building and installing cockpit https://cockpit-project.org/ on Gentoo? I've found one overlay so far, https://github.com/j-g-/cockpit-overlay/tree/master/sys-apps/cockpit, though a bit behind the cockpit releases (current is 210). I'll try updating the ebuild and give it a go.
Back to top
View user's profile Send private message
orumin
n00b
n00b


Joined: 05 May 2020
Posts: 2

PostPosted: Tue May 05, 2020 4:41 pm    Post subject: Reply with quote

I maintain cockpit-overlay, fork from j-g's repository. https://github.com/orumin/cockpit-overlay
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 909

PostPosted: Wed May 06, 2020 9:34 am    Post subject: Reply with quote

It looks interesting, but IIUC assumes systemd; does anyone know how well cockpit works on an OpenRc system?
_________________
Greybeard
Back to top
View user's profile Send private message
thepustule
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 212
Location: Toronto, Canada

PostPosted: Wed May 06, 2020 3:06 pm    Post subject: Got it Running, but Failing Creds Reply with quote

orumin wrote:
I maintain cockpit-overlay, fork from j-g's repository. https://github.com/orumin/cockpit-overlay


orumin - thanks for doing this. I've come back to gentoo after a few years, and am giving this a try. Re-acquainted myself with layman and got your overlay working, and managed to get cockpit installed and up and running with systemd.

However, when I try to connect, I see in journalctl that cockpit is starting up the https instance just fine, and I accept the key in my browser, but then the session just dies and I get this in my logs:

May 06 15:01:36 GentooCruncher systemd[934]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service: Failed to determine user credentials: No such process
May 06 15:01:36 GentooCruncher systemd[934]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service: Failed at step USER spawning /usr/libexec/cockpit-ws: No such process

I verified that /usr/pam.d/cockpit is in place as expected, and that /usr/libexec/cockpit-we is also present (along with a lot of other files)

Have you seen this?
Back to top
View user's profile Send private message
thepustule
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 212
Location: Toronto, Canada

PostPosted: Wed May 06, 2020 3:27 pm    Post subject: Workaround Reply with quote

For a little more information - I also have another ubuntu 18.04 system, on which cockpit is running nicely. I was able to use the cockpit-remote functionality to connect from the ubuntu machine to the running cockpit instance on this gentoo system, and it works fine. The problem just seems to be in the web service layer.
Back to top
View user's profile Send private message
orumin
n00b
n00b


Joined: 05 May 2020
Posts: 2

PostPosted: Wed Jun 24, 2020 1:47 pm    Post subject: Reply with quote

In my environment, I have Fedora 31, running cockpit, and I use Gentoo's cockpit through Fedora's cockpit web dashboard.
I confirm and reproduce that error related cockpit-ws on Gentoo.
I will analysis this error.
thank you.
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1822
Location: KUUSANKOSKI, Finland

PostPosted: Wed Jun 24, 2020 6:40 pm    Post subject: Reply with quote

This is relevant to my interests.
I'd like to have cockpit on my server, but I think I'd need to migrate to systemd.
When I have more time I'll switch to systemd on my desktop first to see if it's stable enough for daily use.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 440

PostPosted: Wed Jun 24, 2020 9:37 pm    Post subject: Reply with quote

Seems nice for one box.

But becomes a nightmare for multiple I guess, maybe a configuration management system is still a better option there.
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1822
Location: KUUSANKOSKI, Finland

PostPosted: Tue Jul 21, 2020 3:01 pm    Post subject: Reply with quote

Maitreya wrote:
But becomes a nightmare for multiple I guess, maybe a configuration management system is still a better option there.
IIRC you can connect to several machines from one single cockpit UI. However I doubt it's as flexible as a proper tool for the job.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum