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

    Packages still present after factory reset

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 1.8k Views
    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.
    • 3
      3n1gm4
      last edited by

      I recently did a factory reset on a PFsense.  After re-configuring it from scratch, I'm still getting syslog errors from the old packages before the reset.  For example, I'm getting this continuously:

      kernel: pid xxxx (bandwidthd), uid -: exited on signal 8 (core dumped)
      kernel: pid xxxx (bandwidthd), uid -: exited on signal 8 (core dumped)
      kernel: pid xxxx (bandwidthd), uid -: exited on signal 8 (core dumped)
      kernel: pid xxxx (bandwidthd), uid -: exited on signal 8 (core dumped)
      kernel: pid xxxx (bandwidthd), uid -: exited on signal 8 (core dumped)

      How do I permanently delete the packages without completely erasing the drive and re-installing PFsense?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Doing a factory reset only resets the configuration, NOT the filesystem, so package binaries are still installed.

        You can use "pkg_info" at the shell and "pkg_delete (blah)" to get rid of the ones you know you don't need.

        A wipe+reinstall is the only way to 100% ensure you have a fresh/clean install.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          And there are probably package start/stop scripts in /usr/local/etc/rc.d

          [2.1-RC2][root]/usr/local/etc/rc.d(14): ls -l
          -rwxr-xr-x  1 root  wheel  1311 Sep 10 07:12 bandwidthd.sh
          -rwxr-xr-x  1 root  wheel   325 Sep  9 09:42 cron.sh
          

          The pfSense bootup will be trying to execute each of these to start the corresponding package/daemon. Deleting these will stop that happening.
          The factory default config will have got rid of the GUI menu entries for any packages. And after doing pkg_delete as suggested by JimP you "should" be back to the base system. But there might be other remnants of some packages - as JimP says, a full wipe/reinstall is the way to be sure.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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