Come disattivare Bonjour?

1

My iMac (fine 2009 con Mavericks) può essere avviato solo in modalità provvisoria. Ho letto che potrebbe essere correlato a un problema di mdns responder.

Il log ritorna con 2 tipi di linee che sembrano sospette (ma sono totalmente alle prime armi!):

May  4 20:39:43 Macs-iMac-3.local racoon[146]: failed to bind to address fd20:c40d:6b6d:9361:80a:aacb:6d80:2d86[500]: because interface address is/was not ready (flags 2)
+
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FA01AD60 Macs-iMac-3.local. (Addr) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FA01B1F0 1.0.0.127.in-addr.arpa. (PTR) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FB801B60 Macs-iMac-3.local. (AAAA) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FB801FF0 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. (PTR) that's already in the list

Vorrei provare a disattivare Bonjour utilizzando le istruzioni di Apple link Ma non so dove mettere la riga <string>-NoMulticastAdvertisements</string> nel file mdnsresponder.plist.

Ecco il mio plist. Dove dovrei posizionare questa linea?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.apple.mDNSResponder</string>
    <key>OnDemand</key>
    <false/>
    <key>InitGroups</key>
    <false/>
    <key>UserName</key>
    <string>_mdnsresponder</string>
    <key>GroupName</key>
    <string>_mdnsresponder</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/mDNSResponder</string>
    </array>
    <key>MachServices</key>
    <dict>
        <key>com.apple.mDNSResponder</key>
        <true/>
               <key>com.apple.mDNSResponder.dnsproxy</key>
               <true/>
    </dict>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockFamily</key>
            <string>Unix</string>
            <key>SockPathName</key>
            <string>/var/run/mDNSResponder</string>
            <key>SockPathMode</key>
            <integer>438</integer>
        </dict>
    </dict>
    <key>EnableTransactions</key>
    <true/>
    <key>BeginTransactionAtShutdown</key>
    <true/>
    <key>POSIXSpawnType</key>
    <string>Interactive</string>
</dict>
</plist>
    
posta user77491 05.05.2014 - 21:42
fonte

1 risposta

1

Aggiungilo come argomento del programma. L'ho aggiunto alla lista seguente:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.apple.mDNSResponder</string>
    <key>OnDemand</key>
    <false/>
    <key>InitGroups</key>
    <false/>
    <key>UserName</key>
    <string>_mdnsresponder</string>
    <key>GroupName</key>
    <string>_mdnsresponder</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/mDNSResponder</string>
        <string>-NoMulticastAdvertisements</string>
    </array>
    <key>MachServices</key>
    <dict>
        <key>com.apple.mDNSResponder</key>
        <true/>
               <key>com.apple.mDNSResponder.dnsproxy</key>
               <true/>
    </dict>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockFamily</key>
            <string>Unix</string>
            <key>SockPathName</key>
            <string>/var/run/mDNSResponder</string>
            <key>SockPathMode</key>
            <integer>438</integer>
        </dict>
    </dict>
    <key>EnableTransactions</key>
    <true/>
    <key>BeginTransactionAtShutdown</key>
    <true/>
    <key>POSIXSpawnType</key>
    <string>Interactive</string>
</dict>
</plist>
    
risposta data 05.05.2014 - 21:50
fonte

Leggi altre domande sui tag