miredo.service fails on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Miredo |
New
|
Undecided
|
Unassigned | ||
miredo (Debian) |
Fix Released
|
Unknown
|
|||
miredo (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
```
* miredo.service - Teredo IPv6 tunneling
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Thu 2015-08-06 09:07:29 EEST; 12min ago
Aug 06 09:07:28 terasar systemd[1]: Starting Teredo IPv6 tunneling...
Aug 06 09:07:29 terasar systemd[1]: miredo.service: Control process exited, code=exited status=255
Aug 06 09:07:29 terasar systemd[1]: Failed to start Teredo IPv6 tunneling.
Aug 06 09:07:29 terasar miredo-
Aug 06 09:07:29 terasar miredo-
Aug 06 09:07:29 terasar miredo-
Aug 06 09:07:29 terasar systemd[1]: miredo.service: Unit entered failed state.
Aug 06 09:07:29 terasar systemd[1]: miredo.service: Failed with result 'exit-code'.
```
"Tilapäinen virhe nimenselvityksessä" means "Temporary error in name resolution". I think this is caused by this laptop being wirelesss and not having network connectivity when systemd starts miredo.
I believe the fix would be making miredo.service require network-
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: miredo 1.2.6-3
ProcVersionSign
Uname: Linux 4.1.0-3-generic x86_64
NonfreeKernelMo
ApportVersion: 2.18-0ubuntu5
Architecture: amd64
CurrentDesktop:
Date: Thu Aug 6 09:16:38 2015
InstallationDate: Installed on 2015-07-31 (5 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha amd64 (20150729)
SourcePackage: miredo
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Changed in miredo (Ubuntu): | |
importance: | Undecided → Medium |
Changed in miredo (Debian): | |
status: | Unknown → New |
Changed in miredo (Debian): | |
status: | New → Fix Released |
tags: | removed: wily |
I tried editing the unit file and replacing network.target with network- online. target worked.
``` system/ miredo. service online. target
% cat /etc/systemd/
[Unit]
Description=Teredo IPv6 tunneling
After=network-
[Service] /usr/sbin/ miredo- checkconf -f /etc/miredo/ miredo. conf /usr/sbin/ miredo -f /bin/kill -HUP $MAINPID
ExecStartPre=
ExecStart=
ExecReload=
[Install] multi-user. target
WantedBy=
```
``` system/ miredo. service; enabled; vendor preset: enabled) /usr/sbin/ miredo- checkconf -f /etc/miredo/ miredo. conf (code=exited, status=0/SUCCESS) slice/miredo. service x86_64- linux-gnu/ miredo/ miredo- privproc 4
% LC_ALL=C systemctl status -l miredo
* miredo.service - Teredo IPv6 tunneling
Loaded: loaded (/etc/systemd/
Active: active (running) since Thu 2015-08-06 09:30:27 EEST; 3min 4s ago
Process: 1037 ExecStartPre=
Main PID: 1053 (miredo)
CGroup: /system.
|-1053 /usr/sbin/miredo -f
|-1056 /usr/sbin/miredo -f
`-1057 /usr/lib/
Aug 06 09:30:27 terasar systemd[1]: Starting Teredo IPv6 tunneling...
Aug 06 09:30:27 terasar systemd[1]: Started Teredo IPv6 tunneling.
Aug 06 09:30:27 terasar miredo[1053]: Starting...
Aug 06 09:30:27 terasar miredo[1053]: miredo[1053]: Starting...
Aug 06 09:30:27 terasar miredo[1056]: New Teredo address/MTU
Aug 06 09:30:27 terasar miredo[1056]: Teredo pseudo-tunnel started
Aug 06 09:30:27 terasar miredo[1056]: (address: REMOVED, MTU: 1280)
Aug 06 09:30:27 terasar miredo[1053]: miredo[1056]: New Teredo address/MTU
Aug 06 09:30:27 terasar miredo[1053]: miredo[1056]: Teredo pseudo-tunnel started
Aug 06 09:30:27 terasar miredo[1053]: miredo[1056]: (address: REMOVED, MTU: 1280)
```
(REMOVED is not part of the output, I removed the real addresses from those spots.)