/Library/LaunchDaemons and plist on Mac OS 12.2, Where is it?

I have a weekly restart plist that was working fine on Mac OS 11 and prior OSs, but on 12.2 that I have, it does not seem to be able to execute.

Before (older OS) it was sitting on /Library/LaunchDaemons, but that folder seems to not exist anymore.

I created it and that did not help.

Anyone knows where LaunchDeamons is located on Mac OS12.2?

Posted on Feb 28, 2022 6:11 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 2, 2022 1:28 PM

The macOS system volume is now locked into a read-only mode.

About the read-only system volume in macOS Catalina - Apple Support


Any customizations made will only exist in the linked folder location on the read+write DATA volume. However, with macOS 10.15+ each version of each later macOS tends to tie these two volumes together in slightly different ways. Usually it means the ties become hidden including some items not being visible at all without finding some unique methods to see/access them. With Big Sur and Monterey, even the command line does not always show things properly. I tried to locate the writable location for the main "/Library" folder and could not see the Data volume in the Finder, but could see it from the command line. On the command line the writeable location appears to be "/System/Volumes/Data/Library".


FYI, I have never created a Launch Agent, but maybe this information will help you find a solution.

Similar questions

5 replies
Question marked as Top-ranking reply

Mar 2, 2022 1:28 PM in response to Dj Damjano

The macOS system volume is now locked into a read-only mode.

About the read-only system volume in macOS Catalina - Apple Support


Any customizations made will only exist in the linked folder location on the read+write DATA volume. However, with macOS 10.15+ each version of each later macOS tends to tie these two volumes together in slightly different ways. Usually it means the ties become hidden including some items not being visible at all without finding some unique methods to see/access them. With Big Sur and Monterey, even the command line does not always show things properly. I tried to locate the writable location for the main "/Library" folder and could not see the Data volume in the Finder, but could see it from the command line. On the command line the writeable location appears to be "/System/Volumes/Data/Library".


FYI, I have never created a Launch Agent, but maybe this information will help you find a solution.

Feb 28, 2022 7:47 PM in response to Dj Damjano

For something that shuts the computer down, a Launch Daemon doesn't make much sense.

I haven't made a LaunchAgent on Monterey, but I doubt that anything changed. There are third-party launch agents that work.

Some things have changed in 6 or 7 years. The Program must be an absolute path. If no Program, the first element of the ProgramArguments must be an absolute path. There may be some other things that have changed which prevent them from working.

Feb 28, 2022 7:24 PM in response to Barney-15E

You are correct, my mistake, I was not correct on my first statement.

That said, the plist was tested by loading it in the /Library/LaunchDaemons and then on /Library/LaunchAgents, but it fails to run.

It is a simple shutdown -r now command that has been working fine on the past 6 or 7 years, but now it doesn't seem to work anymore.

Did Apple block custom plist from running? Have you had success on Mac OS12?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

/Library/LaunchDaemons and plist on Mac OS 12.2, Where is it?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.