[Bug 271745] How to tell FreeBSD to stop producing pkgsave / executable files that during the boot time will be executed more times.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 May 2023 13:16:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271745

            Bug ID: 271745
           Summary: How to tell FreeBSD to stop producing pkgsave /
                    executable files that during the boot time will be
                    executed more times.
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: marietto2008@gmail.com

Hello.

From the boot messages I see that tor starts two times. So,I'm investigating
the reason 
and I've found that it could be because the system creates a lot of pkgsave
files and they are even executables,as you can see below.

Code:

# find /usr -name "tor*.pkgsave" -print

/usr/local/bin/tor.pkgsave
/usr/local/etc/rc.d/tor.pkgsave

# find /usr -name "tor" -print

/usr/local/bin/tor
/usr/local/etc/tor
/usr/local/etc/rc.d/tor

The pkgsave / executable files produced in a circumstance that I haven't
understood well, during the boot time will be executed more times,messing up
the system. Ss there a method to tell the system to don't produce them ?
otherwise I have a lot of duplicated services that tries to start and a lot of
errors happens.

I have discusses about this problem on the FreeBSD Forums. A lot of temporary
workarounds have been produced,but the problem has not been fixed at the root.
You can read everything going here :

https://forums.freebsd.org/threads/how-to-tell-freebsd-to-stop-producing-pkgsave-files.87645/page-2#post-594560

thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.