Avahi-Daemon won't run - runtime /run not /opt/var/run

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
gary987
DD-WRT Novice


Joined: 23 May 2011
Posts: 7

PostPosted: Sat Jun 06, 2020 18:45    Post subject: Avahi-Daemon won't run - runtime /run not /opt/var/run Reply with quote
Using Avahi Daemon from Entware won't start because it wants to use a runtime directory of /run, instead of /opt/var/run.

Other services all pick the correct directory such as dbus. Any thoughts on how to fix this?
Sponsor
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 9157

PostPosted: Fri Jul 17, 2020 15:35    Post subject: Re: Avahi-Daemon won't run - runtime /run not /opt/var/run Reply with quote
gary987 wrote:
Using Avahi Daemon from Entware won't start because it wants to use a runtime directory of /run, instead of /opt/var/run.

Other services all pick the correct directory such as dbus. Any thoughts on how to fix this?


Yeah, you can simply use a hex editor and change all references of /run to /tmp (iirc, there are five (5) of them). It's what I had to do and it worked fine.

_________________
ddwrt-ovpn-split-basic.sh (UPDATED!) * ddwrt-ovpn-split-advanced.sh (UPDATED!) * ddwrt-ovpn-client-killswitch.sh * ddwrt-ovpn-client-watchdog.sh * ddwrt-ovpn-remote-access.sh * ddwrt-ovpn-client-backup.sh * ddwrt-mount-usb-drives.sh * ddwrt-blacklist-domains.sh * ddwrt-wol-port-forward.sh * ddwrt-dns-monitor.sh (NEW!)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum