Bug 28034 - Read-Only Image Boot
Read-Only Image Boot
Status: CLOSED WORKSFORME
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 enhancement
: ---
Assigned To: UCC maintainers
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-23 17:07 CEST by Stefan Gohmann
Modified: 2023-06-28 10:33 CEST (History)
3 users (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 Stefan Gohmann univentionstaff 2012-07-23 17:07:51 CEST
Ein UCC Image kann derzeit nur Read-Write gestartet werden. Für einen PXE Boot oder zum testen wäre ein Read-Only Boot gut.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2012-08-15 17:01:17 CEST
Ubuntu 12.04 enthält derzeit sowohl "aufs" als auch "overlayfs", wobei langfristig auf overlayfs gewechselt werden soll:

"""Various unsuccessful attempts have been made to include aufs in the mainline kernel. The Ubuntu kernel has been supporting it, but there is a strong movement to drop support and use overlayfs instead. The upcomming Ubuntu 12.04 release will still contain aufs, but only because of certain problems with overlayfs (https://lists.ubuntu.com/archives/ubuntu-devel/2012-March/034869.html)

At the end of this Article, a scipt using overlayfs is given to help with the migration."""

Quelle: https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash

Der auf der ubuntu-devel-ML genannte overlayfs-Bug betrifft die Owner bei Hardlinks und wurde vor wenigen Tagen mit Kernel 3.5.1 gefixt.

Auf der Seite https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash
findet sich eine Anleitung zur Erstellung eines Ubuntu-Rootfs zur Nutzung auf readonly USB-Sticks. Es kann wahlweise overlayfs oder aufs verwendet werden.
Comment 2 Stefan Gohmann univentionstaff 2012-08-23 10:35:12 CEST
overlayfs per lokalem Boot waren erfolgreich, bei NFS funktionierte das allerdings nicht:
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1038075

Auch aufs funktioniert im lokalen Boot, aber per NFS reagiert das System nicht mehr. Login auf tty1 wird angezeigt, aber nach Eingabe von root bleibt das System hängen.
Comment 3 Stefan Gohmann univentionstaff 2012-08-23 11:54:20 CEST
(In reply to comment #2)
> overlayfs per lokalem Boot waren erfolgreich, bei NFS funktionierte das
> allerdings nicht:
>  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1038075
> 
> Auch aufs funktioniert im lokalen Boot, aber per NFS reagiert das System nicht
> mehr. Login auf tty1 wird angezeigt, aber nach Eingabe von root bleibt das
> System hängen.

Nachdem ich den Network Manager im Upstart Skript deaktiviert habe, funktioniert der Boot von via overlayfs und aufs. Problem ist scheinbar, dass das Interface kurz deaktiviert wird, wenn der Network Manager gestartet wird, und dann werden teilweise die Programme / Libs nicht mehr gefunden, die für das Reaktivieren des Netzwerks benötigt werden.
Comment 4 Moritz Muehlenhoff univentionstaff 2013-12-13 12:30:08 CET
UCC unterstützt overlayfs.