Bug 29256 - Partitionierungs Angaben im Installations Profil nicht korrekt
Partitionierungs Angaben im Installations Profil nicht korrekt
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-16 11:01 CET by Felix Botner
Modified: 2012-12-12 21:09 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-11-16 11:01:43 CET
3.1 mit GPT Autopartitionierung installiert. Das Installation-Profil unter /etc/univention/installation_profile scheint dann aber nicht korrekt zu sein. Konfiguration für GPT fehlt und die dev_X Einträge sehen nicht richtig aus 

 dev_1='10 /dev/sda2 10 0 ext4 19791209.3M 582741162.721M /boot none'
        ??           ??

bootloader_record='/dev/sda'
boot_partition='/dev/sda2'
call_master_joinscripts='true'
cdrom_device='/dev/sr0'
dev_0='LVMLV /dev/vg_ucs/rootfs LVMLV 0 ext4 0.0M 512535146265.0M / None'
dev_1='10 /dev/sda2 10 0 ext4 19791209.3M 582741162.721M /boot none'
dev_2='10 /dev/sda1 10 0 None 17592186.0444M 19791209.3M None bios_grub'
dev_3='10 /dev/sda3 10 0 linux-swap 582741162.721M 11841740231.1M None linux-swap'
dev_4='10 /dev/sda4 10 0 None 11841740231.1M 524395578193.0M None lvm'
disks='/dev/sda'
dns_forwarder_1='192.168.0.3'
domainname='kvm.test'
eth0_acceptra='false'
eth0_broadcast='10.200.7.255'
eth0_ip='10.200.7.210'
eth0_netmask='255.255.255.0'
eth0_network='10.200.7.0'
fqdn='master.kvm.test'
gateway='10.200.7.1'
hostname='master'
keymap='de-latin1'
language='de'
ldap_base='dc=kvm,dc=test'
locale_default='de_DE.UTF-8:UTF-8'
locales='de_DE.UTF-8:UTF-8'
nameserver_1='192.168.0.3'
packages='univention-virtual-machine-manager-daemon univention-virtual-machine-manager-node-kvm univention-dhcp univention-nagios-server'
system_role='domaincontroller_master'
timezone='Europe/Berlin'
update_system_after_installation='true'
windows_domain='KVM'
Comment 1 Felix Botner univentionstaff 2012-11-16 11:30:40 CET
Bei einer MBR Installation scheint es OK zu sein.

# [Partitioning]
disks='/dev/vda'
boot_partition='/dev/vda5'
dev_5='PHY /dev/vda1 0 0 linux-swap 0.032256M 2097.445888M None None'
dev_4='PHY /dev/vda7 1 0 ext4 4737.793536M 6835.207168M /var None'
dev_6='PHY /dev/vda2 2 0 None 2097.4464M 21467.980288M None None'
dev_1='PHY /dev/vda5 1 0 ext4 2097.478656M 2640.314368M /boot boot'
dev_0='PHY /dev/vda9 1 0 ext3 8932.686336M 21467.980288M / None'
dev_3='PHY /dev/vda8 1 0 ext4 6835.239936M 8932.653568M /usr None'
dev_2='PHY /dev/vda6 1 0 ext4 2640.347136M 4737.760768M /tmp None'
Comment 2 Felix Botner univentionstaff 2012-11-16 11:57:39 CET
Bei einer manuellen GPT Partitionierung sieht es schon besser aus.

# [Partitioning]
disks='/dev/vda'
boot_partition='/dev/vda2'
use_efi='no'
dev_3='only_mount /dev/vda1 only_mount 0 linux-swap 0MiB 2000MiB None linux-swap'
dev_5='10 /dev/vda4 10 0 ext4 2401MiB 2518MiB None bios_grub'
dev_4='10 /dev/vda3 10 0 ext4 2001MiB 2401MiB None none'
dev_1='only_mount /dev/vda7 only_mount 0 ext4 4518MiB 6518MiB /data none'
dev_0='10 /dev/vda2 10 0 ext4 6519MiB 20472MiB / none'
partitiontable_type='GPT'
dev_2='only_mount /dev/vda6 only_mount 0 ext4 2518MiB 4518MiB /var none'

Trotzdem ist "dev_5='10 /d..." wohl nicht gant korrekt.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2012-11-16 12:11:28 CET
> dev_0='10 /dev/vda2 10 0 ext4 6519MiB 20472MiB / none'

Richtig wäre dev_0='PHY /dev/vda2 1 0 ext4 6519MiB 20472MiB / none'

> dev_2='only_mount /dev/vda6 only_mount 0 ext4 2518MiB 4518MiB /var none'
 
Richtig wäre dev_2='PHY /dev/vda6 only_mount 0 ext4 2518MiB 4518MiB /var none'
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2012-11-16 15:05:35 CET
In der Profilerstellung wurde eine Variable doppelt verwendet → Fixed.
Der Partitionstyp (drittes Feld im Profil) sollte jetzt immer "1" oder "only_mount" sein.

univention-installer (8.0.36-1) unstable; urgency=low
Changelogeintrag nicht notwendig
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2012-11-16 17:24:37 CET
(In reply to comment #4)
> Der Partitionstyp (drittes Feld im Profil) sollte jetzt immer "1" oder
> "only_mount" sein.
Korrektur:
...sollte jetzt immer "0" oder "only_mount" sein.
Comment 6 Felix Botner univentionstaff 2012-11-19 16:49:06 CET
OK, das funktioniert.
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:09:59 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".