maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #00461
last few package installation bugs
Hi Andres
There's a few problems in the postinst script for maas-dns:
1. The /etc/bind/maas needs to be owned by the maas user so it can update the
configs later.
2. The /etc/bind/maas/rndc.conf.maas file needs to be mode 600 as it contains
a key for rndc
3. The bind server fails to restart after installation because
/etc/bind/maas/named.conf.maas is not present. This means that the call to
"maas set_up_dns" must have failed.
Also I think it's worth migrating the tftp files to the new location as it's
pretty obnoxious to ask the user to download 500Mb+ again when they already
have the files.
These lines should do it:
cd /var/lib
mv tftpboot/maas/i386 maas/tftp
mv tftpboot/maas/amd64 maas/tftp
cd tftpboot
mv pxelinux.0 *.c32 ../maas/tftp
Cheers.
Follow ups