简体   繁体   English

“python3无人值守升级关机”的流程是什么?

[英]What is the process "python3 unattended upgrade shutdown"?

I was looking at the process list on my Ubuntu 18.04 server and saw the following two processes:我在 Ubuntu 18.04 服务器上查看进程列表,看到以下两个进程:

 930 ?        Ssl    0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
 958 ?        Ssl    0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal

I am sure I did not start them.我确定我没有启动它们。 What are they?这些是什么? Are they harmful?它们有害吗? How do I stop them from reappearing?我如何阻止它们再次出现?

These processes are likely not harmful [1] .这些过程可能无害[1]

The "unattended upgrades" mechanism is responsible for automatically installing security updates. “无人值守升级”机制负责自动安装安全更新。 You can find more information in official documentation, eg here .您可以在官方文档中找到更多信息,例如这里

The networkd-dispatcher allows triggering of scripts in response to a change of the network interface state. networkd-dispatcher允许触发脚本以响应网络接口状态的变化。 Again, if you are curious, check the official docs .同样,如果您好奇,请查看官方文档

There are plently of processes that the OS starts without the user's explicit knowledge or consent.操作系统在没有用户明确知道或同意的情况下启动了大量进程。 This is perfectly OK and for the most part you should not interfere unless you know exactly what you are doing.这是完全确定,在大多数情况下,你应该干涉,除非你知道自己在做什么。 Such processes might be crucial to OS operation and even beneficial for your OS security (such as the unattended upgrades system).此类进程可能对操作系统运行至关重要,甚至对您的操作系统安全(例如无人值守升级系统)有益。


[1] Of course, we can't truly know without having full access to your computer [1]当然,如果不能完全访问您的计算机,我们就无法真正知道

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM