Un petit extrait du man de nfsd... pas tout compris, mais visiblement les
messages d'erreur sont envoyes sur la sortie erreur standard vu que nfs
fonctionne en tache de fond. Et il n'y a pas l'air d'avoir de moyen facile de
l'envoyer vers syslog quand il est en demon

-d facility or --debug facility
        Log operations verbosely. Legal values for facility
        are currently call for the logging of
        RPC calls and
        arguments, fhcache for
        the file handle cache
        operation,
        auth for
        the authentication routines,
        and ugid for the uid mapping
        code, if used.
        Debug messages will be logged to
        syslog(8) unless the daemon runs in
        the foreground.

-F or --foreground
        Unlike in normal operation, nfsd will not
        detach from the terminal when given this
        option.
        When debugging is requested, it will
        be sent to standard error.
                        

Du coup, si je fais un grep nfs sur la sortie erreur standard, ca peut
le faire, non? (je dis, ca mais je sais pas encore comment c'est
concretement realisable!!)


Merci d'avance

Aurelien

Répondre à