Re: [Spacewalk-list] Error with PAM authentication after Upgrade to CentOS 7.4

2017-10-30 Thread Michael Mraka
Robert Paschedag:
> Am 28. Oktober 2017 20:37:08 MESZ schrieb "Millage, Joel" 
> :
> >I am using Spacewalk 2.6 with PAM authentication and have been for a
> >few months without issues. I updated from CentOS 7.3 to 7.4 this week
> >and now my PAM authentication no longer works with any of my users.  I
> >use PAM authentication with Kerberos 1.5.
...
> >I realize now I shouldn't have made my only admin user on PAM
> >authentication as I can't even login with spacecmd.  Is there any way I
> >can disable PAM auth on this user so I can login without PAM?  All the
> >tools I have found allow me to reset my password, but not disable PAM.
> >Any help would be great thanks!
> >
> >Joel
> 
> I think the rhnuser table should be a good starting point. But I don't know, 
> if the authentication "type" is also stored there.

Unfortunately you can have only certain users using pam. It's a global option.
So disable pam, (re)set local password, fix the pam issue and reenable it.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Error with PAM authentication after Upgrade to CentOS 7.4

2017-10-30 Thread Millage, Joel
Thanks for the ideas guys, I was able to get in at least!  Seems to be a 
SELINUX issues with Spacewalk 2.6 and CentOS 7.4. Upgrading to Spacewalk 2.7 
did seem to fix most of it though PAM auth still doesn't work right so I just 
left it disabled for now.

Joel  

-Original Message-
From: Michael Mraka [mailto:michael.mr...@redhat.com] 
Sent: Monday, October 30, 2017 4:02 AM
To: spacewalk-list@redhat.com
Cc: Millage, Joel 
Subject: Re: [Spacewalk-list] Error with PAM authentication after Upgrade to 
CentOS 7.4

Robert Paschedag:
> Am 28. Oktober 2017 20:37:08 MESZ schrieb "Millage, Joel" 
> :
> >I am using Spacewalk 2.6 with PAM authentication and have been for a 
> >few months without issues. I updated from CentOS 7.3 to 7.4 this week 
> >and now my PAM authentication no longer works with any of my users.  
> >I use PAM authentication with Kerberos 1.5.
...
> >I realize now I shouldn't have made my only admin user on PAM 
> >authentication as I can't even login with spacecmd.  Is there any way 
> >I can disable PAM auth on this user so I can login without PAM?  All 
> >the tools I have found allow me to reset my password, but not disable PAM.
> >Any help would be great thanks!
> >
> >Joel
> 
> I think the rhnuser table should be a good starting point. But I don't know, 
> if the authentication "type" is also stored there.

Unfortunately you can have only certain users using pam. It's a global option.
So disable pam, (re)set local password, fix the pam issue and reenable it.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Spacewalk 2.6 Debian repo sync file handle leaking

2017-10-30 Thread Jay McCanta
I am running spacewalk 2.6 on CentOS7 trying to an sync Ubuntu repository.  I 
have discovered that somewhere in /usr/bin/spacewalk-sync-repo file handles are 
leaked.  It seems to leak 2 handles for every file it needs to import.  At some 
point, I run out of handles.  The files are all temp files '/tmp/tmpXX.  
Once all the open handles are exhausted, I get 'ERROR: 
requests.exceptions.RequestException occurred'  over and over and over.

I have tried looking in
/usr/lib/python2.7/site-packages/spacewalk/common/rhn_deb.py
/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/repo_plugins/deb_src.py

To see if I can find it, but I cannot.  The repo (xenial-universe) has 43567 
packages in it.  Has anyone else encountered (and fixed) this?

Jay McCanta
F5 Networks, Inc.
Seattle,  WA 98119

We Make Apps GO
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list