Solution (almost certainly): postfix fails to launch at boot

Steven Smith steve.t.smith at gmail.com
Tue Jan 14 13:51:29 UTC 2020


> Are you certain?

“Often wrong, never in doubt.”

Yes, I am certain:

> sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.postfix.master.plist 
> 
> /System/Library/LaunchDaemons/com.apple.postfix.master.plist: Operation not permitted while System Integrity Protection is engaged


> On Jan 13, 2020, at 14:23, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
> 
>> On Jan 11, 2020, at 12:32, Steven Smith wrote:
>> 
>> First, as Gerben points out, macOS‘s postfix launch daemon is in /System/Library, so you’d have to disable SIP to unload it, which at best is a major PITA, and realistically a non-option.
> 
> Are you certain? Certainly modifying anything in /System would require disabling SIP, but we're not talking about modifying anything there; we're just talking about unloading a launchd plist. Whether or not a plist is loaded used to be recorded in the plist itself, but that hasn't been the case for many years; according to the launchctl(1) manpage, that state is now stored "elsewhere on-disk in a location that may not be directly manipulated by any process other than launchd."
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200114/e83119f5/attachment.bin>


More information about the macports-users mailing list