Hello Michael,

One thing I have noticed about this:

(c)inaddy@temp:~$ systemctl status radvd
● radvd.service - Router advertisement daemon for IPv6
   Loaded: loaded (/lib/systemd/system/radvd.service; disabled; vendor preset: 
enabled)
   Active: inactive (dead)
     Docs: man:radvd(8)

Jul 08 15:49:06 temp systemd[1]: Starting Router advertisement daemon for 
IPv6...
Jul 08 15:49:07 temp radvd[1928]: config file, /etc/radvd.conf, syntax ok
Jul 08 15:49:07 temp radvd[1929]: version 2.17 started
Jul 08 15:49:07 temp radvd[1929]: IPv6 forwarding setting is: 0, should be 1 or 
2
Jul 08 15:49:07 temp radvd[1929]: IPv6 forwarding seems to be disabled, but 
continuing anyway
Jul 08 15:49:07 temp systemd[1]: Started Router advertisement daemon for IPv6.
Jul 08 15:49:09 temp systemd[1]: Stopping Router advertisement daemon for 
IPv6...
Jul 08 15:49:09 temp systemd[1]: radvd.service: Succeeded.
Jul 08 15:49:09 temp systemd[1]: Stopped Router advertisement daemon for IPv6.
Jul 08 15:49:20 temp systemd[1]: /lib/systemd/system/radvd.service:11: PIDFile= 
references path below legacy directory /var/run/, upd

After the reboot, the service is NOT enabled by default, likely because
of missing radvd.conf file in /etc. What you are seeing is just a
deprecated warning message (15:49:20) after reboot, but I was able to
manually start my service after reboot.

The real issue here could be not having radvd.conf file created by
default, at least a simple one like this:

interface eth0
{
   AdvSendAdvert on;
   prefix 2001:db8::/64
   {
   };
};

And, possibly, the installation would enable radvd.service by default.
In the second boot I have enabled radvd and after a new reboot it goot
started automatically:

● radvd.service - Router advertisement daemon for IPv6
   Loaded: loaded (/lib/systemd/system/radvd.service; enabled; vendor preset: 
enabled)
   Active: active (running) since Mon 2019-07-08 15:53:05 UTC; 35s ago
     Docs: man:radvd(8)
  Process: 244 ExecStartPre=/usr/sbin/radvd --logmethod stderr_clean 
--configtest (code=exited, status=0/SUCCESS)
  Process: 350 ExecStart=/usr/sbin/radvd --logmethod stderr_clean (code=exited, 
status=0/SUCCESS)
 Main PID: 354 (radvd)
    Tasks: 2 (limit: 4915)
   Memory: 1.3M
   CGroup: /system.slice/radvd.service
           ├─354 /usr/sbin/radvd --logmethod stderr_clean
           └─355 /usr/sbin/radvd --logmethod stderr_clean

Jul 08 15:53:05 temp systemd[1]: Starting Router advertisement daemon for 
IPv6...
Jul 08 15:53:05 temp radvd[244]: config file, /etc/radvd.conf, syntax ok
Jul 08 15:53:05 temp radvd[350]: version 2.17 started
Jul 08 15:53:05 temp radvd[350]: IPv6 forwarding setting is: 0, should be 1 or 2
Jul 08 15:53:05 temp radvd[350]: IPv6 forwarding seems to be disabled, but 
continuing anyway
Jul 08 15:53:05 temp systemd[1]: Started Router advertisement daemon for IPv6.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835446

Title:
  radvd unit still references /var/run for pidfile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/radvd/+bug/1835446/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to