maas home directory not created during orangebox installation

Bug #1421015 reported by Jaime Carmona
16
This bug affects 3 people
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/.ssh/id_rsa
Generating public/private rsa key pair.
Could not create directory '/home/maas/.ssh': No such file or directory
open /home/maas/.ssh/id_rsa failed: No such file or directory.
Saving the key failed: /home/maas/.ssh/id_rsa.
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-Box-2654B:~#

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.