.cache / upstart / Unity7.log增长以消耗整个可用磁盘空间。 Python cypto涉嫌

〜/ .cache / upstart / unity7.log正在增长,在7-10小时内消耗整个磁盘~130GB。

如果我拖尾文件我得到:

xxxxx@xxxx-xxxxxxxx:~/.cache/upstart$ tail -f unity7.log extern "Python": function Cryptography_rand_bytes() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0. extern "Python": function Cryptography_rand_status() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0. 

我找到了与Kodi.bin(第17节)的一些共性,但我不知道这是否是定性或定量的。 我很感激任何疑难解答提示或已知的错误:)

从Ubuntu软件包存储库手动下载和安装python-cryptographypython-openssl可能是一个更安全的替代方法,可以将存储库添加到源列表中。

我通过从这里和这里下载相应的包,然后使用dpkg安装它来实现这一点:

 sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb sudo dpkg -i python-openssl_16.2.0-1_all.deb sudo apt-get -f install 

重要提示:请仔细阅读上一个命令的输出。 当我运行它时,它威胁要删除一大堆软件包,因为没有满足依赖性 – 我最初尝试在没有python-cryptography情况下安装python-openssl

阅读有关手动安装软件包的更多信息: 如何通过命令行安装.deb文件?

重启后,我的Unity日志文件不再以每秒10 MB的速度增加。

发现一个已知的bug,需要更新python-openssl

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1636573 ,将报告回来。

编辑:升级python加密解决问题:)

你可以做的是从distro Zesty(Ubuntu 17.04)安装python-cryptography版本1.7.1-2和python-openssl版本16.2.0-1。 我做了什么:

编辑/etc/apt/sources.list

加:

 #Zesty deb http://se.archive.ubuntu.com/ubuntu zesty main deb-src http://se.archive.ubuntu.com/ubuntu zesty main 

(对于瑞典,您当然可以更改到您所在国家/地区的存储库, http://之后的第一个字母)

 sudo aptitude update sudo aptitude install python-cryptography=1.7.1-2 

这也将python-openssl升级到最新版本