GNU/Linux >> Linux の 問題 >  >> Cent OS

/etc/sysconfig/authconfig で USEFPRINTD=no の場合でも、fprintd がメッセージを /var/log/messages に記録する (CentOS/RHEL 7)

問題

USEFPRINTD=no の場合でも、以下のような fprintd サービスからのエラー メッセージがログに記録されます。 /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.

これは、コマンドを実行して fprintd を無効にした後でも発生します:

# authconfig --disablefingerprint --update

解決策

fprintd は静的サービスであり、メッセージ「net.reactivated.Fprint」を送信することで開始できます。 /etc/sysconfig/authconfig で USEFPRINTD=no の場合でも、システム Dbus に "。

# 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 

この問題を解決するには、「fprintd」パッケージをアンインストールして、指紋認証が必要ない場合にメッセージを排除します。

# yum remove fprintd

または

# rpm -e fprintd

依存パッケージ「fprintd-pam」がインストールされている場合は、fprintd を削除する前に削除してください。


Cent OS
  1. Linuxは複数の連続したパスセパレーター(/ home //// username /// file)をどのように処理しますか?

  2. /var/log/messages、/var/log/syslog、および/var/log/kern.logの違いは?

  3. 「/var/log/messages」が Martian パケットを報告する理由

  1. 監査されたメッセージが /var/log/messages をいっぱいにする

  2. /var/log/messages ファイルの「segfault」メッセージとは

  3. CentOS / RHEL :削除された /etc/passwd ファイルから回復する方法

  1. /var/log/messages ファイルの「Abort command generated nexus」エラー メッセージ

  2. /var/www/... の Django static_root - collectstatic へのアクセス許可がありません

  3. /dev/shm/ と /tmp/ はいつ使用する必要がありますか?