maas-run-remote-scripts should install apt packages with --no-install-recommends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Lee Trager | ||
2.6 |
Fix Released
|
Medium
|
Lee Trager |
Bug Description
When maas-run-
This is seen in the smartctl tests. smartctl recommends mailx which pulls in postfix and python2.7
root@maas-test-2:~# apt install -s smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
guile-2.0-libs libgc1c2 libgsasl7 libkyotocabinet16v5 libltdl7 libmailutils5 libmysqlclient20 libntlm0 libpython2.7 libpython2.
Suggested packages:
mailutils-mh mailutils-doc procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin dovecot-common resolvconf postfix-cdb postfix-doc gsmartcontrol smart-notifier openssl-blacklist
The following NEW packages will be installed:
guile-2.0-libs libgc1c2 libgsasl7 libkyotocabinet16v5 libltdl7 libmailutils5 libmysqlclient20 libntlm0 libpython2.7 libpython2.
0 upgraded, 17 newly installed, 0 to remove and 5 not upgraded.
Inst libgc1c2 (1:7.4.2-8ubuntu1 Ubuntu:18.04/bionic [amd64])
Inst libltdl7 (2.4.6-2 Ubuntu:18.04/bionic [amd64])
Inst guile-2.0-libs (2.0.13+
Inst libntlm0 (1.4-8 Ubuntu:18.04/bionic [amd64])
Inst libgsasl7 (1.8.0-8ubuntu3 Ubuntu:18.04/bionic [amd64])
Inst libkyotocabinet16v5 (1.2.76-4.2 Ubuntu:18.04/bionic [amd64])
Inst mailutils-common (1:3.4-1 Ubuntu:18.04/bionic [all])
Inst mysql-common (5.8+1.0.4 Ubuntu:18.04/bionic [all])
Inst libmysqlclient20 (5.7.26-
Inst libpython2.
Inst libpython2.7-stdlib (2.7.15-
Inst libpython2.7 (2.7.15-
Inst libmailutils5 (1:3.4-1 Ubuntu:18.04/bionic [amd64])
Inst ssl-cert (1.0.39 Ubuntu:18.04/bionic [all])
Inst postfix (3.3.0-1ubuntu0.2 Ubuntu:
Inst mailutils (1:3.4-1 Ubuntu:18.04/bionic [amd64])
Inst smartmontools (6.5+svn4324-1 Ubuntu:18.04/bionic [amd64])
Conf libgc1c2 (1:7.4.2-8ubuntu1 Ubuntu:18.04/bionic [amd64])
Conf libltdl7 (2.4.6-2 Ubuntu:18.04/bionic [amd64])
Conf guile-2.0-libs (2.0.13+
Conf libntlm0 (1.4-8 Ubuntu:18.04/bionic [amd64])
Conf libgsasl7 (1.8.0-8ubuntu3 Ubuntu:18.04/bionic [amd64])
Conf libkyotocabinet16v5 (1.2.76-4.2 Ubuntu:18.04/bionic [amd64])
Conf mailutils-common (1:3.4-1 Ubuntu:18.04/bionic [all])
Conf mysql-common (5.8+1.0.4 Ubuntu:18.04/bionic [all])
Conf libmysqlclient20 (5.7.26-
Conf libpython2.
Conf libpython2.7-stdlib (2.7.15-
Conf libpython2.7 (2.7.15-
Conf libmailutils5 (1:3.4-1 Ubuntu:18.04/bionic [amd64])
Conf ssl-cert (1.0.39 Ubuntu:18.04/bionic [all])
Conf postfix (3.3.0-1ubuntu0.2 Ubuntu:
Conf mailutils (1:3.4-1 Ubuntu:18.04/bionic [amd64])
Conf smartmontools (6.5+svn4324-1 Ubuntu:18.04/bionic [amd64])
root@maas-test-2:~# apt install -s --no-install-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfreetype6
Use 'apt autoremove' to remove it.
Suggested packages:
gsmartcontrol smart-notifier
Recommended packages:
mailx | mailutils
The following NEW packages will be installed:
smartmontools
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Inst smartmontools (6.5+svn4324-1 Ubuntu:18.04/bionic [amd64])
Conf smartmontools (6.5+svn4324-1 Ubuntu:18.04/bionic [amd64])
Related branches
- MAAS Maintainers: Pending requested
-
Diff: 3421 lines (+1314/-676) (has conflicts)36 files modified.eslintrc.js (+3/-0)
Makefile (+7/-0)
debian/changelog (+11/-1)
debian/copyright (+0/-4)
dev/null (+0/-631)
jest.config.js (+6/-0)
package.json (+16/-0)
src/maasserver/models/signals/scriptresult.py (+6/-0)
src/maasserver/models/signals/tests/test_scriptresult.py (+13/-0)
src/maasserver/static/js/angular/controllers/pods_list.js (+5/-0)
src/maasserver/static/js/angular/controllers/settings.js (+114/-0)
src/maasserver/static/js/angular/controllers/tests/test_pods_list.js (+5/-0)
src/maasserver/static/js/angular/controllers/tests/test_settings.js (+264/-0)
src/maasserver/static/js/angular/controllers/tests/test_zones_list.js (+4/-0)
src/maasserver/static/js/angular/directives/machines_table.js (+31/-9)
src/maasserver/static/js/angular/directives/script_status.js (+3/-0)
src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+30/-0)
src/maasserver/static/js/angular/entry.js (+1/-7)
src/maasserver/static/js/bundle/maas-min.js (+4/-0)
src/maasserver/static/js/bundle/maas-min.js.map (+5/-1)
src/maasserver/static/js/bundle/vendor-min.js (+4/-0)
src/maasserver/static/js/bundle/vendor-min.js.map (+5/-1)
src/maasserver/static/partials/dashboard.html (+1/-1)
src/maasserver/static/partials/machines-table.html (+24/-2)
src/maasserver/static/partials/networks-list.html (+2/-2)
src/maasserver/static/partials/node-events.html (+1/-1)
src/maasserver/static/partials/nodes-list.html (+66/-2)
src/maasserver/static/partials/pods-list.html (+5/-0)
src/maasserver/static/partials/subnet-details.html (+1/-1)
src/maasserver/static/partials/switches-table.html (+1/-1)
src/maasserver/static/partials/zones-list.html (+6/-0)
src/maasserver/testing/html-loader.js (+0/-0)
src/metadataserver/user_data/templates/snippets/maas_run_remote_scripts.py (+8/-0)
src/metadataserver/user_data/templates/snippets/tests/test_maas_run_remote_scripts.py (+20/-0)
src/provisioningserver/utils/version.py (+4/-0)
yarn.lock (+638/-12)
- Lee Trager (community): Approve
-
Diff: 86 lines (+18/-10)2 files modifiedsrc/metadataserver/user_data/templates/snippets/maas_run_remote_scripts.py (+5/-5)
src/metadataserver/user_data/templates/snippets/tests/test_maas_run_remote_scripts.py (+13/-5)
- Newell Jensen (community): Approve
-
Diff: 93 lines (+22/-13)2 files modifiedsrc/metadataserver/user_data/templates/snippets/maas_run_remote_scripts.py (+6/-5)
src/metadataserver/user_data/templates/snippets/tests/test_maas_run_remote_scripts.py (+16/-8)
description: | updated |
Changed in maas: | |
status: | Triaged → In Progress |
milestone: | none → 2.7.0alpha1 |
Changed in maas: | |
status: | In Progress → Fix Committed |
no longer affects: | maas/2.3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |