Comment # 11 on bug 1226664 from Georg Jansing
Sorry for the late reply. At first the testing repo was broken, then I did not
have time to test.
I did that now and it seems the `wicked` and `wicked-service` packages from the
testing repo fix the problem (for my test container):
```bash
# zypper -R $DIR install wicked-0.6.76-lp156.2.1.x86_64
wicked-service-0.6.76-lp156.2.1.x86_64
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 packages are going to be upgraded:
  wicked wicked-service

The following 2 packages are going to change vendor:
  wicked          SUSE LLC <https://www.suse.com/> ->
obs://build.opensuse.org/network
  wicked-service  SUSE LLC <https://www.suse.com/> ->
obs://build.opensuse.org/network

2 packages to upgrade, 2  to change vendor.
Overall download size: 1.4 MiB. Already cached: 0 B. After the operation,
additional 173.6 KiB will be used.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 

Checking for file conflicts: (1 skipped)
.......................................................[done]
Warning: 2 packages had to be excluded from file conflicts check because they
are not yet downloaded.

    Note: Checking for file conflicts requires not installed packages to be
downloaded in advance in
    order to access their file lists. See option '--download-in-advance /
--dry-run --download-only'
    in the zypper manual page for details.

Retrieving: wicked-0.6.76-lp156.2.1.x86_64 (Wicked-Testing)                    
                                                                               
                                        (1/2),   1.3 MiB    
Retrieving: wicked-0.6.76-lp156.2.1.x86_64.rpm
.....................................[done (1.6 MiB/s)]
Updating /etc/sysconfig/network/config ...
Updating /etc/sysconfig/network/dhcp ...
(1/2) Installing: wicked-0.6.76-lp156.2.1.x86_64
...............................................[done]
Retrieving: wicked-service-0.6.76-lp156.2.1.x86_64 (Wicked-Testing)            
                                                                               
                                        (2/2), 120.2 KiB    
Retrieving: wicked-service-0.6.76-lp156.2.1.x86_64.rpm
...........................[done (604.0 KiB/s)]
Running in chroot, ignoring command 'daemon-reload'
Running in chroot, ignoring command 'daemon-reload'
Running in chroot, ignoring command 'daemon-reload'
Running in chroot, ignoring command 'try-restart'
(2/2) Installing: wicked-service-0.6.76-lp156.2.1.x86_64
.......................................[done]

# systemd-nspawn -D $DIR --network-macvlan eth0 -b
[...]
Welcome to openSUSE Leap 15.6 - Kernel 6.4.0-150600.23.14-default (pts/0).
wickedbug-15 login: root
Password: 
wickedbug-15:~ # systemctl status wicked 
● wicked.service - wicked managed network interfaces
     Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; preset:
disabled)
     Active: active (exited) since Thu 2024-07-25 12:39:51 CEST; 7min ago
[...]
wickedbug-15:~ # wicked ifstatus all
Warning: using insecure memory!
lo              up
      link:     #1, state up
      type:     loopback
      config:   compat:suse:/etc/sysconfig/network/ifcfg-lo
      leases:   ipv4 static granted
      leases:   ipv6 static granted
      addr:     ipv4 127.0.0.1/8 [static]
      addr:     ipv6 ::1/128 [static]

mv-eth0         device-unconfigured
      link:     #2, state down, mtu 1500
      type:     macvlan, hwaddr 56:39:d9:e6:b4:78
wickedbug-15:~ # wicked ifup mv-eth0
Warning: using insecure memory!
wicked: ifup: no matching interfaces
```

The last command and the wicked service crashed before (It's okay, that there
is noch config for `mv-eth0`, see above).

I'm now waiting for the fix to land in the Update repos to use in my production
containers. I guess feedback from there is only needed, if something is wrong
there (not wanting to make too much noise here)?

Thank you very much :).


You are receiving this mail because: