[CentOS] how to enforce audio device precence?

2020-10-05 Thread hw


Hi,

how can I make it so that audio continues to go the monitor connected
to the display port when another monitor gets connected to the HDMI port?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Script to rebuild CentOS 8 boot ISO with plus kernel

2020-10-05 Thread Chris Adams
I want to install CentOS 8 on some older Dells that have storage
controllers dropped by RHEL 8.  The CentOS 8 kernel-plus package
supports them, so I wrote a script that rebuilds the boot ISO to boot
and install using the kernel-plus package from the centosplus repo.

https://github.com/cmadamsgit/misc-scripts/

I know you can use driver disks to load additional modules from
elsewhere, but I wanted to end up with the kernel-plus anyway, so why
not just do it during install?

Lightly tested, but seems to work.  Posting here in case it is useful to
others.
-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Tony Mountifield
In article <0f27fc07-4b04-4b3b-bf3a-7a0d419d8...@mcon-group.com>,
Soeren Malchow  wrote:
> Not directly an answer to your question, but we had so many problems with the 
> certbot in different constellations, that
> we moved to
> 
> https://github.com/acmesh-official/acme.sh
> 
> which works just fine basically everywhere
> 
> cheers
> Soeren 
> 
> On 05.10.20, 15:18, "CentOS on behalf of Alexander Farber" 
>  alexander.far...@gmail.com> wrote:
> 
> Yes, I had a typo in the mail, but not in the cronjob
> 
> Still wondering how to get certbot-1.7.0-1.el7.noarch working on CentOS 7
> again.

https://github.com/srvrco/getssl also works pretty well, and just needs bash 
and openssl.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Soeren Malchow
Not directly an answer to your question, but we had so many problems with the 
certbot in different constellations, that we moved to

https://github.com/acmesh-official/acme.sh

which works just fine basically everywhere

cheers
Soeren 

On 05.10.20, 15:18, "CentOS on behalf of Alexander Farber" 
 wrote:

Yes, I had a typo in the mail, but not in the cronjob

Still wondering how to get certbot-1.7.0-1.el7.noarch working on CentOS 7
again.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Alexander Farber
Yes, I had a typo in the mail, but not in the cronjob

Still wondering how to get certbot-1.7.0-1.el7.noarch working on CentOS 7
again.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Valeri Galtsev


> On Oct 5, 2020, at 7:04 AM, Alexander Farber  
> wrote:
> 
> Hello fellow CentOS users,
> 
> I had this cronjob working for many moons on CentOS 7.8.2003:
> 
> #minute hourmdaymonth   wdaycommand
> 6   6   *   *   1   certbot renew --post-hook
> "cat /etc/letsencrypt/live/raspasy.de/fullchain.pem /etc/letsencrypt/live/
> raspasy.de/privkey.pem > /etc/letsencrypt/live/raspasy.de/haproxy.pem;
> systemctl resstart haproxy"
> 

Should that be “restart”? In the above you have double “s”.

Valeri

> (I run a post hook, because haproxy-1.5.18-9.el7.x86_64 from the CentOS
> packages wants to have the cert and the key in one file).
> 
> Unfortunately, now certbot-1.7.0-1.el7.noarch has stopped working and the
> error message is:
> 
> /usr/lib/python2.7/site-packages/josepy/util.py:9:
> CryptographyDeprecationWarning: Python 2 is no longer supported by the
> Python core team. Support for it is now deprecated in cryptography, and
> will be removed in a future release.
>  from cryptography.hazmat.primitives.asymmetric import rsa
> Traceback (most recent call last):
>  File "/usr/bin/certbot", line 9, in 
>load_entry_point('certbot==1.7.0', 'console_scripts', 'certbot')()
>  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in
> load_entry_point
>return get_distribution(dist).load_entry_point(group, name)
>  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in
> load_entry_point
>return ep.load()
>  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in
> load
>entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>  File "/usr/lib/python2.7/site-packages/certbot/main.py", line 2, in
> 
>from certbot._internal import main as internal_main
>  File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line
> 20, in 
>from certbot._internal import account
>  File "/usr/lib/python2.7/site-packages/certbot/_internal/account.py",
> line 18, in 
>from acme.client import ClientBase  # pylint: disable=unused-import
>  File "/usr/lib/python2.7/site-packages/acme/client.py", line 39, in
> 
>requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()  #
> type: ignore
>  File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py",
> line 118, in inject_into_urllib3
>_validate_dependencies_met()
>  File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py",
> line 160, in _validate_dependencies_met
>"'pyOpenSSL' module missing required functionality. "
> ImportError: 'pyOpenSSL' module missing required functionality. Try
> upgrading to v0.14 or newer.
> 
> I have the following python packages installed:
> 
> #  rpm -qa | grep python2
> python2-oauthlib-2.0.1-8.el7.noarch
> python2-futures-3.1.1-5.el7.noarch
> python2-cryptography-1.7.2-2.el7.x86_64
> python2-pip-8.1.2-14.el7.noarch
> python2-acme-1.7.0-1.el7.noarch
> python2-psycopg2-2.8.6-1.rhel7.x86_64
> python2-certbot-1.7.0-1.el7.noarch
> python2-pyrfc3339-1.1-3.el7.noarch
> python2-distro-1.2.0-3.el7.noarch
> python2-configargparse-0.11.0-2.el7.noarch
> python2-josepy-1.3.0-2.el7.noarch
> python2-pyasn1-0.1.9-7.el7.noarch
> python2-six-1.9.0-0.el7.noarch
> python2-parsedatetime-2.4-6.el7.noarch
> python2-future-0.18.2-2.el7.noarch
> python2-requests-oauthlib-0.8.0-5.el7.noarch
> python2-mock-1.0.1-10.el7.noarch
> 
> Does anybody please have an idea, what could I do?
> 
> I like to use the stock packages only (for easier maintenance), wonder if a
> solution is still possible there...
> 
> Thank you for any suggestions
> Alex
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Alexander Farber
Hello fellow CentOS users,

I had this cronjob working for many moons on CentOS 7.8.2003:

#minute hourmdaymonth   wdaycommand
6   6   *   *   1   certbot renew --post-hook
"cat /etc/letsencrypt/live/raspasy.de/fullchain.pem /etc/letsencrypt/live/
raspasy.de/privkey.pem > /etc/letsencrypt/live/raspasy.de/haproxy.pem;
systemctl resstart haproxy"

(I run a post hook, because haproxy-1.5.18-9.el7.x86_64 from the CentOS
packages wants to have the cert and the key in one file).

Unfortunately, now certbot-1.7.0-1.el7.noarch has stopped working and the
error message is:

/usr/lib/python2.7/site-packages/josepy/util.py:9:
CryptographyDeprecationWarning: Python 2 is no longer supported by the
Python core team. Support for it is now deprecated in cryptography, and
will be removed in a future release.
  from cryptography.hazmat.primitives.asymmetric import rsa
Traceback (most recent call last):
  File "/usr/bin/certbot", line 9, in 
load_entry_point('certbot==1.7.0', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in
load_entry_point
return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in
load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/certbot/main.py", line 2, in

from certbot._internal import main as internal_main
  File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line
20, in 
from certbot._internal import account
  File "/usr/lib/python2.7/site-packages/certbot/_internal/account.py",
line 18, in 
from acme.client import ClientBase  # pylint: disable=unused-import
  File "/usr/lib/python2.7/site-packages/acme/client.py", line 39, in

requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()  #
type: ignore
  File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py",
line 118, in inject_into_urllib3
_validate_dependencies_met()
  File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py",
line 160, in _validate_dependencies_met
"'pyOpenSSL' module missing required functionality. "
ImportError: 'pyOpenSSL' module missing required functionality. Try
upgrading to v0.14 or newer.

I have the following python packages installed:

#  rpm -qa | grep python2
python2-oauthlib-2.0.1-8.el7.noarch
python2-futures-3.1.1-5.el7.noarch
python2-cryptography-1.7.2-2.el7.x86_64
python2-pip-8.1.2-14.el7.noarch
python2-acme-1.7.0-1.el7.noarch
python2-psycopg2-2.8.6-1.rhel7.x86_64
python2-certbot-1.7.0-1.el7.noarch
python2-pyrfc3339-1.1-3.el7.noarch
python2-distro-1.2.0-3.el7.noarch
python2-configargparse-0.11.0-2.el7.noarch
python2-josepy-1.3.0-2.el7.noarch
python2-pyasn1-0.1.9-7.el7.noarch
python2-six-1.9.0-0.el7.noarch
python2-parsedatetime-2.4-6.el7.noarch
python2-future-0.18.2-2.el7.noarch
python2-requests-oauthlib-0.8.0-5.el7.noarch
python2-mock-1.0.1-10.el7.noarch

Does anybody please have an idea, what could I do?

I like to use the stock packages only (for easier maintenance), wonder if a
solution is still possible there...

Thank you for any suggestions
Alex
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos