9 Replies
      Latest reply: Nov 16, 2016 3:20 AM by gs4711 RSS
      whatthewhat Level 1 Level 1 (0 points)

        I have tons of sandbox lines in my boot sequence. I want to know what they are and how to get rid of the bad ones. They may all be bad ones. How do I start? They all have "private" in the command line. Interminably long boot time, and I know I'm being spydered.

        • Re: sandbox command lines
          eskimo Apple Staff Apple Staff (7,190 points)

          I’m not sure what you’re talking about here.  Can you post one specific example?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

          • Re: sandbox command lines
            whatthewhat Level 1 Level 1 (0 points)

            Sure. I tried asking a Senior Support Specialist if there were commands that allowed me to print the boot sequence, or pause (e.g., by depressing the spacebar). They indicated this was not possible. That seems weird and untrue, so if you can tell me how to do either or both, I'd be much obliged. In the meantime, I took photos of my boot sequence. Some are blurry because the photos were taken when lines were being added.

             

            The sandbox code that starts out is blurrier, but it appears to be repeats of the following lines:

            Sandbox: launchd(1) SystemPolicy: deny(1) file-write-unlink

            .. /private/tmp/PKInstallSandbox.MB6g1L/Scripts/com.apple.pkg.iTunesX.v4G5EB/da.lproj/Welcome.rtf

            //with repeats of this, intermixed with code that has "file-write-flags" in place of "file-write-unlink," and ReadMe.rtf in place of Welcome.rtf

             

            Then later, similar lines with "Japanese" and "Italian" in place of "da".

            Then later, still similar with "obsolete-files-full-install" in place of Welcome.rtf

            And still other lines with "postinstall_actions/addDockIconUserPostflight" in place of Welcome.rft

            And then there are lines related to MobileDevice rather than iTunesX that have what is I'm assuming an identifyer for my iPhone 5c (MobileDevice.5Z3185) followed by postinstall and preinstall_actions like registerbundle, usbeauxdpost (difficult to see), usbmuxdpre...

             

            Later, these two command lines repeat for about three screenfulls. These are much clearer.

            Sandbox: launchd(1) SystemPolicy: deny(1) file-write-flags / private/var/run/dyld_shared_cache_x86_64

            Sandbox: launchd(1) SystemPolicy: deny(1) file-write-unlink / private/var/run/dyld_shared_cache_x86_64

             

            These seem scary shared cache what!

             

            At best it is irritating and elongating my sequence tremendously. I mean why the repetitiveness about seemingly simple and rote tasks. Now that I've taken pics of the code it seems like it has the potential to be less harmful At worst it is concerning because I can't see all the lines with photos, I don't know what all the lines mean in the boot sequence, and I don't know what scripts are being called.

             

            Thanks in advance!!

              • Re: sandbox command lines
                eskimo Apple Staff Apple Staff (7,190 points)

                Interesting, but I’m still a bit confused.  Where does your code fit into this equation?

                Share and Enjoy

                Quinn “The Eskimo!”
                Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                let myEmail = "eskimo" + "1" + "@apple.com"

                  • Re: sandbox command lines
                    whatthewhat Level 1 Level 1 (0 points)

                    It's not my code. Haven't coded for a long time, and I've never coded in Sandbox. It's somebody's code, though...

                      • Re: sandbox command lines
                        whatthewhat Level 1 Level 1 (0 points)

                        (insert Jeopardy thinking theme song here)

                        • Re: sandbox command lines
                          eskimo Apple Staff Apple Staff (7,190 points)

                          It's not my code.

                          Hmmm.  Either I’m still confused, or you are.  If there’s none of your code involved, why are you posting this in the Apple Developer Forums?

                          Reading through your emails so far it seems to me that your issue would be better served by one of the following:

                          • If you’re looking for help with the user-level behaviour of the system, post in Apple Support Communities, run by AppleCare.

                          • If you’d like to see changes in the user-level behaviour of the system, file a bug report.

                          Share and Enjoy

                          Quinn “The Eskimo!”
                          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                          let myEmail = "eskimo" + "1" + "@apple.com"

                            • Re: sandbox command lines
                              whatthewhat Level 1 Level 1 (0 points)

                              Perhaps it has to do with the indexing Apple has for sandboxing. Apple references sandbox as a Developer tool. I'm so tired of getting passed around. I just want my computer to not be infiltrated by people, and it is, all the time. Apple says you are protected as long as you have the latest operating system for your machine. I've always had the latest operating system for my machine, and I've always experienced suspicious behavior on it. Nobody with whom I speak at Apple ever seems to be abe to solve problems or answer questions with any specificity. Usually, they talk about the higher-level engineers, who actually know what the machine code does, yet who cannot speak with users. The lack of transparency and flexibility in working with users, who obviously are going to be all different types of people with all different types of computing experience, is staggeringly annoying. I suppose I ought to feel guilty because I should know Linux and VisualBasic and C++ and Python and HTML and CSS and Javascript and, and, and...good grief, it's just beyond exhausting. There are only so many hours in a day. Okay, so what you're telling me is I need to repeat all this in another forum.

                        • Re: sandbox command lines
                          gs4711 Level 1 Level 1 (0 points)

                          As far as I have got you have mentioned the ongoing scary logfile entries about Sandbox: ... deny ... during boot process.

                          These messages are, in fact, a good sign from the user's perspective as your operating system has reported denials and prohibited those actions. From the software development perspective this is a bad sign as some programs do not act according to the sandbox rules.

                           

                          So, does this statement convince you (as user) to calm down as the operating system does take care?