Re: [CentOS] Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?

2020-02-25 Thread Marek Blaha
Hi,
I tried to reproduce the issue but without success, everything seems
to be working fine (I've copied
repodata directory created by the reposync on Centos7 machine to RHEL8
server to /tmp/pg12repo directory):

RHEL8 # dnf search postgresql12 --repofrompath=a,/tmp/pg12repo --repoid=a
Added a repo from /tmp/pg12repo
a
 204 MB/s | 784 kB 00:00
 Name Exactly Matched:
postgresql12 
postgresql12.x86_64 : PostgreSQL client programs and libraries
=== Name & Summary Matched:
postgresql12 ===
postgresql12-debugsource.x86_64 : Debug sources for package postgresql12
postgresql12-debuginfo.x86_64 : Debug information for package postgresql12
postgresql12-libs-debuginfo.x86_64 : Debug information for package
postgresql12-libs
postgresql12-test-debuginfo.x86_64 : Debug information for package
postgresql12-test
postgresql12-devel-debuginfo.x86_64 : Debug information for package
postgresql12-devel
postgresql12-pltcl-debuginfo.x86_64 : Debug information for package
postgresql12-pltcl
postgresql12-plperl-debuginfo.x86_64 : Debug information for package
postgresql12-plperl
postgresql12-server-debuginfo.x86_64 : Debug information for package
postgresql12-server
postgresql12-contrib-debuginfo.x86_64 : Debug information for package
postgresql12-contrib
postgresql12-llvmjit-debuginfo.x86_64 : Debug information for package
postgresql12-llvmjit
postgresql12-plpython-debuginfo.x86_64 : Debug information for package
postgresql12-plpython
postgresql12-plpython3-debuginfo.x86_64 : Debug information for
package postgresql12-plpython3
 Name Matched: postgresql12

postgresql12-docs.x86_64 : Extra documentation for PostgreSQL
postgresql12-libs.x86_64 : The shared libraries required for any
PostgreSQL clients
postgresql12-odbc.x86_64 : PostgreSQL ODBC driver
postgresql12-test.x86_64 : The test suite distributed with PostgreSQL
postgresql12-devel.x86_64 : PostgreSQL development header files and libraries
postgresql12-pltcl.x86_64 : The Tcl procedural language for PostgreSQL
postgresql12-plperl.x86_64 : The Perl procedural language for PostgreSQL
postgresql12-server.x86_64 : The programs needed to create and run a
PostgreSQL server
postgresql12-contrib.x86_64 : Contributed source and binaries
distributed with PostgreSQL
postgresql12-llvmjit.x86_64 : Just-in-time compilation support for PostgreSQL
postgresql12-plpython.x86_64 : The Python procedural language for PostgreSQL
postgresql12-plpython3.x86_64 : The Python3 procedural language for PostgreSQL

Are you sure that the packages from the 'reposync
--repoid=pgdg12-rhel8 --download_path=/repo/8'
were correctly downloaded? For deeper investigation the generated
repository metadata
(/repo/8/pgdg12-rhel8/repodata directory) would be needed.
As far as your question is concerned - no, I do not see anything you forgot.

M.

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer


On Mon, Feb 24, 2020 at 11:45 AM  wrote:
>
> Hi,
>
> I'm trying to mirror the PostgreSQL12 RHEL8 repo:
>
> https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/
>
>
> [root@cobbler yum.repos.d]# cat pgdg-12-centos8.repo
>
> # PGDG Red Hat Enterprise Linux / CentOS stable repositories:
>
> [pgdg12-rhel8]
> name=PostgreSQL 12 for RHEL/CentOS $releasever - $basearch
> baseurl=https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>
> # Source RPMs (SRPM), and their testing repositories:
>
>
> Then I run:
>
> reposync --repoid=pgdg12-rhel8 --download_path=/repo/8
>
>
> createrepo /repo/8/pgdg12-rhel8
>
>
> However, when I try to install it on the target-server, it just doesn't
> find the postgresql12 binaries.
>
> [root@my-db11-test yum.repos.d]# dnf search postgresql12
> Last metadata expiration check: 0:24:06 ago on Mon 24 Feb 2020 11:18:20
> AM CET.
> 
> Name & Summary Matched: postgresql12
> =
> postgresql12-debugsource.x86_64 : Debug sources for package postgresql12
> postgresql12-debuginfo.x86_64 : Debug information for package
> postgresql12
> postgresql12-libs-debuginfo.x86_64 : Debug information for package
> postgresql12-libs
> postgresql12-test-debuginfo.x86_64 : Debug information for package
> postgresql12-test
> postgresql12-devel-debuginfo.x86_64 : Debug information for package
> postgresql12-devel
> postgresql12-pltcl-debuginfo.x86_64 : Debug information for package
> postgresql12-pltcl
> postgresql12-plperl-debuginfo.x86_64 : Debug information for package
> postgresql12-plperl
> postgresql12-server-d

Re: [CentOS] Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?

2020-02-25 Thread rainer

Am 2020-02-25 13:50, schrieb Marek Blaha:

Hi,
I tried to reproduce the issue but without success, everything seems
to be working fine (I've copied
repodata directory created by the reposync on Centos7 machine to RHEL8
server to /tmp/pg12repo directory):




Hi,

you are right.
I later realized that I forgot to add a step:

dnf -qy module disable postgresql


I'm sorry for the noise.

It would probably do well for me to read the documentation...

Even more so, as RedHat seems to be the only one in Linux-land that 
produces coherent and up-to-date documentation - and receives 
comparatively little praise for it.



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


Re: [CentOS] Script to monitor websites and generate RSS feed when they change

2020-02-25 Thread Vanhorn, Mike
I just read an article (part of which is here 
http://www.linuxpromagazine.com/Issues/2020/230/The-sys-admin-s-daily-grind-urlwatch/(language)/eng-US
 ) about urlwatch.

---
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanh...@wright.edu

On 2/24/20, 7:55 PM, "CentOS on behalf of H"  wrote:

Looking for the above. I have found sites where you can register the sites 
you are interested in - as well as yourself - but I would rather run something 
myself on my server to monitor websites etc which do not have RSS-feeds.

Does anyone use something like this?

___
CentOS mailing list
CentOS@centos.org

https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos&d=DwICAg&c=3buyMx9JlH1z22L_G5pM28wz_Ru6WjhVHwo-vpeS0Gk&r=_s0N94AIK4hLWzZ1WmAPvZjr8bPWpBPPuhyNjJkGAHs&m=Psh0wPchS71VwyqP7XQS5JgxmMhjbSmNtrO7A3seEq8&s=EbjhNzuWZGSbUccCjf6s15NZQjplXkVmIHsayUqDXF0&e=
 


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


[CentOS] Nested Virtualization with CentOS 7 host and CentOS 8 guest

2020-02-25 Thread Chris Card
I'm not sure whether this is a specific CentOS question, but I'm hoping someone 
here can give me some pointers.

I have an OpenStack compute node running CentOS 7.4.1708 and kernel 
3.10.0-693.17.1.el7.x86_64 which is configured for nested virtualization; this 
has been set up for a few years and works fine when running CentOS 7 guests 
which themselves are using virt-create / virt-customize etc.
Nova is set up on the compute node so that guests have cpu mode 
host-passthrough.

I have been trying to run a CentOS 8 guest on the compute node so that I can 
build CentOS 8 images for OpenStack (there is an issue using a CentOS 7 server 
to build a CentOS 8 image related to xfs options which are only supported 
read-only by CentOS 7).

However, every time I try to build a CentOS 8 image using a CentOS 8 guest, the 
CentOS 8 guest crashes with a kernel panic, not immediately but usually near 
the end of the image build process. (I have also seen similar behaviour using a 
Fedora 31 guest to build a CentOS 8 image, but the crashes are less frequent, 
and some image builds have succeeded).

The CentOS 8 guest is running CentOS 8.1.1911 (Core) and kernel 
4.18.0-147.3.1.el8_1.x86_64.

Any ideas?

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


Re: [CentOS] dbus/systemd failure on startup (CentOS 7.7)

2020-02-25 Thread Johnny Hughes
On 1/23/20 9:33 AM, James Pearson wrote:
> Simon Matter wrote:
>>
>>> However, we would still like to know what the issue is and get a 'real'
>>> fix - I guess we could try creating a bug report with Redhat ...
>>
>> By bug report you mean BZ or a support request as paying RHEL customer?
> 
> A BZ ...
> 
>> Unfortunately I'm not too happy anymore with how BZs are handled these
>> days. Am I alone with this feeling?
> 
> I've had mixed results with BZs - it appears if a bug 'tickles the
> fancy' of someone a Redhat that sees the ticket, then you can get good
> results - otherwise, they just sit there until the release goes out of
> support and they get dropped :-)
> 

Starting with CentOS-8 Stream, you will be able to fix this issues like
this yourself and then submit a pull request for review to get it rolled
into CentOS Stream and then into RHEL proper.

Also, you can figure out what is wrong and submit the fix WITH the BZ ..
i mean, that is why the CentOS community exists .. to submit community
fixes.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Downgrade Mariadb 10.3 on centos 8 ?

2020-02-25 Thread Ian B
We've just got a new server running centos 8 and mariadb 10.3.17, so
there's no real data loss issues currently on that server. We've also got
some older servers running mysql 5.1.7 which can't be upgraded currently.

We can't connect to the old mysql servers using libmysqlclient (to be more
precise Perl using DBD::mysql which uses that to my understanding). We get
a 'handshake error', and digging about it suggests that it's mysql version
incompatibilities.

Really we need the new servers connecting to the old and vice versa.

So I'm wondering how I get around this. Is downgrading Mariadb on Centos 8
the only (or possible) route here ? If so, any idea how we can go about
this (I can't seem to find any information on what version would work
either)?

Happy to explore any other routes, other than changing the old servers
currently.

Thanks,

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