Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Packages without config files silently fail to install

    pfSense Packages
    1
    2
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kiloman
      last edited by

      I'm trying to install Quagga and the script seems to be stopping at 'Loading package configuration".  Quagga doesn't have a configuration file defined in the current package spec XML.  It should be throwing an error, but if there's no config file in the XML, the file_exists test sees that the directory is there and proceeds along and dies at parse_xml_config_pkg with an unset $configfile.

      What's the proper behavior when this is the case? I'm guessing the packages SHOULD have a config file… but until this is fixed, maybe the PHP should handle it a little better? A simple test for config_file being set in the XML would probably be a good start.

      1 Reply Last reply Reply Quote 0
      • K
        Kiloman
        last edited by

        Anyways, I hacked it to skip parse_xml_config_pkg if $configfile is unset. The package appears to have installed OK, the RC scripts and binaries are there… I'm just not sure how it's going to start. I suppose I could just SSH in and start it manually from the shell, but that's not really a permanent fix. What's the deal?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.