maas home directory not created during orangebox installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Orange Box |
New
|
Undecided
|
Unassigned |
Bug Description
During the apt-get install orange-box install the maas user is created however the home directory is not created causing the install script to bomb out. I have found simply creating /home/maas and /home/maas/.ssh and then changing the owner to maas and the restarting the install allows the installer to complete with out any issues. This is occurring on a fresh ubuntu 14.04.1 install. I have been able to replicate this issue on two different orange boxes
+ '[' -d /home/maas ']'
+ install -d /var/lib/maas --owner maas --group maas
+ chsh maas -s /bin/bash
+ '[' -d /home/maas/.ssh ']'
+ echo -e '\n\n\n'
+ sudo -u maas ssh-keygen -N '' -t rsa -f /home/maas/
Generating public/private rsa key pair.
Could not create directory '/home/maas/.ssh': No such file or directory
open /home/maas/
Saving the key failed: /home/maas/
dpkg: error processing package orange-box (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libwww-perl (6.05-2) ...
Setting up libxml-parser-perl (2.41-1build3) ...
Setting up libsoap-lite-perl (1.09-1) ...
Setting up libxmlrpc-lite-perl (0.717-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
Errors were encountered while processing:
orange-box
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Orange-
description: | updated |