Bug 23051 - Profilinstallation bindet nicht-LVM/root-Partitionen nicht fest ein
Profilinstallation bindet nicht-LVM/root-Partitionen nicht fest ein
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UCS Net Installer
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Felix Botner
Sönke Schwardt-Krummrich
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-18 16:10 CEST by Ingo Steuwer
Modified: 2012-12-12 21:10 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 Ingo Steuwer univentionstaff 2011-07-18 16:10:34 CEST
Nach einer profilbasierten Installation eines Managed Client mit UCS 2.4 und Update auf UCS 2.4-2 wird die vorhandene SWAP-Partition zwar laut fstab per UUID angesprochen, aber dennoch nicht eingebunden. Im Profil stand diese Partitionierung:

disks='/dev/sda'
part_delete="all"
dev_1='PHY /dev/sda1 0 0 linux-swap 0M 10G None None'
boot_partition='/dev/sda2'
dev_0='PHY /dev/sda2 0 0 ext3 10G 0 / boot'


Ein "swapon /dev/sda1" funktioniert.

Aufgefallen im Rahmen von 2011070810002601
Comment 1 Ingo Steuwer univentionstaff 2011-07-25 09:43:13 CEST
Das tritt auch bei einer /boot Partition auf, wahrscheinlich aber nur mit dem 2.6.38 aus ucd-experimental (bei anderen Kernel-Versionen wird eigentlich nicht auf die UUID umgestellt).
Comment 2 Ingo Steuwer univentionstaff 2011-07-26 15:49:20 CEST
Das Problem tritt nur mit dem ucd-experimental-Scope auf: beim Upgrade auf Kernel 2.6.38 migriert das Paket "linux-base" die statischen Device-Einträge der fstab auf UUID um die Migration von Kernel-Device-Namen (/dev/hdX auf /dev/sdX) zu begleiten. Die UUID sind mit UCS 2.4 so aber nicht benutzbar (vermutlich zu altes udev).

Das ist im Scope rausgepatcht und wird entsprechend zu Problemen mit einiger Hardware im Upgrade führen (z.B. "cciss"). Der Patch muss also bei einer Übernahme in maintained durch ein funktionierendes UUID-Handling geändert werden (wahrscheinlich über das Update auf UCS 3.0 gegeben).
Comment 3 Felix Botner univentionstaff 2012-10-10 14:33:07 CEST
UCD läuft aus und wird durch UCC ersetzt (wobei das System neu installiert wird).

Das UCS kann seit mind. 3.0 UUID Fstab Einträge mounten.

-> more /etc/fstab 
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
UUID=d32841fb-47e7-4412-b4a4-d02f0960738f       /       ext4    acl,errors=remount-ro   0       1
proc            /proc           proc    defaults        0       0
UUID=3cebad40-8b16-4b22-9ee5-3784b2badfdc  /boot        ext4    defaults,acl    0       0
UUID=48901150-4e7e-4362-bea2-49effe32bf5b  none         swap    sw 0    0
/dev/sr0  /cdrom     auto    user,noauto,exec            0       0
/dev/fd0  /floppy     vfat    user,noauto,exec            0       0


-> mount
/dev/mapper/vg_ucs-rootfs on / type ext4 (rw,acl,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/vda2 on /boot type ext4 (rw,acl)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sr0 on /cdrom type iso9660 (ro,nosuid,nodev)
Comment 4 Stefan Gohmann univentionstaff 2012-10-16 10:14:10 CEST
Partitionierung kann erst mit interim-3 im Profilmodus getestet werden.
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2012-11-19 15:26:14 CET
Die Swap- und Boot-Einträge werden in der /etc/fstab via UUID angegeben und werden beim Booten des Systems automatisch gemountet.
→ Changelogeintrag nicht notwendig
→ VERIFIED
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:10:27 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".