• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

fprintd Logs Messages into /var/log/messages Even If USEFPRINTD=no in /etc/sysconfig/authconfig (CentOS/RHEL 7)

By admin

The Problem

Error messages from fprintd service lsuch as those below are logged even in the case USEFPRINTD=no has been configured into /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.

This happens even after running the command to disable fprintd:

# authconfig --disablefingerprint --update

The Solution

fprintd is a static service, which could be started by someone who sends message “net.reactivated.Fprint” into system Dbus even in the case USEFPRINTD=no in /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 

To resolve this issue uninstall “fprintd” package to eliminate the messages, if fingerprint authorization is not necessary.

# yum remove fprintd

or

# rpm -e fprintd

If dependent package “fprintd-pam” has been installed, remove it before removing fprintd.

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : How to create custom script to run automatically during boot
  2. How to Re-generate initramfs and vmlinuz for Rescue Kernel with Current Kernel in CentOS/RHEL 7
  3. How to change the Default Log Directory(/var/log) in Rsyslog for CentOS/RHEL 6,7
  4. CentOS / RHEL : How to configure vsftpd to use ports other than the default ports 20 and 21
  5. How to list or install only security updates with dnf in CentOS/RHEL 8
  6. CentOS / RHEL : How To Check FC Brocade HBA Firmware
  7. Understanding Linux multipath (dm-multipath)
  8. How to Configure ACL(Access Control Lists) in Linux FileSystem
  9. How to install/get packages from Oracle EPEL Repository on OEL 7
  10. CentOS / RHEL : Exclusion with Yum For Kernel Updates

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary