启动时服务启动消息重复第二次

启动时服务启动消息重复第二次

在启动时,我会看到一个图形活动指示器(“throbber”:)。按 ESC 键会显示更传统的文本行流,例如

[ OK ] Started GNOME Display Manager.

然而,其中大多数似乎会重复两次。我不是在谈论额外的“起始”行。看起来像

[ OK ] Started GNOME Display Manager.
[ OK ] Started GNOME Display Manager.

有时,两个消息流也会出现相互中断,即两条线混合在一起。这是 systemd 中的错误吗?或者在普利茅斯的行李箱显示屏上?

编辑:重复不会出现在/var/log/boot.log(由普利茅斯生成,包括用于将“OK”标记为绿色的转义序列)。所以这看起来更像是普利茅斯显示器的问题。

编辑:有时会发生这种情况,有时不会。除了影响服务启动消息之外,它似乎还会影响离线更新(GNOME 中的“重新启动和更新”)打印的消息和进度%。

如果我从内核命令行中删除rhgb或同时删除rhgb和选项,也不会发生这种情况。quiet我在虚拟机(virt-manager)中没有看到它;看起来图形启动画面根本不起作用。

系统:Fedora Linux 25 / 26。我还没有自定义我的机器上的启动显示。

答案1

我确定这是普利茅斯虫子。

部分基于更新的问题,但我刚刚尝试使用plymouth.debug.由于某种原因,我的一个屏幕似乎有两个“像素显示器”,并且两者似乎都与tty1...的句柄相关联。

看起来上游已经对此进行了修复,耶!https://bugs.freedesktop.org/show_bug.cgi?id=104353

[ply-keyboard.c:213]                        process_keyboard_input:escape key!
[main.c:1485]                             on_escape_pressed:escape key pressed
[main.c:1465]             toggle_between_splash_and_details:toggling between splash and details
[main.c:1467]             toggle_between_splash_and_details:hiding and freeing current splash
[ply-event-loop.c:965]      ply_event_loop_stop_watching_for_timeout:no matching timeout found for removal
[./plugin.c:1195]                            hide_splash_screen:hiding splash
[./plugin.c:818]                                stop_animation:stopping animation
[./plugin.c:831]                                stop_animation:hiding progress animation
[ply-animation.c:357]                            ply_animation_stop:animation already stopped, ignoring stop request
[./plugin.c:831]                                stop_animation:hiding progress animation
[ply-animation.c:357]                            ply_animation_stop:animation already stopped, ignoring stop request
[ply-boot-splash.c:388]                          ply_boot_splash_free:freeing splash
[ply-event-loop.c:965]      ply_event_loop_stop_watching_for_timeout:no matching timeout found for removal
[ply-boot-splash.c:333]                         remove_pixel_displays:removing pixel displays
[ply-boot-splash.c:347]                         remove_pixel_displays:Removing 1366x768 pixel display
[./plugin.c:1014]                          remove_pixel_display:removing pixel display from plugin
[ply-boot-splash.c:347]                         remove_pixel_displays:Removing 1366x768 pixel display
[./plugin.c:1014]                          remove_pixel_display:removing pixel display from plugin
[./plugin.c:700]                                destroy_plugin:destroying plugin
[./plugin.c:673]                                    free_views:freeing views
[main.c:352]                          show_detailed_splash:Showing detailed splash screen
[main.c:1655]                           load_built_in_theme:Loading built-in theme
[plugins/splash/details/plugin.c:156]                                 create_plugin:creating plugin
[main.c:1670]                           load_built_in_theme:attaching plugin to event loop
[main.c:1673]                           load_built_in_theme:attaching progress to plugin
[ply-boot-splash.c:174]              ply_boot_splash_add_text_display:adding 170x48 text display
[ply-terminal.c:598]                             ply_terminal_open:terminal /dev/tty1 is already open
[ply-boot-splash.c:174]              ply_boot_splash_add_text_display:adding 170x48 text display
[ply-terminal.c:598]                             ply_terminal_open:terminal /dev/tty1 is already open

相关内容