GNU/Linux >> Tutoriales Linux >  >> Cent OS

fprintd registra mensajes en /var/log/messages incluso si USEFPRINTD=no en /etc/sysconfig/authconfig (CentOS/RHEL 7)

El problema

Los mensajes de error del servicio fprintd como los siguientes se registran incluso en el caso USEFPRINTD=no se ha configurado en /etc/sysconfig/authconfig .

Jan 22 13:58:09 hostname dbus[914]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Jan 22 13:58:09 hostname dbus-daemon: dbus[914]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Jan 22 13:58:09 hostname fprintd: ** (fprintd:45376): WARNING **: fprint init failed with error -99
Jan 22 13:58:09 hostname systemd: fprintd.service: main process exited, code=exited, status=157/n/a
Jan 22 13:58:09 hostname systemd: Unit fprintd.service entered failed state.
Jan 22 13:58:09 hostname systemd: fprintd.service failed.

Esto sucede incluso después de ejecutar el comando para deshabilitar fprintd:

# authconfig --disablefingerprint --update

La solución

fprintd es un servicio estático, que podría ser iniciado por alguien que envíe el mensaje "net.reactivated.Fprint ” en el sistema Dbus incluso en el caso USEFPRINTD=no en /etc/sysconfig/authconfig.

# cat /usr/share/dbus-1/system-services/net.reactivated.Fprint.service
[D-BUS Service]
Name=net.reactivated.Fprint
Exec=/usr/libexec/fprintd
User=root
SystemdService=fprintd.service
# systemctl list-unit-files | grep fprintd 
fprintd.service static 

Para resolver este problema, desinstale el paquete "fprintd" para eliminar los mensajes, si no es necesaria la autorización de la huella digital.

# yum remove fprintd

o

# rpm -e fprintd

Si se instaló el paquete dependiente "fprintd-pam", elimínelo antes de eliminar fprintd.


Cent OS
  1. ¿Diferencia entre /var/log/messages, /var/log/syslog y /var/log/kern.log?

  2. Cómo cambiar el directorio de registro predeterminado (/var/log) en Rsyslog para CentOS/RHEL 6,7

  3. Cómo cambiar el permiso predeterminado de /var/log/messages en CentOS/RHEL

  4. El archivo de registro del sistema /var/log/messages se elimina o recorta automáticamente (CentOS/RHEL)

  5. Cómo capturar más registros en /var/log/dmesg para CentOS/RHEL

CentOS / RHEL 7:cómo recuperarse de una entrada raíz eliminada en archivos /etc/shadow y/o /etc/passwd

CentOS / RHEL:cómo recuperarse de un archivo /etc/passwd eliminado

CentOS / RHEL:Cómo rotar el archivo /var/log/wtmp y /var/log/btmp usando logrotate

¿Cuándo debo usar /dev/shm/ y cuándo debo usar /tmp/?

¿Deberían vivir los sitios web en /var/ o /usr/ según el uso recomendado?

Los registros del sistema están vacíos (/var/log/messages; /var/log/secure; etc.)