Svscan problem



  • Hi all!

    I have pfSense version 2.2.2 for i386. Since version 2.2.1 I;ve had problems with svscan. I'm trying to setuo DNS server with tinyDNS but the service svscan fails to start, hence tinyDNS also fails. Lookig deep into the startup files I noticed that the startup script for svscan (located at /usr/local/etc/rc.d/svscan.sh) is wrong. More specifically, the path to command is bad.

    Currently it reads like this:
    name="svscan"
    rcvar="${name}_enable"
    command="/usr/local/bin/svscan"
    svscan_enable=${svscan_enable-"YES"}
    svscan_servicedir=${svscan_servicedir-"/var/run/service"}
    logdir="/var/log/svscan"

    You need to change this:
    command="/usr/local/bin/svscan"

    To this:
    command="/usr/pbi/djbdns-i386/local/bin/svscan"

    Once the change is done, svscan works good!.

    I'm relatively new to pfSense and I do not know if there is a bugtracker for us free (non-licensed) users. If anybody knows where this is, please let me know so I can create a ticket and have this checked.

    Thought I'd let you all know how I solved my problem. Hopefully it will help many others.

    Cheers!


    mafren



  • AWESOME!

    Thank you very much, finally I can get DNS setup again, have been dealing with workarounds for the last two weeks. :)



  • Tough luck, can't start the dns server..

    I guess BIND is the next step..



  • Thanks, helped me a lot.

    For 64 bit system the command line should be

    command="/usr/pbi/djbdns-amd64/local/bin/svscan"


  • Banned

    https://github.com/pfsense/pfsense-packages/blob/master/config/tinydns/tinydns.inc#L77

    Tired of this PBI crap.

    Do you have /usr/local/bin/svc or it's wrong as well?