Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

launchd et bootpd

5 réponses
Avatar
Nicolas-Michel_REMOVE
Bonjour

Un de mes serveur vient de planter.
ProductName: Mac OS X Server
ProductVersion: 10.5.6

Dans les logs, je retrouve plein de trucs à propos de bootpd.
A prioris, j'ai pas besoins de bootpd donc je souhaite le désactiver.

Le problème : impossible de désactiver ce truc.
Je le tue, il revient
Je le désactive, il dit "nothing found to unload"

Comment faire ?

Merci d'avance !



PS voici ce que j'ai fait ....

# launchctl list |grep boo
4003 - com.apple.bootpd

# launchctl unload -w /etc/bootpd.plist
launchctl: missing the Label key: /etc/bootpd.plist
nothing found to unload

# launchctl stop /etc/bootpd.plist
launchctl stop error: No such process

# ps -afxcww |grep boot
0 4003 1 0 0:00.01 ?? 0:00.02 bootpd

# ps 1
PID TT STAT TIME COMMAND
1 ?? Ss 0:08.63 /sbin/launchd


--
Nicolas Michel

5 réponses

Avatar
laurent.pertois
Michel Nicolas Alex wrote:

# launchctl unload -w /etc/bootpd.plist
launchctl: missing the Label key: /etc/bootpd.plist
nothing found to unload



Ben, ce n'est pas là qu'il faudrait chercher pour launchd, il cherche
dans /System/Library/LaunchDaemons, /System/Library/LaunchAgents,
/Library/LaunchDaemons, /Library/LaunchAgents et
$HOME/Library/LaunchAgents.

/etc/bootpd.plist, de mémoire, est plutôt le fichier de configuration du
daemon, d'ailleurs il est dans /etc/

Maintenant, tu dis ne pas en avoir besoin, mais quels services as-tu
activé sur ce serveur ?

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
Avatar
Nicolas-Michel_REMOVE
Laurent Pertois wrote:

Michel Nicolas Alex wrote:

> # launchctl unload -w /etc/bootpd.plist
> launchctl: missing the Label key: /etc/bootpd.plist
> nothing found to unload

Ben, ce n'est pas là qu'il faudrait chercher pour launchd, il cherche
dans /System/Library/LaunchDaemons, /System/Library/LaunchAgents,
/Library/LaunchDaemons, /Library/LaunchAgents et
$HOME/Library/LaunchAgents.



"suis-je con ?"
c'était pourtant évident.

/etc/bootpd.plist, de mémoire, est plutôt le fichier de configuration du
daemon, d'ailleurs il est dans /etc/



C'est que j'avais rien trouvé d'autre, le fichier n'ayant pas le même
nom que le service. Un petit grep m'a remis les idées en place.

C'était /System/Library/LaunchDaemons/bootps.plist
alors que "launchctl list" me sort "com.apple.bootpd"

Maintenant, tu dis ne pas en avoir besoin, mais quels services as-tu
activé sur ce serveur ?



Du afp uniquement.


Merci Laurent !!
--
Nicolas Michel
Avatar
laurent.pertois
Michel Nicolas Alex wrote:

> Ben, ce n'est pas là qu'il faudrait chercher pour launchd, il cherche
> dans /System/Library/LaunchDaemons, /System/Library/LaunchAgents,
> /Library/LaunchDaemons, /Library/LaunchAgents et
> $HOME/Library/LaunchAgents.

"suis-je con ?"
c'était pourtant évident.



Ca doit être dans le man...

> /etc/bootpd.plist, de mémoire, est plutôt le fichier de configuration du
> daemon, d'ailleurs il est dans /etc/

C'est que j'avais rien trouvé d'autre, le fichier n'ayant pas le même
nom que le service. Un petit grep m'a remis les idées en place.

C'était /System/Library/LaunchDaemons/bootps.plist
alors que "launchctl list" me sort "com.apple.bootpd"



Ben, c'est son nom dans le plist ;-)

> Maintenant, tu dis ne pas en avoir besoin, mais quels services as-tu
> activé sur ce serveur ?

Du afp uniquement.



Tu n'aurais pas joué un jour avec le netboot ?

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
Avatar
Nicolas-Michel_REMOVE
Laurent Pertois wrote:

> Du afp uniquement.

Tu n'aurais pas joué un jour avec le netboot ?



si si, j'avais fait des tests, mais depuis j'ai recyclé la machine.
A voir j'ai pas dû la reformater.
Bon, du moment que ça tourne ...

Merci encore !

--
Nicolas Michel
Avatar
laurent.pertois
Michel Nicolas Alex wrote:

Laurent Pertois wrote:

> > Du afp uniquement.
>
> Tu n'aurais pas joué un jour avec le netboot ?

si si, j'avais fait des tests, mais depuis j'ai recyclé la machine.
A voir j'ai pas dû la reformater.



Sûrement, ça m'est déjà arrivé d'avoir bootpd toujours actif après
extinction du netboot.

Bon, du moment que ça tourne ...



Yep.

Merci encore !



Mais de rien.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.