在我的 Slackware 15.0 的系统日志中,我看到那些烦人的消息
Oct 1 06:41:45 nas NetworkManager[1867]: <warn> [1696135305.0097] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:43:45 nas NetworkManager[1867]: <warn> [1696135425.0122] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:45:45 nas NetworkManager[1867]: <warn> [1696135545.0116] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:47:45 nas NetworkManager[1867]: <warn> [1696135665.0108] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:49:45 nas NetworkManager[1867]: <warn> [1696135785.0037] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:51:45 nas NetworkManager[1867]: <warn> [1696135905.0029] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:53:45 nas NetworkManager[1867]: <warn> [1696136025.0019] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
Oct 1 06:55:45 nas NetworkManager[1867]: <warn> [1696136145.0013] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
要检查什么?谢谢
权限是:
ls -lhd /usr/sbin/ModemManager
-rwxr-xr-x 1 root root 1,8M nov 26 2021 /usr/sbin/ModemManager*
这些是串口设备的权限,我不明白谁更改了ttyS02权限
ls -ld /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 ott 8 04:07 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 ott 8 04:07 /dev/ttyS1
crw--w---- 1 root tty 4, 66 ott 8 04:10 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 ott 8 04:07 /dev/ttyS3
grep -irl ttyS2 /etc
/etc/default/grub~
/etc/default/grub
/etc/radiusclient/port-id-map
/etc/radiusclient/radiusclient.conf
/etc/securetty
/etc/serial.conf
/etc/inittab~
/etc/inittab
我尝试将 ttyS2 的权限设置为默认权限(root:dialout 和 660),但是......
Oct 9 21:07:23 nas NetworkManager[1880]: <warn> [1696878443.0583] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied