[CentOS] Thanks a lot for 8.3 Update

2020-12-07 Thread Thomas Stephen Lee
Hi,

Thanks a lot for the 8.3 update.😊
I would like to point out one thing I faced.
I downloaded the iso from one mirror.
After installing, I installed a package (rsync).
Then some packages, including dnf, got downgraded to 8.2.
Just a test server, not production.

Thanks.

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


Re: [CentOS] Thanks a lot for 8.3 Update

2020-12-07 Thread John Pierce
very odd, DNF/YUM should *never* downgrade a package.its possible the
mirror it chose to use was lagging on replication and didn' thave the 8.3
latest packages yet (this is a regular issue with the centos mirrors)., but
really it should have errored rather than downgrading.

On Mon, Dec 7, 2020 at 12:51 AM Thomas Stephen Lee 
wrote:

> Hi,
>
> Thanks a lot for the 8.3 update.😊
> I would like to point out one thing I faced.
> I downloaded the iso from one mirror.
> After installing, I installed a package (rsync).
> Then some packages, including dnf, got downgraded to 8.2.
> Just a test server, not production.
>
> Thanks.
>
> ---
> Lee
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thanks a lot for 8.3 Update

2020-12-07 Thread Pete Biggs
> 
> Thanks a lot for the 8.3 update.😊
> I would like to point out one thing I faced.
> I downloaded the iso from one mirror.
> After installing, I installed a package (rsync).
> Then some packages, including dnf, got downgraded to 8.2.
> Just a test server, not production.
> 
I suspect that not all mirrors are fully synced yet.  My local mirror
(which I sync from an institutional mirror) still has the default 8
version pointing to 8.2.2004 not 8.3.2011

P.


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


Re: [CentOS] CentOS 8.2: error running non-shared postrotate script for /var/log/mysql/mysqld.log

2020-12-07 Thread Anthony K

On 6/12/20 1:35 am, Alexander Farber wrote:

But my question is how to provide the password to postrotate without
disclosing it too much?



Maybe using unix_socket for root user?

https://dev.mysql.com/doc/mysql-secure-deployment-guide/8.0/en/secure-deployment-configure-authentication.html


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


Re: [CentOS] Trying to find gcc 5

2020-12-07 Thread mark

Hi, there,

On 12/4/20 3:29 PM, Kay Diederichs wrote:

On 12/4/20 1:26 AM, mark wrote:

Hi, folks,

    It seems I can't run a version of calibre newer than 3.23 without at least one 
library from gcc-5 (and the calibre attitude seems to be "screw you, 4's ancient, 
move to another distro").

    I've added the scl repo - what devtoolset do I need to install?


try

yum install devtoolset-4-gcc



That was the answer I was looking for. Unless it puts the libraries in 
the std. locations, I assume I'll have to set a modified PATH for 
calibre, but sounds good.


Thanks!

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


Re: [CentOS] CentOS 8.2: error running non-shared postrotate script for /var/log/mysql/mysqld.log

2020-12-07 Thread Tony Mountifield
In article ,
Alexander Farber  wrote:
> Hello fellow CentOS users!
> 
> I have installed CentOS 8.2.2004 with the following packages:
> 
> mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> 
> Then I have run mysql_secure_installation and among other things set the
> root password for MySQL
> 
> As result I am greeted with the following anachron mail every morning:
> 
> /etc/cron.daily/logrotate:
> 
>  mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> error: error running non-shared postrotate script for
> /var/log/mysql/mysqld.log of '/var/log/mysql/mysqld.log '
> 
> I understand that the reason is me having set the root password for MySQL.
> 
> But my question is how to provide the password to postrotate without
> disclosing it too much?

Create a file .my.cnf owned by root with permission 600, containing these lines:

[mysqladmin]
user = root
password = YourMySqlRootPassword

You need to put it in / or in /root - I usually do both, as I think logrotate
has / as it's home dir instead of /root.

Then logrotate can call mysqladmin without having to give a password.

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


[CentOS] CentOS-8(2011): osbuild - missing selinux subpackage?

2020-12-07 Thread Leon Fauster via CentOS

Briefly, while updating some workstation I came across this.

The update to CentOS-8(2011) passes without issues (because best=False).
So, I guess that all packages landed at the mirror host - but 
osbuild-selinux is missing?




# LANG=C yum update
Last metadata expiration check: 0:00:39 ago on Tue Dec  8 01:18:19 2020.
Dependencies resolved.

 Problem: package osbuild-18-3.el8.noarch requires (osbuild-selinux if 
selinux-policy-targeted), but none of the providers can be installed
  - package osbuild-composer-20.1-1.el8.x86_64 requires osbuild >= 18, 
but none of the providers can be installed
  - cannot install the best update candidate for package 
selinux-policy-targeted-3.14.3-54.el8.noarch
  - cannot install the best update candidate for package 
lorax-composer-28.14.55-2.el8.x86_64

=
 PackageArchitecture 
 Version   Repository 
Size

=
Skipping packages with broken dependencies:
 osbuildnoarch 
 18-3.el8  appstream 
53 k
 osbuild-composer   x86_64 
 20.1-1.el8appstream 
   2.8 M


Transaction Summary
=
Skip  2 Packages

Nothing to do.
Complete!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos