Miredo not starting now

When I first installed Miredo on my Tumbleweed system to access IPV6 places it worked. When I came to use it today I find that it fails to start.

systemctl status miredo-client.service 
**×** miredo-client.service - Miredo - Teredo IPv6 Tunneling Client For Unix 
     Loaded: loaded (/usr/lib/systemd/system/miredo-client.service; enabled; vendor preset: disabled) 
     Active: **failed** (Result: exit-code) since Fri 2021-11-26 17:51:02 GMT; 2s ago 
    Process: 4470 ExecStart=/usr/sbin/miredo **(code=exited, status=1/FAILURE)**
        CPU: 34ms 

Nov 26 17:51:02 Tumbleweed.Crowhill systemd[1]: Starting Miredo - Teredo IPv6 Tunneling Client For Unix... 
Nov 26 17:51:02 Tumbleweed.Crowhill miredo[4470]: Error: /dev/net/tun character device not found or unavailable. 
Nov 26 17:51:02 Tumbleweed.Crowhill miredo[4470]: You might try to run this command to load it: 
Nov 26 17:51:02 Tumbleweed.Crowhill miredo[4470]: $ modprobe tun 
Nov 26 17:51:02 Tumbleweed.Crowhill miredo[4470]: (you must be root to do that). 
Nov 26 17:51:02 Tumbleweed.Crowhill systemd[1]: **miredo-client.service: Control process exited, code=exited, status=1/FAILURE**
Nov 26 17:51:02 Tumbleweed.Crowhill systemd[1]: **miredo-client.service: Failed with result 'exit-code'.**
Nov 26 17:51:02 Tumbleweed.Crowhill systemd[1]: **Failed to start Miredo - Teredo IPv6 Tunneling Client For Unix.**

I tried modprobe tun but Miredo still fails with the same messages. There is an entry in /dev/net/tun but it has 0b size. Has anyone any ideas please?

Stuart

Hi
I see here;


ls -la /dev/net/tun

crw-rw-rw- 1 root root 10, 200 Nov 25 16:38 /dev/net/tun

Do you see the same?

Yes identical apart from the date and time.

Stuart

I just looked at the journal and found that I obviously rebooted on the 19th October probably following a zipper dup and it was working prior to reboot and failing following reboot and has not worked since. Looking at the zypp log archive I found

# 2021-10-19 10:07:00 miredo-client-1.2.6-4.1.x86_64.rpm installed ok
# Additional rpm output:
# Job for miredo-client.service failed because the control process exited with error code.
# See "systemctl status miredo-client.service" and "journalctl -xeu miredo-client.service" for details.
# 

prior to this it worked.

Stuart

PS. Just looked at the change log for miredo-client and the changes were to add hardening, so I’m guessing that could have caused it. Now to work out what to change!

Hi
Then I would create a bug report…

Will do just that.

Stuart

Bug 1193130](https://bugzilla.opensuse.org/show_bug.cgi?id=1193130) created today.

Stuart

I have tested a fix for this and it works. See the bug for details if you need this before it rolls out.

Stuart