sshd.service:收到来自 PID 的通知消息,但只允许主 PID 接收

Rob*_*heK 6 ssh fedora

在过去一周左右,我们的许多带有 4.9.x 内核的 Fedora 25 服务器和工作站都在 /var/log/messages 中获取这些日志:

sshd.service: Got notification message from PID xxxx, but reception only
permitted for main PID xxxx: 1 Time(s)
user@xxxx.service: Got notification message from PID xxxx, but reception only
permitted for main PID xxxx: 1 Time(s)
Run Code Online (Sandbox Code Playgroud)

这些有什么问题吗?这个旧错误可能相关吗?也许这可以说明一些问题?

systemctl status -l
? ourdomain
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Mon 2017-02-13 09:28:47 EST; 2 weeks 2 days ago
   CGroup: /
           ??user.slice
           ? ??user-6105.slice
           ? ? ??session-2159.scope
           ? ? ? ??10514 systemctl status -l
           ? ? ? ??26349 sshd: me [priv]
           ? ? ? ??26376 sshd: me@pts/5
           ? ? ? ??26377 -bash
           ? ? ? ??26441 su
           ? ? ? ??26470 bash
           ? ? ??user@6105.service
           ? ? ? ??gvfs-gphoto2-volume-monitor.service
           ? ? ? ? ??7543 /usr/libexec/gvfs-gphoto2-volume-monitor
           ? ? ? ??at-spi-dbus-bus.service
           ? ? ? ? ??17460 /usr/libexec/at-spi-bus-launcher
           ? ? ? ? ??17465 /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
           ? ? ? ??dbus.service
           ? ? ? ? ?? 7382 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           ? ? ? ? ?? 7391 /usr/lib64/xfce4/xfconf/xfconfd
           ? ? ? ? ?? 7542 /usr/libexec/goa-daemon
           ? ? ? ? ?? 7561 /usr/libexec/goa-identity-service
           ? ? ? ? ?? 7594 /usr/libexec/dconf-service
           ? ? ? ? ?? 7718 /usr/libexec/imsettings-daemon
           ? ? ? ? ??22486 /usr/libexec/gconfd-2
           ? ? ? ? ??24823 /usr/bin/ibus-daemon -r --xim
           ? ? ? ? ??24832 /usr/libexec/ibus-dconf
           ? ? ? ??gvfs-udisks2-volume-monitor.service
           ? ? ? ? ??7536 /usr/libexec/gvfs-udisks2-volume-monitor
           ? ? ? ??evolution-source-registry.service
           ? ? ? ? ??7516 /usr/libexec/evolution-source-registry
           ? ? ? ??gvfs-metadata.service
           ? ? ? ? ??7736 /usr/libexec/gvfsd-metadata
           ? ? ? ??gvfs-mtp-volume-monitor.service
           ? ? ? ? ??7547 /usr/libexec/gvfs-mtp-volume-monitor
           ? ? ? ??gvfs-goa-volume-monitor.service
           ? ? ? ? ??7572 /usr/libexec/gvfs-goa-volume-monitor
           ? ? ? ??gvfs-afc-volume-monitor.service
           ? ? ? ? ??7562 /usr/libexec/gvfs-afc-volume-monitor
           ? ? ? ??init.scope
           ? ? ? ? ??23030 /usr/lib/systemd/systemd --user
           ? ? ? ? ??23039 (sd-pam)
           ? ? ? ??tracker-store.service
           ? ? ? ? ??7477 /usr/libexec/tracker-store
           ? ? ? ??gvfs-daemon.service
           ? ? ?   ??7437 /usr/libexec/gvfsd
           ? ? ?   ??7442 /usr/libexec/gvfsd-fuse /run/user/6105/gvfs -f -o big_writes
           ? ? ?   ??7729 /usr/libexec/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
Run Code Online (Sandbox Code Playgroud)

Jak*_*uje 2

这是Fedora 25 中 OpenSSH 包中的一个已知错误。

对于后台,SD_NOTIFY最近实现了(以允许 systemd 跟踪服务状态),但通知也从每个用户进程错误地发送,这导致来自 systemd 的此消息。

修复已准备就绪,并且测试版本可在错误注释中找到。我会在评论中提到后尽快解决这个问题。抱歉产生噪音。