maas.config script uses pwgen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Released
|
Critical
|
Andres Rodriguez |
Bug Description
maas.config does:
if ([ "$1" = "configure" ] && [ -z "$2" ]); then
maas_
dbc_
dbc_
dbc_
dbc_
That results in
Fetched 60.3 MB in 4s (12.3 MB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/maas.
maas failed to preconfigure, with exit status 127
Selecting previously unselected package libavahi-
(Reading database ... 26351 files and directories currently installed.)
basically, you can't use pwgen in a .config as its not essential.
looking at the code, i'm not sure how this doesn't end up in a blank password, but thankfully, it does not.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: maas 0.1+bzr415+
ProcVersionSign
Uname: Linux 3.2.0-22-virtual x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Mon Apr 9 19:15:44 2012
Ec2AMI: ami-00000095
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
MAASLog: Error: [Errno 13] Permission denied: '/var/log/
MAASPservLog:
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
RelatedPackageV
python-django-maas 0.1+bzr415+
apparmor 2.7.102-0ubuntu2
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
Related branches
- Scott Moser (community): Approve
-
Diff: 167 lines (+64/-8)10 files modifieddebian/changelog (+13/-1)
debian/control (+3/-2)
debian/maas-dhcp.lintian-overrides (+1/-0)
debian/maas-dhcp.postrm (+20/-0)
debian/maas.config (+1/-2)
debian/maas.lintian-overrides (+7/-0)
debian/maas.postinst (+3/-3)
debian/patches/01-fix-database-settings.patch (+6/-0)
debian/patches/02-pserv-config.patch (+5/-0)
debian/patches/03-txlongpoll-config.patch (+5/-0)
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in maas (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package maas - 0.1+bzr462+ dfsg-0ubuntu1
--------------- dfsg-0ubuntu1) precise; urgency=low
maas (0.1+bzr462+
* New upstream release (LP: #980240)
[ Scott Moser ]
* add dependency on distro-info (LP: #949442)
* debian/control: add dependency on tgt for ephemeral iscsi environment
[ Andres Rodriguez ] .lintian- overrides: Add to make lintian clean. maas.postinst: Do not use absolute path for rabbitmqctl. maas-dhcp. postrm: Added to disable dnsmasq in cobbler on removal. maas.postinst: Create user/group; set correct permissions for maas.maas- {pserv, txlongpoll} .upstart: Update to run as non-root patches/ 01-fix- database- settings. patch: Remove adding of PSERV_URL. maas.postinst: dfsg-0ubuntu1, dfsg-0ubuntu1. extras/ 99-maas: Add squid-deb-proxy file to enable PPAs. (LP: #979383) maas.install: Install missing commissioning- user-data script.
* Make package lintian clean:
- maas{-dhcp}
- debian/control: Add missing dependencies; correct section and desc.
- debian/
- debian/patches: Add headers to all patches.
* debian/
* debian/maas.config: Do not set a password with pwgen as it is not an
essential package; allow dbconfig-common to create a password instead by
creating an empty question. (LP: #977475)
* Run MAAS, pserv, txlongpoll as non-root user. (LP: #975436)
- debian/
directories.
- debian/maas.postrm: Remove user/group; restart apache2.
- debian/
'maas' user.
* debian/
* debian/
- Handle config file upgrade from versions lower than 0.1+bzr445+
by creating new passwords and updating accordingly
- use local variables in functions.
- Handle maas tgt configuration for upgrades from 0.1+bzr459+
* debian/
* debian/
[ Dave Walker (Daviey) ] patches/ 02-pserv- config. patch: Refreshed to apply to updated config.
* debian/
[ Gavin Panella ] maas.postinst: Update pserv.yaml and maas_local_ settings. py to use
* debian/
password.
-- Andres Rodriguez <email address hidden> Thu, 12 Apr 2012 16:46:22 -0400