[CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Carlos Lopez
Hi all, With SystemD, how can I make certain service dependent on certain network interfaces being up? For example, I have an 802.1ad bond interface I need to wait on for being up (this interface has no ip address assigned, it is used to capture networks packets with a tcpdump’s script). Ever

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Carlos Lopez
Perfect!! Many thanks Stephen. Works like a charm. On 23/09/2020, 15:08, "CentOS on behalf of Stephen John Smoogen" wrote: On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: > Hi all, > > > With SystemD, how can I make certain service depend

[CentOS] Running script before reboot or shutdown

2020-12-22 Thread Carlos Lopez
Hi all, I am trying to configure a script as a systemd service to run first when a shutdown or reboot is called. This script execute some scp commands to copy some files to other machines. My actual defined systemd’s file is: [Unit] Description=Remote copy some files before reboot/shutdown Befo

Re: [CentOS] Running script before reboot or shutdown

2020-12-22 Thread Carlos Lopez
Thanks centos2 but regarding your example, I cannot see where you configure that this services needs to be stopped before anyone else On 22/12/20, 15:22, "CentOS on behalf of cent...@foxengines.net" wrote: Hi, On Tue, Dec 22, 2020, at 06:51, Carlos Lopez wrote:

[CentOS] Problem with RequiresMountsFor defined in a systemd service

2021-04-21 Thread Carlos Lopez
Hi all, I have setup a systemd service that needs to mount a NFS share before starts. To accomplish this I have defined: RequiresMountsFor=/data/sysos As a dependency in [Unit] section but it doesn’t work. NFS share is defined in fstab with “defaults,noauto” options also .. What am I doing w

[CentOS] Some warnings from SCL's MariaDB

2018-10-30 Thread Carlos Lopez
Hi all, I am seeing a lot of warnings with mariadb's server from yesterday: InnoDB: page_cleaner: 1000ms intended loop took 10945ms. The settings might not be optimal. According to mysql and mariadb docs, this problem is related to number of page cleaner threads. And it can only set innodb_

[CentOS] error creating output file /var/lib/logrotate/logrotate.status.tmp: File exists

2018-11-13 Thread Carlos Lopez
Hi all, I have configured a specific logrotate task to rotate certain logs every hour and everytime this logrotate's task runs, I am receiving an email like this: Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron

[CentOS] 10Gbps network interfaces under KVM

2019-01-25 Thread Carlos Lopez
Hi all, Anyone knows if exists some plan to support Intel 10Gbps nics like for example 82575, 82576, 82580 or 82598EB Ethernet controllers under KVM for virtual guest like it does with e1000 driver? Regards, C. L. Martinez ___ CentOS mailing list

[CentOS] KVM hypervisor displaying "vcpu0, guest rIP: 0xffffffff8225bc98 disabled perfctr wrmsr: 0xc2 data 0xfff"

2019-10-19 Thread Carlos Lopez
Hi all, I have installed a CentOS-8 server to accomplish some tests using kvm guests … All these guests are centos8 also. When these guests starts, I always see errors like: [ 589.687915] kvm [2133]: vcpu0, guest rIP: 0x81a5bc98 disabled perfctr wrmsr: 0xc2 data 0x [ 596.210773]

[CentOS] Some problems with Unbound under CentOS8

2020-03-30 Thread Carlos Lopez
Good morning, I have detected two strange problems with unbound under CentOS8 (fully patched). I have tried same configuration in an OpenBSD host, and these problems do not appear. a/ Error mesage “connection refused”. I am using this unbound server to resolv DNS records for our internal domai

Re: [CentOS] Some problems with Unbound under CentOS8

2020-03-30 Thread Carlos Lopez
... Most relevance difference is "disable-rpath" flag under CentOS ... I have tried a RHEL 8.1 vm and problem is the same as is CentOS8 ... -- Regards, C. L. Martinez On 30/03/2020, 14:32, "CentOS on behalf of Stephen John Smoogen" wrote: On Mon, 30 Mar 2020 at 03:47,

Re: [CentOS] Some problems with Unbound under CentOS8

2020-03-30 Thread Carlos Lopez
. Martinez On 30/03/2020, 14:50, "CentOS on behalf of Stephen John Smoogen" wrote: On Mon, 30 Mar 2020 at 08:42, Carlos Lopez wrote: > Hi Stephen, > > Many thanks for your answer. Unbound under OpenBSD is compiled with few > options: