Torno a scrivere un rapidissimo articoletto per raccontare un' esperienza strana e come evitarla.
Oggi decido di dare un'occhiata alla nuova versione di Ubuntu 17.10 64bit, andando a installarla su di un portatile a fine vita con Windows 7. Finita la procedura vado ad installare un po' di pacchetti standard che generalmente utilizzo ovunque (openssh-server, vim, net-tools etc). Lascio il portatile per qualche minuto incustodito e lui, giustamente, si blocca senza alcuno screen saver.
Al che vado a cercare nelle impostazioni come si configura lo screen saver e non trovo nulla. Decido quindi di andare a installarne uno: apro Ubuntu Software da interfaccia grafica e cerco la parola screen saver. Trovo questo come primo risultato
e lo installo. Il pacchetto si chiama:
ukui-screensaver
versione 1.0.3-0ubuntu1 e si porta con sè tutta una serie di dipendenze quando lo si installa per la prima volta.
Questo il /var/log/apt/history che riguarda l'installazione dello screensaver dove si vedono tutti le dipendenze:
1 2 3 4 5 |
Start-Date: 2017-10-25 10:03:24 Commandline: packagekit role='install-packages' Requested-By: utente (1000) Install: mate-settings-daemon:amd64 (1.18.1-2, automatic), mate-polkit-common:amd64 (1.18.1-1, automatic), libmarco-private1:amd64 (1.18.1-3ubuntu1, automatic), python-mate-menu:amd64 (1.18.0-2, automatic), python2.7-minimal:amd64 (2.7.14-2ubuntu2, automatic), libmate-desktop-2-17:amd64 (1.18.0-1, automatic), mate-panel:amd64 (1.18.4-2, automatic), mate-desktop-common:amd64 (1.18.0-1, automatic), python2.7:amd64 (2.7.14-2ubuntu2, automatic), mate-polkit:amd64 (1.18.1-1, automatic), libmatekbd-common:amd64 (1.18.2-1, automatic), python:amd64 (2.7.14-2ubuntu1, automatic), mate-power-manager-common:amd64 (1.18.0-2ubuntu1, automatic), menu-xdg:amd64 (0.5, automatic), marco:amd64 (1.18.1-3ubuntu1, automatic), mate-settings-daemon-common:amd64 (1.18.1-2, automatic), ubuntukylin-default-settings:amd64 (1.4.2, automatic), libpython-stdlib:amd64 (2.7.14-2ubuntu1, automatic), mate-power-manager:amd64 (1.18.0-2ubuntu1, automatic), mate-desktop:amd64 (1.18.0-1, automatic), libmatemixer0:amd64 (1.18.0-1, automatic), libmate-menu2:amd64 (1.18.0-2, automatic), libmateweather-common:amd64 (1.18.1-1, automatic), libmateweather1:amd64 (1.18.1-1, automatic), menu:amd64 (2.1.47ubuntu1, automatic), mate-menus:amd64 (1.18.0-2, automatic), libmate-panel-applet-4-1:amd64 (1.18.4-2, automatic), mate-user-guide:amd64 (1.18.0-1, automatic), libmatekbd4:amd64 (1.18.2-1, automatic), ubuntukylin-keyring:amd64 (2014.04.10, automatic), ukui-screensaver-common:amd64 (1.0.3-0ubuntu1, automatic), libmatemixer-common:amd64 (1.18.0-1, automatic), mate-panel-common:amd64 (1.18.4-2, automatic), ukui-session-manager:amd64 (1.0.2-0ubuntu1, automatic), python-minimal:amd64 (2.7.14-2ubuntu1, automatic), ukui-screensaver:amd64 (1.0.3-0ubuntu1), marco-common:amd64 (1.18.1-3ubuntu1, automatic) End-Date: 2017-10-25 10:06:29 |
Riavvio il computer e, magia, il cestino appare così:
Apro Firefox e, ORRORE:
Penso tra me e me: "tutto questo fa molto Windows...."
In mezz'ora di ricerca ho scoperto la causa di tutto ciò: non è certo stata l'installazione di openss-server, o di kyle, o di texlive, o di Gnome Tweaks a provocare questo risultato ma proprio lo screensaver di cui ho scritto qui sopra.
In sostanza, tra le dipendenze che ukui-screensaver si porta dietro c'è
ubuntukylin-default-settings
che è:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
utente@laptop:~$ apt-cache show ubuntukylin-default-settings Package: ubuntukylin-default-settings Architecture: all Version: 1.4.2 Priority: optional Section: universe/metapackages Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Ubuntu Kylin Team <ubuntukylin-members@lists.launchpad.net> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 70 Provides: ubuntu-default-settings Depends: dconf-gsettings-backend | gsettings-backend, ubuntukylin-keyring Conflicts: ubuntu-default-settings Filename: pool/universe/u/ubuntukylin-default-settings/ubuntukylin-default-settings_1.4.2_all.deb Size: 11180 MD5sum: 9ec19b37fed05868ad548a2b4bebc138 SHA1: 9edd6f7ed8d8dd88931604e68a79e919761acd4f SHA256: 2c5563da7508f3249331a65c74e10b4884fd669f7e1f67c3888557314e4a818e Description-en: Default settings for the Ubuntu Kylin desktop This package contains the default settings used by Ubuntu Kylin. Description-md5: ba694cb3f5064c2d20c848b91a1fec41 Task: ubuntukylin-desktop |
Ubuntu Kylin desktop, per chi come me non lo sapesse, è
https://wiki.ubuntu.com/Ubuntu%20Kylin
https://en.wikipedia.org/wiki/Ubuntu_Kylin
ovvero un Ubuntu per utenti cinesi.
Facendo una rapida ricerca sul web, scopro che l'installazione di ubuntukylin-default-settings va a scrivere:
1 |
+pref("browser.startup.homepage", "http://123.sogou.com/?11456"); |
Anche se noi "occidentali", quando vediamo una home page in cinese, pensiamo subito sia un virus/malaware, non necessariamente è così: magari quella è una normalissima home-page per un utente cinese medio... Invece no, 123-sogou secondo parecchi siti di sicurezza è un browser hijacker che si installa con software freeware, quindi sostanzialmente un malaware.
Incredibile, ma facilissimo da togliere visto che basta rimuovere il pacchetto e cambiare la home page di Firefox.