Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread Orion Poplawski

On 9/23/20 7:28 AM, Simon Matter wrote:




Date: Wednesday, September 23, 2020 08:37:01 -0400
From: H 


On 09/23/2020 08:28 AM, Simon Matter wrote:


I just upgraded chromium on my CentOS 7 system and ended up with
nothing loading. I tried to downgrade using yum downgrade
chromium but there does not seem to be an older version on my
system, nor does EPEL seem to have version 84 which is what I ran
before.

First, does anyone know why chromium 85 does not load /anything/?
Firefox runs fine.


Do you run chromium locally or remote? I've seen the same behavior
but we're running on remote desktops which means we have to 3D
support. Once in the past this was a problem with chromium so I
thought maybe it's the same now.


Second, why is chromium 84 not available in EPEL?

EPEL doesn't provide old versions, they are removed when a new
release comes in. You can get the older chromium here:

https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
/1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
/1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm


I run chromium locally. Version 84 ran just fine...



It's hard to debug "does not load /anything/" without more specifics.


It's exactly what the OP said, chromium starts, presents its main window
and this one stays white whatever URL you try to load.



https://bugzilla.redhat.com/show_bug.cgi?id=1881142

--
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/

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


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

2020-09-23 Thread Orion Poplawski

On 9/23/20 7:07 AM, 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 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). Every time this service fails
because bond interface is not up.



I have configured the service as:


[Unit]

Description=tcpdump capture script

After=network.target

Wants=network-online.target



But it doesn’t work …. Any tip or trick?





So the network just calls the scripts and exits so they can take a while to
get working. I think this website covers what you want to do

https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service

systemctl list-units --no-pager | grep subsystem-net

Then look for the device which matches the one you are listening to. Change
the After=network.target to


BindsTo=sys-devices-virtual-net-.device
After=sys-devices-virtual-net-.device

where  is the interface you found (aka eth2, br9, bond0 etc)


Hmm, there seems to be several layers here.

I think sys-devices-.device is "started" when  appears 
in the kernel:


Sep 23 19:37:25 kernel: virtio_net virtio0 ens3: renamed from eth0

# systemctl status sys-subsystem-net-devices-ens3.device
● sys-subsystem-net-devices-ens3.device - Virtio network device
 Loaded: loaded
 Active: active (plugged) since Wed 2020-09-23 19:37:25 MDT

This is not what most people would consider "up" - i.e. have an IP 
address.  ens3 doesn't get it's IP address until much later.


This works for Carlos though because he doesn't need an IP address - 
just the device existing.


I have no idea how it worked for the stackexchange poster.  Apparently 
because "lan0" is a virtual device as well 
("sys-devices-virtual-net-lan0") that they need, not a more "physical" 
device like "net-devices-ens3", and it gets an IP address at the same 
time as creation.


I've been dealing with issues like this for a while - systems with 
multiple interfaces, some of which do not come up for quite a while, and 
I need to wait for all to be up before running certain tasks.  Still 
haven't found anything very satisfactory.


--
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/

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


[CentOS] ZFS and encryption on CentOS 7

2020-09-23 Thread H
Can I ask what the prevailing opinion is on ZFS and encryption on CentOS 7? Is 
encryption in ZFS stable? If so, I would use it on a new naked drive I just 
added. If not, I might stick with LUKS and XFS for now. The drive is a 2 Tb SSD.

Thanks.

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


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread H
On 09/23/2020 10:04 AM, Simon Matter wrote:
>> On 09/23/2020 09:28 AM, Simon Matter wrote:
> Date: Wednesday, September 23, 2020 08:37:01 -0400
> From: H 
>
>> On 09/23/2020 08:28 AM, Simon Matter wrote:
>>
>>> I just upgraded chromium on my CentOS 7 system and ended up with
>>> nothing loading. I tried to downgrade using yum downgrade
>>> chromium but there does not seem to be an older version on my
>>> system, nor does EPEL seem to have version 84 which is what I ran
>>> before.
>>>
>>> First, does anyone know why chromium 85 does not load /anything/?
>>> Firefox runs fine.
>> Do you run chromium locally or remote? I've seen the same behavior
>> but we're running on remote desktops which means we have to 3D
>> support. Once in the past this was a problem with chromium so I
>> thought maybe it's the same now.
>>
>>> Second, why is chromium 84 not available in EPEL?
>> EPEL doesn't provide old versions, they are removed when a new
>> release comes in. You can get the older chromium here:
>>
>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>> /1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>> /1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
> I run chromium locally. Version 84 ran just fine...
>
 It's hard to debug "does not load /anything/" without more specifics.
>>> It's exactly what the OP said, chromium starts, presents its main window
>>> and this one stays white whatever URL you try to load.
>>>
>>> But I'm using Firefox so I don't really care too much.
>>>
>>> Simon
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>> In order to install the older version from koji, is there any way to force
>> this downgrade from a locally downloaded package or do I need to first yum
>> remove chromium 85?
>>
>> Hoping for the first. I found rpm --replacepkgs but it cannot be used for
>> a downgrade, not even when adding --force to the command.
> rpm -Uvh --oldpackage chromium*.rpm
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Simon, much obliged! I am now back and have a usable browser again!

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


Re: [CentOS] C8 - Register with Red Hat

2020-09-23 Thread Johnny Hughes
On 8/17/20 4:37 PM, Gregory P. Ennis wrote:
> Everyone,
> 
> I am still in the low end of the learning curve with Centos 8, and keep 
> getting warning
> messages to register with Red Hat.  Is this a requirement for C8.  I do not 
> have a user ID
> with Red Hat; will they give a user ID for a Centos user.
> 
> "This system is not registered to Red Hat Subscription Management. You can use
> subscription-manager to register."
> 
> Thanks,
> 
> Greg Ennis

Did you upsate subscription manager ... i am pretty sure we fixed an
earlier branding issue .. what version is installed?



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


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 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). Every time this service fails
> because bond interface is not up.
>
>
>
> I have configured the service as:
>
>
> [Unit]
>
> Description=tcpdump capture script
>
> After=network.target
>
> Wants=network-online.target
>
>
>
> But it doesn’t work …. Any tip or trick?
>
>
>

So the network just calls the scripts and exits so they can take a while to
get working. I think this website covers what you want to do


https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service

systemctl list-units --no-pager | grep subsystem-net

Then look for the device which matches the one you are listening to. Change
the After=network.target to


BindsTo=sys-devices-virtual-net-.device
After=sys-devices-virtual-net-.device

where  is the interface you found (aka eth2, br9, bond0 etc)



> My host is CentOS8 x86_64.
>
>
> Regards,
> C. L. Martinez
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.
___
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] Chromium 85 does not load any pages

2020-09-23 Thread Simon Matter
> On 09/23/2020 09:28 AM, Simon Matter wrote:
>>>
 Date: Wednesday, September 23, 2020 08:37:01 -0400
 From: H 

> On 09/23/2020 08:28 AM, Simon Matter wrote:
>
>> I just upgraded chromium on my CentOS 7 system and ended up with
>> nothing loading. I tried to downgrade using yum downgrade
>> chromium but there does not seem to be an older version on my
>> system, nor does EPEL seem to have version 84 which is what I ran
>> before.
>>
>> First, does anyone know why chromium 85 does not load /anything/?
>> Firefox runs fine.
> Do you run chromium locally or remote? I've seen the same behavior
> but we're running on remote desktops which means we have to 3D
> support. Once in the past this was a problem with chromium so I
> thought maybe it's the same now.
>
>> Second, why is chromium 84 not available in EPEL?
> EPEL doesn't provide old versions, they are removed when a new
> release comes in. You can get the older chromium here:
>
> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
> /1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
> /1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
 I run chromium locally. Version 84 ran just fine...

>>> It's hard to debug "does not load /anything/" without more specifics.
>> It's exactly what the OP said, chromium starts, presents its main window
>> and this one stays white whatever URL you try to load.
>>
>> But I'm using Firefox so I don't really care too much.
>>
>> Simon
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>
> In order to install the older version from koji, is there any way to force
> this downgrade from a locally downloaded package or do I need to first yum
> remove chromium 85?
>
> Hoping for the first. I found rpm --replacepkgs but it cannot be used for
> a downgrade, not even when adding --force to the command.

rpm -Uvh --oldpackage chromium*.rpm

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


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread H
On 09/23/2020 09:28 AM, Simon Matter wrote:
>>
>>> Date: Wednesday, September 23, 2020 08:37:01 -0400
>>> From: H 
>>>
 On 09/23/2020 08:28 AM, Simon Matter wrote:

> I just upgraded chromium on my CentOS 7 system and ended up with
> nothing loading. I tried to downgrade using yum downgrade
> chromium but there does not seem to be an older version on my
> system, nor does EPEL seem to have version 84 which is what I ran
> before.
>
> First, does anyone know why chromium 85 does not load /anything/?
> Firefox runs fine.
 Do you run chromium locally or remote? I've seen the same behavior
 but we're running on remote desktops which means we have to 3D
 support. Once in the past this was a problem with chromium so I
 thought maybe it's the same now.

> Second, why is chromium 84 not available in EPEL?
 EPEL doesn't provide old versions, they are removed when a new
 release comes in. You can get the older chromium here:

 https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
 /1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
 https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
 /1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
>>> I run chromium locally. Version 84 ran just fine...
>>>
>> It's hard to debug "does not load /anything/" without more specifics.
> It's exactly what the OP said, chromium starts, presents its main window
> and this one stays white whatever URL you try to load.
>
> But I'm using Firefox so I don't really care too much.
>
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

In order to install the older version from koji, is there any way to force this 
downgrade from a locally downloaded package or do I need to first yum remove 
chromium 85?

Hoping for the first. I found rpm --replacepkgs but it cannot be used for a 
downgrade, not even when adding --force to the command.

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


[CentOS] Forefox on C7 - uses wrong program to view download folder

2020-09-23 Thread Gary Stainburn

I've got a C7 laptop using the default repo's (installed plus epel).

My firefox has decided to use the wrong program to view the downloads 
folder.


If I download and save a file, then click on the Downloads icon and 
click on view folder containing the file, it opens the MP3 editor 
EasyTag instead of Dolphin or Konquror.


How do I change it back.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread Simon Matter
>
>
>> Date: Wednesday, September 23, 2020 08:37:01 -0400
>> From: H 
>>
>>> On 09/23/2020 08:28 AM, Simon Matter wrote:
>>>
 I just upgraded chromium on my CentOS 7 system and ended up with
 nothing loading. I tried to downgrade using yum downgrade
 chromium but there does not seem to be an older version on my
 system, nor does EPEL seem to have version 84 which is what I ran
 before.

 First, does anyone know why chromium 85 does not load /anything/?
 Firefox runs fine.
>>>
>>> Do you run chromium locally or remote? I've seen the same behavior
>>> but we're running on remote desktops which means we have to 3D
>>> support. Once in the past this was a problem with chromium so I
>>> thought maybe it's the same now.
>>>
 Second, why is chromium 84 not available in EPEL?
>>> EPEL doesn't provide old versions, they are removed when a new
>>> release comes in. You can get the older chromium here:
>>>
>>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>>> /1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
>>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>>> /1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
>>
>> I run chromium locally. Version 84 ran just fine...
>>
>
> It's hard to debug "does not load /anything/" without more specifics.

It's exactly what the OP said, chromium starts, presents its main window
and this one stays white whatever URL you try to load.

But I'm using Firefox so I don't really care too much.

Simon

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


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread Richard



> Date: Wednesday, September 23, 2020 08:37:01 -0400
> From: H 
>
>> On 09/23/2020 08:28 AM, Simon Matter wrote:
>>
>>> I just upgraded chromium on my CentOS 7 system and ended up with
>>> nothing loading. I tried to downgrade using yum downgrade
>>> chromium but there does not seem to be an older version on my
>>> system, nor does EPEL seem to have version 84 which is what I ran
>>> before.
>>> 
>>> First, does anyone know why chromium 85 does not load /anything/?
>>> Firefox runs fine.
>>
>> Do you run chromium locally or remote? I've seen the same behavior
>> but we're running on remote desktops which means we have to 3D
>> support. Once in the past this was a problem with chromium so I
>> thought maybe it's the same now.
>> 
>>> Second, why is chromium 84 not available in EPEL?
>> EPEL doesn't provide old versions, they are removed when a new
>> release comes in. You can get the older chromium here:
>> 
>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>> /1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
>> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89
>> /1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
> 
> I run chromium locally. Version 84 ran just fine...
> 

It's hard to debug "does not load /anything/" without more specifics.

You may want to try the releases from the google repository. I've
been using version 85 (initially stable-85.0.4183.83-1.x86_64) on my
C7 systems since early this month and just updated from
stable-85.0.4183.102-1.x86_64 to stable-85.0.4183.121-1.x86_64 this
morning. Still with no issues. 


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


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

2020-09-23 Thread Stephen John Smoogen
On Wed, 23 Sep 2020 at 04:33, Carlos Lopez  wrote:

> 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). Every time this service fails
> because bond interface is not up.
>
>
>
> I have configured the service as:
>
>
> [Unit]
>
> Description=tcpdump capture script
>
> After=network.target
>
> Wants=network-online.target
>
>
>
> But it doesn’t work …. Any tip or trick?
>
>
>

So the network just calls the scripts and exits so they can take a while to
get working. I think this website covers what you want to do

https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service

systemctl list-units --no-pager | grep subsystem-net

Then look for the device which matches the one you are listening to. Change
the After=network.target to


BindsTo=sys-devices-virtual-net-.device
After=sys-devices-virtual-net-.device

where  is the interface you found (aka eth2, br9, bond0 etc)



> My host is CentOS8 x86_64.
>
>
> Regards,
> C. L. Martinez
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread H
On 09/23/2020 08:28 AM, Simon Matter wrote:
>> I just upgraded chromium on my CentOS 7 system and ended up with nothing
>> loading. I tried to downgrade using yum downgrade chromium but there does
>> not seem to be an older version on my system, nor does EPEL seem to have
>> version 84 which is what I ran before.
>>
>> First, does anyone know why chromium 85 does not load /anything/? Firefox
>> runs fine.
> Do you run chromium locally or remote? I've seen the same behavior but
> we're running on remote desktops which means we have to 3D support. Once
> in the past this was a problem with chromium so I thought maybe it's the
> same now.
>
>> Second, why is chromium 84 not available in EPEL?
> EPEL doesn't provide old versions, they are removed when a new release
> comes in. You can get the older chromium here:
>
> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89/1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
> https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89/1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm
>
> Regards,
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

I run chromium locally. Version 84 ran just fine...

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


Re: [CentOS] Chromium 85 does not load any pages

2020-09-23 Thread Simon Matter
> I just upgraded chromium on my CentOS 7 system and ended up with nothing
> loading. I tried to downgrade using yum downgrade chromium but there does
> not seem to be an older version on my system, nor does EPEL seem to have
> version 84 which is what I ran before.
>
> First, does anyone know why chromium 85 does not load /anything/? Firefox
> runs fine.

Do you run chromium locally or remote? I've seen the same behavior but
we're running on remote desktops which means we have to 3D support. Once
in the past this was a problem with chromium so I thought maybe it's the
same now.

>
> Second, why is chromium 84 not available in EPEL?

EPEL doesn't provide old versions, they are removed when a new release
comes in. You can get the older chromium here:

https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89/1.el7/x86_64/chromium-84.0.4147.89-1.el7.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/chromium/84.0.4147.89/1.el7/x86_64/chromium-common-84.0.4147.89-1.el7.x86_64.rpm

Regards,
Simon

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


[CentOS] Chromium 85 does not load any pages

2020-09-23 Thread H
I just upgraded chromium on my CentOS 7 system and ended up with nothing 
loading. I tried to downgrade using yum downgrade chromium but there does not 
seem to be an older version on my system, nor does EPEL seem to have version 84 
which is what I ran before.

First, does anyone know why chromium 85 does not load /anything/? Firefox runs 
fine.

Second, why is chromium 84 not available in EPEL?

Thanks.

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


[CentOS-docs] [centos/centos.org] branch master updated: Added new ClientVPS sponsor

2020-09-23 Thread git
This is an automated email from the git hooks/post-receive script.

arrfab pushed a commit to branch master
in repository centos/centos.org.

The following commit(s) were added to refs/heads/master by this push:
 new e866a89  Added new ClientVPS sponsor
e866a89 is described below

commit e866a89b8d4716890a35aa647cebee44e61abfc7
Author: Fabian Arrotin 
AuthorDate: Wed Sep 23 13:45:59 2020 +0200

Added new ClientVPS sponsor

Signed-off-by: Fabian Arrotin 
---
 _sponsors/clientvps.md|   6 ++
 assets/img/sponsors/clientvps.png | Bin 0 -> 1007 bytes
 2 files changed, 6 insertions(+)

diff --git a/_sponsors/clientvps.md b/_sponsors/clientvps.md
new file mode 100644
index 000..3cc75c7
--- /dev/null
+++ b/_sponsors/clientvps.md
@@ -0,0 +1,6 @@
+---
+name: ClientVPS 
+country: Finland
+logo: /assets/img/sponsors/clientvps.png
+address: https://www.clientvps.com/
+---
diff --git a/assets/img/sponsors/clientvps.png 
b/assets/img/sponsors/clientvps.png
new file mode 100644
index 000..14358b0
Binary files /dev/null and b/assets/img/sponsors/clientvps.png differ

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


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

2020-09-23 Thread Tony Mountifield
In article <004e8170-e842-4e8b-9623-db3ea236d...@outlook.com>,
Carlos Lopez  wrote:
> 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). Every time 
> this service fails because bond interface
> is not up.
> 
> 
> 
> I have configured the service as:
> 
> 
> 
> [Unit]
> 
> Description=tcpdump capture script
> 
> After=network.target
> 
> Wants=network-online.target
> 
> 
> 
> But it doesn’t work …. Any tip or trick?

Just add a line to the tcpdump script to wait for the interface.

Something like this:

until ifconfig -s | grep -q '^bond0' ; do sleep 1 ; done

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] 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). Every time this service fails because bond 
interface is not up.



I have configured the service as:



[Unit]

Description=tcpdump capture script

After=network.target

Wants=network-online.target



But it doesn’t work …. Any tip or trick?



My host is CentOS8 x86_64.


Regards,
C. L. Martinez

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